Skip to content

Instantly share code, notes, and snippets.

@timtyrrell
Forked from djohnsonjr/voices
Created April 29, 2011 20:35
Show Gist options
  • Save timtyrrell/948992 to your computer and use it in GitHub Desktop.
Save timtyrrell/948992 to your computer and use it in GitHub Desktop.
Hear all of the voices on the mac from IRB
# 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 = "balls"
voices.each do |v|
`say -v #{v} #{statement}`
end
@raykrueger
Copy link

lol Damn fine work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment