If I recall correctly, eSpeak on OS X is only available via command line (Terminal), which is why it cannot be selected as an .exe. I wonder if @taktik could help us here, figuring it out.
@Neuro_No_Neuro
I just upgraded to Catalina and tried change some patterns for selectable exe.
this pattern {"*.*"} forks for me. Nothing is greyed,
but i cant render sample because āespeakā dont work in my emulation / cpu not supported /
macOS version?
hello,
I donāt have an original mac.
Just emulation via qemu and itās not very nimble.
Unfortunately, itās a low priority for me, maybe if someone with real hardware caught it and made a fork
I installed espeak with homebrew
it makes a symlink at /usr/local/bin/espeak to /usr/local/Cellar/espeak/1.48.04_1/bin/espeak
If i drag the symlink to ReSpeak it works
thanks for info.
On mac, I cannot select espeak in this or any other folder, it is greyed out.
ok, letās see.
renoise.tool():add_menu_entry{
name = "Sample Editor: ReSpeak TTS",
invoke = function()
prepare_for_start()
end
}
renoise.tool():add_keybinding{
name="Global:Tools: ReSpeak TTS",
invoke=function()
prepare_for_start()
end
both of these have a space before āReSpeakā
can that be fixed, @martblek
also, could you add it to Tools->MartBlek too?
since you have AlmostDrumsNG there already
re @renoize-user , i went to the terminal, after installing espeak via homebrew, and did a which espeak
and then got this
$ which espeak
/opt/homebrew/bin/espeak
$ cd /opt/homebrew/bin/
$ open .
and a finder window opened which showed all the stuff in that folder. i, then, while in the Options tab in the tool, picked āBrowseā (or whatever it was), and dragged the espeak
file to the macOS Finder, and selected āOpenā, and got this result:
so thatās how it worked for meā¦
@martblek
hi i did three modifications:
- added it to Menu Entry for Martblek
- added keyhandler that bleeds keypresses from dialog to tracker - so you can keyjazz during dialog open.
- added focus that bleeds keypresses from dialog to tracker, so you can keyjazz right after clicking on generate (without losing keyfocus /keyjazz)
cz.martblek.ReSpeak_V0.03.xrnx (5.0 KB)
issues: when i change the speaker (not the language), nothing seems to happen to the sample i render.
Hello,
I have abandoned this project and will not be returning to it anytime soon.
I didnāt enjoy researching how to break it down under all the platforms.
Not every platform has the same version of Espeak-NG available.
So since then I avoid using external programs in binary form in my tools.
OK i will try to see if it can be made to work because everytime i open the dialog, it needs me to put in the settings again. Thankfully i loaded it.
@renoize-user ill see if this is just an easy case
i can sympathize. itās not easy to do these āhave some script that accesses a third party thingā scripts, esp if they need to work everywhere and with everything. i could i guess modify this so that it boots up a terminal, and checks for homebrew, and installs espeakā¦ but letās first see if the espeak selection is a simplistic thing that can be easily fixed.
@renoize-user - iāll give it a try now.
ok, it was trivial to change *
to *.*
- now it is possible to select the espeak and click Open. everytime.
i also made it so that if you generate a wavefile, it renders it and shows the sample editor, so you definitely see that something happened.
now iām very interested in why the different dialects do not work. iāll have a look.
and why is it 22khz instead of 44khz
cz.martblek.ReSpeak_V0.03.xrnx (5.0 KB)
- allows for selecting any file as espeak
- switches to sample editor to show rendered sample
Thanks for putting your time into it and fixing it.
Works perfectly now!
This tool was primarily developed in linux and the language and voice selection menus were based on it.
If I remember correctly, not much worked in Windows a lot of things were missing.
I have never tried the macos version.
iām changing the default language from 1 (afrikaans) to 25 (english scottish).
ok, @martblek gave me permission to hijack this and make it cross-platform etc.
iām currently working on it.
hereās what it looks like
Feature: Paketti eSpeak Text-to-Speech, tested with macOS & Linux.
This supports both espeak and espeak-ng
it is an improvement over Martblekās abandoned ReSpeak. (Martblek gave permission to take his work and improve upon it)
Supports:
- Loading textfiles and rendering
- Selection from text can be rendered
- Same shortcut that opens the dialog, renders the sample
- eSpeak path is stored in Preferences
- Settings stored in Preferences
- Sample Editor is brought up after rendering, so you can see what happened
- Can select whether new instrument is rendered or sample.
- User setting: every voice/language change will render a new sample / new instrument. (dropdownmenu & +/- changes for quickly changing the voice / language) ā means when you hit +/- itāll render a new instrument every time.
- Languages sorted alphabetically
hit me up via DM if you want a VIP WIP build of Paketti with this included.
Useful. I would like to see the ability to run one line at a time, separating the text with a line break and specifying a range for each line!
For a text with 10 lines, specifying 3-8 lines would generate 6 samples.