Skip to content

Instantly share code, notes, and snippets.

@bunnymatic
Last active November 18, 2015 06:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bunnymatic/43a392a2d710a6a8dadd to your computer and use it in GitHub Desktop.
Save bunnymatic/43a392a2d710a6a8dadd to your computer and use it in GitHub Desktop.
run all the mac voices with a phrase
#!/usr/bin/env ruby
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" ]
voices.each do |voice|
puts "#{voice} saying #{ARGV}"
`say -v #{voice} #{ARGV}`
end
@bunnymatic
Copy link
Author

run all the mac voices with a phrase

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