Just wondering whether anyone has got a Text to Speech engine installed on the Pi?It would make a great addition to almost any programming project to make it talk to the user!
6 Answers
Yes it is possible; I saw a YouTube video of the Pi reading the news using festival.
Use the following command to install festival using Debian
$ sudo apt-get install festival festival-freebsoft-utils
To make it speak simply pipe it the text or file you want it to read, like so
echo "Hello World"| festival --tts
References:
You could install espeak:
$ sudo apt-get install espeak # For Debian
$ sudo pacman -S espeak # For Arch Linux
To make it speak:
$ espeak "Hello World" # Replace Hello World with your text, must be enclosed by ""
$ espeak -f <file> # Read out file <file>
I'm not sure if you are looking for a premium solution, but Cepstral just released their Callie voice for use on the Raspberry Pi. You have to call them atm to get pricing info etc, but if you don't mind paying something, just wanted to put it out there as an option.
You can always use googles API the drawback is that you need an internet connection but the result is probable the best you are going to get.
TextToSpeech
engine.