Text to Speech

(original http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis))

The first speech package I tried was Festival. It worked fine and produces a voice like a rough sounding robot. This may be just what you need if you are adding speech to your RPi robot project.

Install Festival with:

 sudo apt-get install festival

Try out Festival with:

 echo “Just what do you think you're doing, Dave?” | festival --tts

or to speak RPi’s IP address:

 hostname -I | festival --tts

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>