Text2Speech with espeak by eokuwwy
There is a really simple program you can get that does text2speech in linux, and that is espeak. And you can easily use it from the command-line. The commands below will generate a wav file, convert it to mp3, remove the wav file, and then play the mp3, so that you can verify its goodness. This example uses espeak, lame, and mplayer.
First, if you need to install the packages:
sudo apt-get install espeak lame mplayer
espeak -w meeng.wav "HARROW, DEES EES MEENG"; lame -V2 meeng.wav meeng.mp3; rm meeng.wav; mplayer meeng.mp3
Using espeak is as simple as:
espeak "Herro Woewud"
Not much to it!
blog comments powered by Disqus