Using the festivaltts4r gem ## Installation * `apt-get install festival lame` * `gem install festivaltt4r` ## Usage require 'festivaltts4r' "I'm talking".to_speech "I'm talking".to_mp3 'talking.mp3' Output: Listen to the talking.mp3 file !a[](http://www.jamesrobertson.me.uk/r/audio/2016/feb/22/talking.mp3) ## Resources * festivaltts4r https://rubygems.org/gems/festivaltts4r * Spejman On Rails http://spejman-on-rails.blogspot.co.uk/ * Festival TTS for Ruby - Make your Ruby Strings talk! http://festivaltts4r.rubyforge.org/ ## See also * Introducing the espeak-ruby gem http://www.jamesrobertson.me.uk/snippets/2014/jun/08/introducing-the-espeak-ruby-gem.html festival tts speech voice mp3