Last active
November 18, 2015 06:23
-
-
Save bunnymatic/43a392a2d710a6a8dadd to your computer and use it in GitHub Desktop.
run all the mac voices with a phrase
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
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
run all the mac voices with a phrase