Espeak is a more modern speech synthesis package than Festival. It sounds clearer but does wail a little. If you are making an alien or a RPi witch then it’s the one for you! Seriously it is a good allrounder with great customisation options.
Install Espeak with:
sudo apt-get install espeak
Test Espeak with: English female voice, emphasis on capitals (-k), speaking slowly (-s) using direct text:-
espeak -ven+f3 -k5 -s150 "I've just picked up a fault in the AE35 unit"
http://elinux.org/RPi_Text_to_Speech_(Speech_Synthesis)
http://stackoverflow.com/questions/31603555/unknown-pcm-cards-pcm-rear-pyaudio
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
Need to comment them out in:
pi@raspberrypi:/usr/share/alsa $ sudo nano alsa.conf
http://blog.scphillips.com/posts/2013/01/sound-configuration-on-raspberry-pi-with-alsa/