using shell to select a voice

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

using shell to select a voice

Post by scotttyang » Thu Aug 29, 2013 10:09 pm

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

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: using shell to select a voice

Post by Klaus » Fri Aug 30, 2013 11:27 am

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

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: using shell to select a voice

Post by scotttyang » Fri Aug 30, 2013 9:32 pm

works good!

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

Klaus
Posts: 14206
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: using shell to select a voice

Post by Klaus » Sat Aug 31, 2013 11:59 am

Sure it does, muchacho! :D

Post Reply