On a brand new Linux PC, e.g. Ubuntu 14.04 AMD64
To hear voice
sudo Install festival-y
Then try to hear some thing from your PC
Echo " I am your computer. " | Festival-TTS # orecho"I am your computer. " | Festival--tts--pipe
You'll hear something out.
Now replace the voice files, a better one.
Tutorial from Https://www.youtube.com/watch?v=4eJTDpAeBSk
To replace voice
Commands including:
Install Festival sudo su /usr/share/festival/voices/english/wget -C http://www.speech.cs.cmu.edu/cmu_arctic/packed/cmu_ us_clb_arctic-0.95-release.tar.bz2tar jxf cmu_us_clb_arctic-0.95-release. Tar . bz2 Ln -S cmu_us_clb_arctic cmu_us_clb_arctic_clunits
echo "(set! Voice_default ' voice_cmu_us_clb_arctic_clunits) ' >>/ETC/FESTIVAL.SCM
Then go to command line
$~ festivalfestival"HelloWorld")
You'll hear something different, a female voice would come out.
To save wave files
Echo " " >/tmp/</tmp/one.txt >/tmp//tmp/voice.wav
Your Voice file has been saved.
Happy hacking!
Reading words in your computer and changing to female voice, Linux festival Text2wave saving wav files