Flite (aka Festival Lite) is a small embeddable TTS (Text to Speech) engine that's totally free.
Works on FreeBSD, Mac, Linux and Windows.
Don't load mod_cepstral and mod_flite at the same time. (symbol collision).
Voices are 16khz, and are:
- slt (female voice)
- rms (male voice)
- awb (male voice)
- kal (male voice)
- Uncomment asr_tts/mod_flite;
Edit the modules.conf at the top level of your src directory and NOT to be confused with the freeswitch/conf/modules.conf.xml file which you will also have to edit later - see below). This installation has been written assuming that you are going to be compiling this module.
Comment out asr_tts/mod_cepstral from the same file. Both modules cannot be used together.
- Run make, make install.
- Uncomment <load module="mod_flite"/>
- Comment out <load module="mod_cepstral"/>
To set volume at your desired level:
write for output audio stream and read for incoming audio stream. read and write can take integral values from 4 to -4