O'Reilly logo

FreeSWITCH Cookbook by Raymond Chandler, Darren Schreiber, Michael S Collins, Anthony Minessale

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

The Text-to-speech (TTS) applications vary in their quality, complexity, and price. One thing most high-end TTS engines have in common, though, 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 to use with it. We will also show command line examples of using some ...

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