Festival

  1. sudo apt-get install festival speech-tools aumix (if using Hardy, festvox-rablpc16k is needed too)
  2. .festivalrc:
    ;use ALSA
    (Parameter.set 'Audio_Method 'Audio_Command)
    (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
  3. aumix -v 100 (set volume to max)
  4. echo “I locked myself out downstairs ” | festival –tts

Other useful commands: Read every line you enter until ctrl+c:

while read x; do echo $x |festival --tts; done