[asterisk-users] AGI script that uses google's text to speech engine

2011-12-13 Thread Lefteris Zafiris
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

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread bakko
: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

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Kingsley Tart
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

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Lefteris Zafiris
On Thu, 1 Dec 2011 09:43:29 -0500 bakko asannu...@gmail.com wrote: 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 Seems like the script failed to convert the mp3 data that

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Danny Nicholas
Of Kingsley Tart Sent: Thursday, December 01, 2011 11:24 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [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

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Lefteris Zafiris
On Thu, 01 Dec 2011 17:23:59 + Kingsley Tart kings...@skymarket.co.uk wrote: 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,

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Lefteris Zafiris
On Thu, 1 Dec 2011 11:35:21 -0600 Danny Nicholas da...@debsinc.com wrote: I personally don't like the use of mpg123 for playback - would prefer use of the internal Playback/background functions. Still seems to be a nice effort though. mpg123 used to convert the mp3 data that we get from

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Torbjörn Abrahamsson
] AGI script that uses google's text to speech engine On Thu, 1 Dec 2011 09:43:29 -0500 bakko asannu...@gmail.com wrote: 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 Seems

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Lefteris Zafiris
On Thu, 1 Dec 2011 21:51:21 +0100 Torbjörn Abrahamsson torbjorn.abrahams...@gmail.com wrote: This is because you need to add /tmp to the STREAM command, ie: print STREAM FILE /tmp/$tmpname \$intkey\\n; $tmpname seems to not contain the path, so it will look in /var/lib/asterisk/sounds for

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Torbjörn Abrahamsson
:48 To: asterisk-users@lists.digium.com Subject: Re: [asterisk-users] AGI script that uses google's text to speech engine On Thu, 1 Dec 2011 21:51:21 +0100 Torbjörn Abrahamsson torbjorn.abrahams...@gmail.com wrote: This is because you need to add /tmp to the STREAM command, ie: print STREAM

Re: [asterisk-users] AGI script that uses google's text to speech engine

2011-12-01 Thread Lefteris Zafiris
On Thu, 1 Dec 2011 23:23:56 +0100 Torbjörn Abrahamsson torbjorn.abrahams...@gmail.com wrote: This was run on an Fedora 8 machine, with perl 5.8.8. I also found it odd that the path was not included... // T It seems this is an issue with older versions of perl or at least with 5.8.8. Since

[asterisk-users] AGI script that uses google's text to speech engine

2011-11-30 Thread Lefteris Zafiris
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.