This article was originally posted here.
If you have been looking for a free speech synthesizer for Linux, festival is one of the reliable solutions. Festival is a framework that helps building a speech synthesis system. It helps users convert normal text into speech outputs. This software can be of great help particularly for people having speech disabilities. This project focuses on showcasing how to use the same on the UDOO platform. For more details about festival visit their website here.
Instructions
Step 1:
Initially we have to update the System. Open the terminal and enter the following command:
$ sudo apt-get update
Step 2:
Install the festival software:
$ sudo apt-get install festival -y
Step 3:
Simple example to test the tts(text to speech) software.Connect your earphone and type the following command in the terminal:
$ sudo echo “hai how are you from UDOO” | festival –tts
Simple experiment using on TTS
Here I am using python code to get the user input as text and make it as a speech output.
Code
Executing the Program
Connect your earphone in to the audio jack and run the following command in the terminal:
$ sudo python ttsinput.py
and then enter the text that you want to make it as speech output.
In action
praveen
Comments