Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

« Newer Snippets
Older Snippets »
Showing 1-3 of 3 total  RSS 

Festival TTS for Ruby

This text-to-speech engine uses Ruby and festival. Listen to the output as an mp3 sample [twittergram.com]

Prerequisites:
sudo apt-get install festival lame
sudo gem install festivaltts4r

require "rubygems"
require "festivaltts4r"
				
"I'm talking".to_speech


Reference: Festival TTS for Ruby - Make your Ruby Strings talk! [rubyforge.org]

Using Espeak

Espeak is a Text-to-speech program which I have used on Ubuntu. A sample of the audio can be found from my twittergram [twittergram.com]. Note: I made a few spelling mistakes in the audio, listen and tell me if you can hear them.

espeak -f hello_jr -s 120

can i implement voice support for gaim

// description of your code here

// insert code here..
« Newer Snippets
Older Snippets »
Showing 1-3 of 3 total  RSS