Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
FreeSWITCH Cookbook

You're reading from   FreeSWITCH Cookbook Written by members of the FreeSWITCH team, this is the ultimate guide to getting the most out of the platform. Stuffed with over 40 recipes, just about every angle is covered, from call routing to enabling text-to-speech conversion.

Arrow left icon
Product type Paperback
Published in Feb 2012
Publisher Packt
ISBN-13 9781849515405
Length 150 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Toc

Table of Contents (12) Chapters Close

FreeSWITCH Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
1. Routing Calls FREE CHAPTER 2. Connecting Telephones and Service Providers 3. Processing Call Detail Records 4. External Control 5. PBX Functionality Index

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 commercial TTS engines.

Getting ready

This recipe has a few prerequisites. The most important one is to get a copy of the freeswitch-contrib git repository. The "contrib repo" as community members call it, contains a number of items freely given back...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image