Page 1 of 1
Download Speech voices from my Standalone app
Posted: Mon May 02, 2022 4:27 pm
by gg12
Hi, i'm looking for a way to download MacOs/Windows Speech voices from my Standalone app.
I know the manual steps to download them, but I'm looking for automatic download of these voices when the app doesn't detect them.
I saw the documentation for Speech library,
Code: Select all
speechSetVoice com-apple-speech-synthesis-voice-Hysterical
but Hysterical has to be an available voice (already downloaded).
Do you have a solution or an approach?
(ps: I had to replace the . with - because the forum detects it as an external url)
Re: Download Speech voices from my Standalone app
Posted: Mon May 02, 2022 5:20 pm
by jmburnod
Hi gg12,
and welcome
Yes that would be very useful.
SpeechSetVoice only get a list of installed voices
As far i know there is not a LiveCode way now.
Maybe applescript, external or something else ?
Best regards
Jean-Marc
Re: Download Speech voices from my Standalone app
Posted: Thu Jan 19, 2023 3:28 am
by Judy
Just wondering (cause I don't know) if the speech voices could be included and installed from within the stack? Have. been pondering similar things so that I can use the old MacOS voices (like Hysterical, Bad News, Trinoids, etc.) in children's mini-apps.
Re: Download Speech voices from my Standalone app
Posted: Thu Jan 19, 2023 3:31 am
by Judy
I'm guessing that a workaround could be having those voices installed on your development machine and then running it (your stack/app) using an audio capture utility like audacity to capture the 'voices' as a sound file and then play *those* sound files rather than using the LC/OS TTS engine.
Re: Download Speech voices from my Standalone app
Posted: Thu Jan 19, 2023 3:34 am
by Judy
I'm guessing that a workaround could be having those voices installed on your development machine and then running it using an audio capture utility like audacity to capture the 'voices' and then play *those* sound files rather than using the LC TTS engine.
Re: Download Speech voices from my Standalone app
Posted: Thu Jan 19, 2023 7:24 am
by richmond62
You might end up with enormous standalone files, and your speech TTS files would not be where the OS would look for them.
Re: Download Speech voices from my Standalone app
Posted: Fri Jan 20, 2023 12:47 am
by Judy
You could. Can you not specify the installation path?