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.
|Tags||asterisk voip Telephony Text to speech Google agi|
|Operating Systems||Linux BSD Unix|
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.
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.
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.
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.
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.