Download Speech voices from my Standalone app

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gg12
Posts: 6
Joined: Mon May 02, 2022 1:49 am

Download Speech voices from my Standalone app

Post by gg12 » Mon May 02, 2022 4:27 pm

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)

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: Download Speech voices from my Standalone app

Post by jmburnod » Mon May 02, 2022 5:20 pm

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
https://alternatic.ch

Judy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Wed Apr 20, 2011 9:41 pm

Re: Download Speech voices from my Standalone app

Post by Judy » Thu Jan 19, 2023 3:28 am

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.

Judy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Wed Apr 20, 2011 9:41 pm

Re: Download Speech voices from my Standalone app

Post by Judy » Thu Jan 19, 2023 3:31 am

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.
Last edited by Judy on Thu Jan 19, 2023 3:40 am, edited 2 times in total.

Judy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Wed Apr 20, 2011 9:41 pm

Re: Download Speech voices from my Standalone app

Post by Judy » Thu Jan 19, 2023 3:34 am

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.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9361
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Download Speech voices from my Standalone app

Post by richmond62 » Thu Jan 19, 2023 7:24 am

You might end up with enormous standalone files, and your speech TTS files would not be where the OS would look for them.

Judy
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 7
Joined: Wed Apr 20, 2011 9:41 pm

Re: Download Speech voices from my Standalone app

Post by Judy » Fri Jan 20, 2023 12:47 am

You could. Can you not specify the installation path?

Post Reply

Return to “Multimedia”