Created
April 29, 2011 20:34
-
-
Save djohnsonjr/948988 to your computer and use it in GitHub Desktop.
Hear all of the voices on the mac from IRB
This file contains 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
# drop in irb | |
voices = ["Agnes", "Kathy", "Princess", "Vicki", "Victoria", "Bruce", "Fred", | |
"Junior", "Ralph", "Albert", "Bad News", "Bahh", "Bells", "Boing", "Bubbles", | |
"Cellos", "Deranged", "Good News", "Hysterical", "Pipe Organ", "Trinoids", "Whisper", "Zarvox"] | |
statement = "hello world" | |
voices.each do |v| | |
`say -v #{v} "hi, I am #{v} and I want to say, #{statement}"` | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
say -v Cellos "do do do do do di doo do di di do do do do do do do di do di do di do do di Do,"