Projects / Speech synthesis for asterisk

Speech synthesis for asterisk

Speech synthesis for asterisk is an Asterisk AGI script that uses Google Translate to convert text to speech and play it back to the user. It supports a variety of different languages, local caching of voice data, and a choice between 8 kHz or 16 kHz sample rates to provide the best possible sound quality along with the use of wideband codecs.

Operating Systems

Recent releases

  •  17 Mar 2012 23:47

    Release Notes: This release adds a speed factor option. This corrects the problem with decelerated audio which Google introduced a few days ago. There's been a major rewrite of the CLI application, which can now take as input text files, and write to wav files or play back to the user and change the generated speech speed rate. Many small fixes have been made.

    •  18 Jan 2012 20:26

      Release Notes: This release removes the wait for user input after the end of playback. It is now advised to use Waitexten() in IVR menus to get that behavior. Dialplan examples in the README have been updated accordingly (existing users must update their dialplan code). This release replaces the POSIX character class [:punct:] in text splitting regural expressions. This fixes a misbehavior with some Unicode strings. A sample CLI app that does speech synthesis has been added.

      •  20 Dec 2011 13:32

        Release Notes: This release adds an option for verbose debugging messages. It fixes interrupt handling and cleaning of temp files. Multi-line and Unicode input are now properly handled.

        •  13 Dec 2011 09:13

          Release Notes: The script can be now easily used to build IVRs. When 'intkey' is set, the script waits for user input. Compatibility with Asterisk 1.4 and older was fixed. The arguments of tempfile() were changed for compatibility with older Perl versions. Ampersands and plus signs were encoded to ASCII values. Channel status is now checked before answering.

          •  01 Dec 2011 00:04

            Release Notes: This initial public release features a working cache mechanism, input sanitization and removal of dangerous characters, better error handling, support for sampling rates other than 8 kHz, and a cleanup mechanism for temporary files.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.