Skip to content

Instantly share code, notes, and snippets.

@bunnymatic
Last active Nov 18, 2015
Embed
What would you like to do?
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

bunnymatic commented Nov 18, 2015

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