Livecode and Lion

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

CharlesSilverman
Posts: 3
Joined: Mon Jul 25, 2011 4:26 pm

RevSpeech, Lion, and New Voices

Post by CharlesSilverman »

I've not been able to bring up any of the new Lion TTS voices using revSpeechVoice(). I've downloaded the voices and can access them in the Systems Prefs Speech->Text-to-Speech setup area. Is there a workaround to get these into my projects and/or is there a fix coming?

thanks,
Charles
_________

Charles Silverman, M.Ed.
Inclusive Media & Design, Inc.
Toronto ONTARIO
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Livecode and Lion

Post by Klaus »

Hi Charles,

just downloaded some german speech files (which sound VERY good in fact!)
on OS X Lion and "revspeak" does definitively not work with them!

But we can use SHELL:

Code: Select all

...
get shell("say" && "my text to speak here...")
...
Will work with the voice you set up in the system prefs.
Not exactly what you need, but anyway... 8)


Best

Klaus
CharlesSilverman
Posts: 3
Joined: Mon Jul 25, 2011 4:26 pm

Re: Livecode and Lion

Post by CharlesSilverman »

Thanks, Klaus - and appreciate the sample code - will give this a spin. Do you know if there's some way to detect if the voice is still speaking using the shell command?
My goal is to use the record command ... and see if this works, or a varation:

Code: Select all

 get shell("say" &&"-o"&&quote& "audio.aif"&quote&& "my text to speak here...")
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Livecode and Lion

Post by Klaus »

Hi Charles,
CharlesSilverman wrote:Do you know if there's some way to detect if the voice is still speaking using the shell command?
if "man say" won't give you a hint, I am afraid there is no ways doing so using "shell".


Best

Klaus
Post Reply