Sometimes, you need a fast, simple, and free text-to-speech implementation for some quick testing. In FreeSWITCH, you can use mod_flite
for simple TTS testing. While it is not suitable for professional production environments, it meets the criteria of being quick, easy, and free.
Other than a phone and a text editor, there is not much that you need. Keep in mind that on Windows, the mod_flite
module is prebuilt, but it is not automatically loaded. On Linux/Unix systems, you will need to perform a few steps, as follows.
If you are using Windows, then skip to step 3. If you have Linux/Unix, then follow these steps to enable mod_flite
:
Open
modules.conf
in the FreeSWITCH source, and uncomment the line with#asr_tts/mod_flite
by removing the#
sign at the beginning of the line.Save and exit. Then run the
install
command:make mod_flite-install
If you wish to have
mod_flite
load
by default when FreeSWITCH starts, then openconf/autoload_configs...