Hi, I have some voice prompts in WAV format (PCM, 44KHz, 16bit, mono, bitrate 705kbps) and I want to convert them in gsm format. Using : sox file.wav file.gsm The result is a gsm sound file which when is played the speed is very very low (something like 5-6 times slower). Converting first to a 8KHz, 8bit mono wave file, the final gsm file is correct, but the quality is far than acceptable. The original file is at a very high quality. Which is the procedure to obtain the highest quality possible from my original wav file? Thanks, Dan
Jamie Neil
2003-Aug-22 04:45 UTC
[Asterisk-Users] sox and wav to gsm conversion quality issue
Dan wrote:> Hi, > > I have some voice prompts in WAV format (PCM, 44KHz, 16bit, mono, bitrate > 705kbps) and I want to convert them in gsm format. > Using : > sox file.wav file.gsm > The result is a gsm sound file which when is played the speed is very very > low (something like 5-6 times slower). > Converting first to a 8KHz, 8bit mono wave file, the final gsm file is > correct, but the quality is far than acceptable. > The original file is at a very high quality. > > Which is the procedure to obtain the highest quality possible from my > original wav file? > > Thanks, > DanSox can convert the bitrate and the format at the same time, which in my experience produces pretty good results. I posted the process that I use to the list a few weeks ago: http://lists.digium.com/pipermail/asterisk-users/2003-July/016399.html Regards, -- Jamie Neil <jamie@versado.net> Versado I.T. Services Ltd. http://versado.net/
> Sox can convert the bitrate and the format at the same time, which in my > experience produces pretty good results. > > I posted the process that I use to the list a few weeks ago: > > http://lists.digium.com/pipermail/asterisk-users/2003-July/016399.html >Hi Jamie, If I try like in your example and first resample the original at 8KHz, the quality of the final sound is unacceptable. BR, Dan> Regards, > > -- > Jamie Neil <jamie@versado.net> > Versado I.T. Services Ltd. > http://versado.net/ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Ok...some more tests and the best results I get are with: sox file.wav -r 8000 file.gsm resample -ql Now the quality is identical with the original Asterisk prompts. Thanks for he hint. Dan ----- Original Message ----- From: "Dan" <dtoma@fx.ro> To: <asterisk-users@lists.digium.com> Sent: Friday, August 22, 2003 3:02 PM Subject: Re: [Asterisk-Users] sox and wav to gsm conversion quality issue> > Sox can convert the bitrate and the format at the same time, which in my > > experience produces pretty good results. > > > > I posted the process that I use to the list a few weeks ago: > > > > http://lists.digium.com/pipermail/asterisk-users/2003-July/016399.html > > > > Hi Jamie, > > If I try like in your example and first resample the original at 8KHz, the > quality of the final sound is unacceptable. > > BR, > Dan > > > Regards, > > > > -- > > Jamie Neil <jamie@versado.net> > > Versado I.T. Services Ltd. > > http://versado.net/ > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Brian West
2003-Aug-22 05:59 UTC
[Asterisk-Users] sox and wav to gsm conversion quality issue
sox infile.wav -r 8000 -c 1 outfile.gsm On Fri, 22 Aug 2003, Dan wrote:> Hi, > > I have some voice prompts in WAV format (PCM, 44KHz, 16bit, mono, bitrate > 705kbps) and I want to convert them in gsm format. > Using : > sox file.wav file.gsm > The result is a gsm sound file which when is played the speed is very very > low (something like 5-6 times slower). > Converting first to a 8KHz, 8bit mono wave file, the final gsm file is > correct, but the quality is far than acceptable. > The original file is at a very high quality. > > Which is the procedure to obtain the highest quality possible from my > original wav file? > > Thanks, > Dan > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
I wanted to know if it is possible to change the contact info so it would be 100@externalip instead that 100@192.168.0.132 If this is possible could you please give me the info. Thanks, Best regards, Yehiel
try adding fromdomain=externalip to your sip entries Martin On Fri, 22 Aug 2003, Yehiel Samson wrote:> I wanted to know if it is possible to change the contact info so it would be > 100@externalip instead that 100@192.168.0.132 > > If this is possible could you please give me the info. > Thanks, > Best regards, > Yehiel > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >