Created
January 28, 2014 15:57
-
-
Save AndyQ/8670318 to your computer and use it in GitHub Desktop.
OSX Speak a phrase with all the default voices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| text=$1 | |
| if [[ "$text" == "" ]]; then | |
| text="Hello World" | |
| fi | |
| echo "Female" | |
| for voice in Agnes Kathy Princess Vicki Victoria; do | |
| echo $voice | |
| say -v $voice $text | |
| done | |
| echo "Male" | |
| for voice in Alex Bruce Fred Junior Ralph; do | |
| echo $voice | |
| say -v $voice $text | |
| done | |
| echo "Novelty" | |
| for voice in Albert Bad Bahh Bells Boing Bubbles Cellos Deranged Good Hysterical Pipe Trinoids Whisper Zarvox; do | |
| echo $voice | |
| say -v $voice $text | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment