Re: convert mp3 to GSM audio

2007-10-31 Thread Eran Levy
I didn't know that. Thanks. On 10/31/07, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Tue, Oct 30, 2007 at 06:54:45PM +0200, Eran Levy wrote: Hi, Any idea how to convert .MP3 to .GSM? I could not find a good application. I figure you want this for Asterisk. Almost all audio codecs on

convert mp3 to GSM audio

2007-10-30 Thread Eran Levy
Hi, Any idea how to convert .MP3 to .GSM? I could not find a good application. Thanks Eran

Re: convert mp3 to GSM audio

2007-10-30 Thread ik
On 10/30/07, Eran Levy [EMAIL PROTECTED] wrote: Hi, Any idea how to convert .MP3 to .GSM? I could not find a good application. Try sox, but I think that it's better to use wav then mp3 files. Thanks Eran Ido -- http://ik.homelinux.org/

Re: convert mp3 to GSM audio

2007-10-30 Thread Eran Levy
Thanks, It works perfect, for instance: sox Unavailable.MP3 -r 8000 -c 1 Unavailable.gsm Eran On 10/30/07, ik [EMAIL PROTECTED] wrote: On 10/30/07, Eran Levy [EMAIL PROTECTED] wrote: Hi, Any idea how to convert .MP3 to .GSM? I could not find a good application. Try sox, but I think that

Re: convert mp3 to GSM audio

2007-10-30 Thread Meir Michanie
Try this instead [recordings] exten =_4XX,1,answer exten =_4XX,2,Record(/tmp/prompt${EXTEN:1}:gsm) exten =_4XX,3,wait(1) exten =_4XX,4,Playback(/tmp/prompt${EXTEN:1} exten =_4XX,5,wait(2) exten =_4XX,6,Hangup() then move the files at need. Eran Levy wrote: Thanks, It works perfect, for

Re: convert mp3 to GSM audio

2007-10-30 Thread ik
On 10/30/07, Meir Michanie [EMAIL PROTECTED] wrote: Try this instead [recordings] exten =_4XX,1,answer exten =_4XX,2,Record(/tmp/prompt${EXTEN:1}:gsm) exten =_4XX,3,wait(1) exten =_4XX,4,Playback(/tmp/prompt${EXTEN:1} exten =_4XX,5,wait(2) exten =_4XX,6,Hangup() This dialplan records a

Re: convert mp3 to GSM audio

2007-10-30 Thread Meir Michanie
I proposed it as it is a fast hack to generate recordings to be use during development. Once you have the application working, then you can consider paying a pro to do the recording. ik wrote: On 10/30/07, Meir Michanie [EMAIL PROTECTED] wrote: Try this instead [recordings] exten

Re: convert mp3 to GSM audio

2007-10-30 Thread Eran Levy
Wonderful! Good idea Meir. Eran On 10/30/07, Meir Michanie [EMAIL PROTECTED] wrote: I proposed it as it is a fast hack to generate recordings to be use during development. Once you have the application working, then you can consider paying a pro to do the recording. ik wrote: On

Re: convert mp3 to GSM audio

2007-10-30 Thread Meir Michanie
Eran Levy wrote: Wonderful! Good idea Meir. Eran On 10/30/07, *Meir Michanie* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I proposed it as it is a fast hack to generate recordings to be use during development. Once you have the application working, then you can

Re: convert mp3 to GSM audio

2007-10-30 Thread Tzafrir Cohen
On Tue, Oct 30, 2007 at 06:54:45PM +0200, Eran Levy wrote: Hi, Any idea how to convert .MP3 to .GSM? I could not find a good application. I figure you want this for Asterisk. Almost all audio codecs on Asterisk (except g722) use a phone quality audio: 8000Hz, 16bit samples, mono. MP#s you'll