[Freeswitch-users] Playing Google translation tts

Norman Tomlins norm at voicenetwork.ca
Thu Jan 13 01:47:36 MSK 2011


Peter,

I have used this in the past and it has been working.

<extension name="Free_Google_Text_To_Speech">
  <condition field="destination_number" expression="^2115$">
    <action application="answer" data=""/>
    <action application="playback"
data="shout://translate.google.com/translate_tts?tl=en&q=Buy+Cheap+dids+at+www+dot+voice+network+dot+see+eh"/>
  </condition>
</extension>


Norman Tomlins
http://www.VoiceNetwork.ca



On Wed, Jan 12, 2011 at 4:14 PM, Peter Steinbach <lists at telefaks.de> wrote:
> Has anybody tried to play tts files downloaded from Google transation
> service?
>
> I can download them as mp3 but FS refused to play it.
>  2011-01-12 13:43:46.340378 [ERR] mod_shout.c:800 Error: MPG123 Error
> at __FILE__:__LINE__.
>  2011-01-12 13:43:46.340378 [ERR] mod_shout.c:803 Error from mpg123:
> Invalid mpg123 handle. (code 10)
>
> File format is
>  MPEG ADTS, layer III, v2,  32 kbps, 22.05 kHz, Monaural
>
> If I convert it to wav with lame/ffmpeg/mpg123, the quality is of the
> played wav file after conversion is not good (distortions).
>
> So anybody had success in playing this on Freeswitch?
>
> --
> With kind regards
> Peter Steinbach
>
> mailto:lists (att) telefaks.de
> Internet: www.telefaks.de
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



More information about the FreeSWITCH-users mailing list