O'Reilly logo

FreeSWITCH 1.6 Cookbook by Giovanni Maruzzelli, Michael S Collins, Anthony Minessale II

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced text-to-speech with mod_tts_commandline

Text-to-speech (TTS) applications vary in their quality, complexity, and price. However, one thing that most high-end TTS engines have in common is a command-line interface for generating audio from text. FreeSWITCH's mod_tts_commandline module is designed to take advantage of this. While it is completely possible to create a separate module for each engine—and indeed this is the case for mod_flite—it is convenient to utilize a more generic interface that is somewhat agnostic to the exact TTS engine being used.

In this recipe, we will install mod_tts_commandline and then download a free TTS engine that has a command-line interface for use with it. We will also show command-line examples of using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required