The available voices can be seen in System Preferences/Speech/Text to Speech. How can I get this list programmatically?
Usage: say [-v voice] [-o out] [-f in | message]
Example:
say -v Alex "compile completed, put your swords down."
|
Shell Version, no hack too cheap!
(Don't actually use this, use the python version instead.)
ls /System/Library/Speech/Voices | sed 's/.SpeechVoice$//'
Agnes
Albert
Alex
BadNews
Bahh
Bells
Boing
...