Archive for the ‘speech’ Tag

Text to Speech under Linux

This was accomplished with a little nudge in the right direction from a Mr Dave Yates…and a few beers.

Parties involved: Linux Mint 5(Ubuntu Hardy), Packages: festival, festvox-kallpc16k.  And some Blue Moon Spring Ale.

Install the above packages. In a text editor, I use gedit, write your text. Save your text. I applied a txt extension to it. Without the txt, festival didn’t find it. Go figure. From the command line type:
text2wave yourfile.txt -o newname.wave. Not sure what the -o is for.  So lets say my text file name is oatmeal.txt. I want to name the wave(sound) file beer.wave. So the command would be
text2wave oatmeal.txt -o beer.wave. The -o is an option meaning save file to wave form. That should land that wave file in your home directory. That should do it.