Skip to content

Instantly share code, notes, and snippets.

@taylortrimble
Created March 1, 2013 03:33
Show Gist options
  • Save taylortrimble/5062291 to your computer and use it in GitHub Desktop.
Save taylortrimble/5062291 to your computer and use it in GitHub Desktop.
Testing out some voices for Fido, our new interactive lab assistant (Hubot-based!)
names = %w[Samantha Jill Trinoids Alex Tom Sangeeta]
phrases = [ "Access Denied.",
"The door is not responding. Please try using the manual lock.",
"The band saw has been activated. Please be safe!",
"Playing songs by Thin Lizzy.",
"Access granted." ]
all_phrases = phrases.join " "
names.each do |name|
system "say -v " + name + " Hello, my name is " + name + ". " + all_phrases #+ " -o " + name + ".aiff"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment