Reputation: 189
I have an interesting python script (not sure if it has been done before) It uses
import os
os.system("say %s" % say)
#and I have added;
os.system("say -v whisper %s" % say)
but now there are new voices in lion and i want to know how to get those voices and if there is a centralized list.
Upvotes: 0
Views: 672
Reputation: 1434
The manual doesn't doc which voices are available. But I believe the syntax is just using the name like so:
> say -v Karen Hello
I don't have access to my Mac right now but I found this list from here:
There is also other languages as well.
UPDATE:
say -v ?
spits out:
MacBook-Austin:~ Austin$ say -v ?
Agnes en_US # Isn't it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh en_US # Do not pull the wool over my eyes.
Bells en_US # Time flies when you are having fun.
Boing en_US # Spring has sprung, fall has fell, winter's here and it's colder than usual.
Bruce en_US # I sure like being inside this fancy computer
Bubbles en_US # Pull the plug! I'm drowning!
...
If you do not see the voice you are looking for when you do a say -v ?
you can install more.
Upvotes: 4
Reputation: 39950
From the say man page
:
-v
voice,--voice=
voiceSpecify the voice to be used. Default is the voice selected in System Preferences. To obtain a list of voices installed in the system, specify '?' as the voice name.
Most of the new voices are downloaded on demand from the Speech panel in System Preferences
Upvotes: 3
Reputation: 23255
Hopefully, this command comes with some documentation, so you could try this command in your shell to get more information:
say -h
say --help
man say
UPDATE The man page I found says the default voice is the voice selected in System preferences. So I guess you can find all the different voices there.
Upvotes: 2