If you have been looking for a free speech synthesizer for Linux festival is one of the reliable solution. Festival is a frame work for building speech synthesis system. It helps the users convert normal text in to speech outputs. This software can be of great help particularly for people having speech disabilities. The application note presented here focuses on showcasing how to use the same on the UDOO platform. For more details about festival software visit the festival website here.
Installation Steps:
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
import subprocess
while 1:
x=raw_input(“enter the text:”)
subprocess.call(‘echo ‘+x+’ | festival –tts’, shell=True)
Executing the Program
Connect your earphone in to the audio jack and run the following command in the terminal.
$ sudo python filename.py
and then enter the text that you want to make it as speech output.
In Action:
- Want to buy udoo click here
- Daily and Weekly deal
- Blogspot
- Youtube channel
- Trainning
For more details
- Email US: info@tenettech.com
- Ph No : 080-26722726.