Page 1 of 1

using shell to select a voice

Posted: Thu Aug 29, 2013 10:09 pm
by scotttyang
Been using the shell "say" to text-to-speech for Spanish. Some very beautiful new voices on the Mac Mountain lion.
Right now I have to preset the voice to eg. Paulina.

get shell("say" && "¿Cómo?")

works well

Is there a shell command way to change to voice to eg. Pablo or Javier as revSpeak doesn't work for languages with accents or upside down question marks?!

scott

Re: using shell to select a voice

Posted: Fri Aug 30, 2013 11:27 am
by Klaus
Hi Scotty,

1 minute Google showed me this:
http://www.gabrielserafini.com/blog/200 ... y-command/
Basically its:
say -v Pablo "something spanish..."

And there is always the terminal: man say 8)


Best

Klaus

Re: using shell to select a voice

Posted: Fri Aug 30, 2013 9:32 pm
by scotttyang
works good!

get shell("say -v Paulina" && "hola")

Re: using shell to select a voice

Posted: Sat Aug 31, 2013 11:59 am
by Klaus
Sure it does, muchacho! :D