Lefteris Zafiris
2011-Dec-01 00:42 UTC
[asterisk-users] AGI script that uses google's text to speech engine
Hello, I have written an AGI script for asterisk that uses google translate for text to speech synthesis. It supports a variety of different languages, local caching for the voice data and wideband audio. The voice in most languages is female and the quality of the synthesized speech is very high. More info about the script can be found here: http://zaf.github.com/asterisk-googletts/ the first public release ca be obtained here: https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.2.tar.gz To get a sample of the speech synthesis quality try this link: http://translate.google.com/translate_tts?tl=en&q=this+is+a+test+for+google+text+to+speech+engine The code is still very young so suggestions, comments and bug reports are more than welcome. -------------- Lefteris Zafiris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111201/6ec87862/attachment-0001.htm>
bakko
2011-Dec-01 14:43 UTC
[asterisk-users] AGI script that uses google's text to speech engine
Hello, when I use the Agi, sometimes not play the phrase: WARNING[30391]: file.c:650 ast_openstream_full: File ggl_U0sBo0 does not exist in any format Regards ----- Original Message ----- From: Lefteris Zafiris To: asterisk-users at lists.digium.com Sent: Wednesday, November 30, 2011 7:42 PM Subject: [asterisk-users] AGI script that uses google's text to speech engine Hello, I have written an AGI script for asterisk that uses google translate for text to speech synthesis. It supports a variety of different languages, local caching for the voice data and wideband audio. The voice in most languages is female and the quality of the synthesized speech is very high. More info about the script can be found here: http://zaf.github.com/asterisk-googletts/ the first public release ca be obtained here: https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.2.tar.gz To get a sample of the speech synthesis quality try this link: http://translate.google.com/translate_tts?tl=en&q=this+is+a+test+for+google+text+to+speech+engine The code is still very young so suggestions, comments and bug reports are more than welcome. -------------- Lefteris Zafiris ------------------------------------------------------------------------------ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111201/06a60d0a/attachment.htm>
Kingsley Tart
2011-Dec-01 17:23 UTC
[asterisk-users] AGI script that uses google's text to speech engine
Hi. Aside from converting spaces to plus signs, you don't encode any special characters before putting them in the URL. It might be safer to run $line through some sort of encoding before calling Google with it, even if most special characters probably don't result in any sound. Google say "and" if you give it an ampersand, but unescaped you couldn't include that in the string. You may decide to have an option to locally cache pre-produced sound files in case that phrase is used again. Cheers, Kingsley. On Thu, 2011-12-01 at 02:42 +0200, Lefteris Zafiris wrote:> Hello, > I have written an AGI script for asterisk that uses google translate > for text to speech synthesis. > It supports a variety of different languages, local caching for the > voice data and wideband audio. > The voice in most languages is female and the quality of the > synthesized speech is very high. > More info about the script can be found here: > http://zaf.github.com/asterisk-googletts/ > the first public release ca be obtained here: > https://github.com/downloads/zaf/asterisk-googletts/asterisk-googletts-0.2.tar.gz > > To get a sample of the speech synthesis quality try this link: > http://translate.google.com/translate_tts?tl=en&q=this+is+a+test+for > +google+text+to+speech+engine > > The code is still very young so suggestions, comments and bug reports > are more than welcome. > > -------------- > Lefteris Zafiris > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Lefteris Zafiris
2011-Dec-13 09:38 UTC
[asterisk-users] AGI script that uses google's text to speech engine
Hello, version 0.3 of the asterisk-googletts AGI script just got released, most noticeable changes are: The script can now be used to easily build IVRs. Fixed compatibility with asterisk 1.4 and older. Fixed compatibility with older perl versions(5.8.8). Better input handling. The latest release, documentation and dialplan examples can be found here: http://zaf.github.com/asterisk-googletts/ A big thank you to all the users that contributed with feedback, bug reports and suggestions. ---------------- Lefteris Zafiris