In this tutorial, we show you how to do text-to-speech under Linux with the Festival application.
First, you need to install it on your system.
On my Fedora 12 I used this:
#yum install festival
Try this command to see if it will allow you to use festival:
Now you can use the festival to synthesize it into speech.
Try this example:
$echo "This is a test " | festival --tts
Another beautiful software is text2wave.
You can save text like a sound file.
$echo "This is a test " | text2wave -o test.wav
Both commands have more options, you can see this by using the man command.