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:
1 | #yum install festival |
Try this command to see if it will allow you to use festival:
1 2 | $which festival /usr/bin/festival |
Now you can use the festival to synthesize it into speech.
Try this example:
1 | $echo "This is a test " | festival --tts |
Another beautiful software is text2wave.
You can save text like a sound file.
1 | $echo "This is a test " | text2wave -o test.wav |
Both commands have more options, you can see this by using the man command.