Skip to content

Instantly share code, notes, and snippets.

View masonpackard's full-sized avatar

Mason Packard masonpackard

View GitHub Profile
@adamhunter
adamhunter / say.rb
Last active December 23, 2015 11:59
using say in ruby
# after pasting the class in speaker.rb into irb, run the following,
# edit to your liking...
@speaker = Speaker.new
# other voices can be found at
# http://www.gabrielserafini.com/blog/2008/08/19/mac-os-x-voices-for-using-with-the-say-command/
@speaker.voice = 'Kathy'
@speaker.what = %[what should i say here?]