It worked fine and produces a voice like a rough sounding robot. The first speech package I tried was Festival. More information is available is their website: The voices are higher quality than open source solutions and pricing is dependent on the use case. To sort out the mplayer error message, edit file /etc/mplayer/nf using:Ĭepstral is a commercial Text to Speech engine that is installed on the Pi and does not require an Internet connection. Install the mplayer audio/movie player with: If this line is already there then leave the file as is! If you do not already have sound on your RPi then you will need the alsa sound utilities: This may take 30 - 60 minutes depending on your connection speed etc. Speech did not work for me until I did this. The instructions below are based on the Raspbian distribution (August 2012).įirstly I recommend updating your Raspbian distribution if you have not recently already done so. The installer will let you know if the package is already present on your RPi. They may be already there but it does no harm to try to install these listed below anyway. Speech output requires a few audio software packages to be installed on your RPi. tell the time and read the weather forecast on your RPi alarm clock. speak the mode selected or station name with button presses on an RPi internet radio internet connection made or IP address on a headless RPi You don’t need an expensive/complicated LCD or monitor for your project - just use any old mp3 player loudspeaker or PC loudspeaker which you have probably got lying around - or even an earphone works well for debugging purposes too. It’s very easy add to your program - just output a string to the speech function instead of the screen.
0 Comments
Leave a Reply. |