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
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Norman, I have the feeling it may be reated to this one, at least the error mssage looks the same. http://jira.freeswitch.org/browse/FS-2942 We have a rather new GIT version of Freeswitch, so maybe it's just in a newer version? Best regards Peter Norman Tomlins schrieb:
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
why don't you use Cepstral ? it's only USD30 ----- Original Message ----- From: "Peter Steinbach" <lists@telefaks.de> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, January 12, 2011 6:06 PM Subject: Re: [Freeswitch-users] Playing Google translation tts
Norman,
I have the feeling it may be reated to this one, at least the error mssage looks the same. http://jira.freeswitch.org/browse/FS-2942 We have a rather new GIT version of Freeswitch, so maybe it's just in a newer version?
Best regards Peter
Norman Tomlins schrieb:
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
We do use Cepstral for German voices. But Google supports a number of languages right now. Best regards Peter Madovsky schrieb:
why don't you use Cepstral ? it's only USD30
----- Original Message ----- From: "Peter Steinbach" <lists@telefaks.de> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Wednesday, January 12, 2011 6:06 PM Subject: Re: [Freeswitch-users] Playing Google translation tts
Norman,
I have the feeling it may be reated to this one, at least the error mssage looks the same. http://jira.freeswitch.org/browse/FS-2942 We have a rather new GIT version of Freeswitch, so maybe it's just in a newer version?
Best regards Peter
Norman Tomlins schrieb:
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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach
Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
Norman Tomlins wrote:
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>
Thanks Norman. I tried your dialplan above and got the following even though I have mod_shout loaded. EXECUTE sofia/internal/1003@192.168.1.15 playback(shout://translate.google.com/translate_tts?tl=en&q=Hello+,+It+is+me) 2011-01-13 20:41:57.388295 [ERR] mod_shout.c:800 Error: MPG123 Error at __FILE__:__LINE__. 2011-01-13 20:41:57.389383 [ERR] mod_shout.c:803 Error from mpg123: Invalid mpg123 handle. (code 10) 2011-01-13 20:41:57.397162 [DEBUG] sofia.c:4626 Channel sofia/internal/1003@192.168.1.15 entering state [ready][200] 2011-01-13 20:41:57.402589 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1003@192.168.1.15 has executed the last dialplan instruction, hanging up. 2011-01-13 20:41:57.402589 [DEBUG] switch_channel.c:2535 (sofia/internal/1003@192.168.1.15) Callstate Change ACTIVE -> HANGUP ----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Playing-Google-translation-tts... Sent from the freeswitch-users mailing list archive at Nabble.com.
Yesterday I updated a test FS (make current on Ubuntu) and that one played the file successfully. I have not tried it with our main FS (on Debian where the problem occured) yet. So I don't know yet, whether it's from FS or from any library used. Best regards Peter mazilo schrieb:
Norman Tomlins wrote:
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>
Thanks Norman. I tried your dialplan above and got the following even though I have mod_shout loaded. EXECUTE sofia/internal/1003@192.168.1.15 playback(shout://translate.google.com/translate_tts?tl=en&q=Hello+,+It+is+me) 2011-01-13 20:41:57.388295 [ERR] mod_shout.c:800 Error: MPG123 Error at __FILE__:__LINE__. 2011-01-13 20:41:57.389383 [ERR] mod_shout.c:803 Error from mpg123: Invalid mpg123 handle. (code 10) 2011-01-13 20:41:57.397162 [DEBUG] sofia.c:4626 Channel sofia/internal/1003@192.168.1.15 entering state [ready][200] 2011-01-13 20:41:57.402589 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1003@192.168.1.15 has executed the last dialplan instruction, hanging up. 2011-01-13 20:41:57.402589 [DEBUG] switch_channel.c:2535 (sofia/internal/1003@192.168.1.15) Callstate Change ACTIVE -> HANGUP
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together.
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
Yesterday I updated the discussed Freeswitch machine to latest GIT and the problem is gone. Thanks to all Peter Peter Steinbach schrieb:
Yesterday I updated a test FS (make current on Ubuntu) and that one played the file successfully. I have not tried it with our main FS (on Debian where the problem occured) yet. So I don't know yet, whether it's from FS or from any library used.
Best regards Peter mazilo schrieb:
Norman Tomlins wrote:
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>
Thanks Norman. I tried your dialplan above and got the following even though I have mod_shout loaded. EXECUTE sofia/internal/1003@192.168.1.15 playback(shout://translate.google.com/translate_tts?tl=en&q=Hello+,+It+is+me) 2011-01-13 20:41:57.388295 [ERR] mod_shout.c:800 Error: MPG123 Error at __FILE__:__LINE__. 2011-01-13 20:41:57.389383 [ERR] mod_shout.c:803 Error from mpg123: Invalid mpg123 handle. (code 10) 2011-01-13 20:41:57.397162 [DEBUG] sofia.c:4626 Channel sofia/internal/1003@192.168.1.15 entering state [ready][200] 2011-01-13 20:41:57.402589 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1003@192.168.1.15 has executed the last dialplan instruction, hanging up. 2011-01-13 20:41:57.402589 [DEBUG] switch_channel.c:2535 (sofia/internal/1003@192.168.1.15) Callstate Change ACTIVE -> HANGUP
----- don't and stop are the ONLY two 4-letter words considered offensive to men, but not when used together.
-- With kind regards Peter Steinbach Telefaks Services GmbH mailto:lists (att) telefaks.de Internet: www.telefaks.de
participants (4)
-
Madovsky
-
mazilo
-
Norman Tomlins
-
Peter Steinbach