Re: [Freeswitch-users] Choosing a Codec.
On 12/23/2009 11:29 AM, David Knell wrote: On the other hand, a u-law WAV turned into L16 and then back to u-law to be sent down the line shouldn't suffer any alteration at all - if it does, the there's something wrong with the translation. The quality dropping over time is almost certainly down to something else. Vinuth -can you get a recording to compare with the original? A linear-ulaw-linear-ulaw-linear-ulaw chain *should* only loose quality on the first cycle. However: - Many ulaw implementation are buggy, because they are based on the same broken Sun code. People are gradually waking up and fixing this. The broken implementations can loose considerable quality on each cycle. - Anywhere people fiddle with gains, you will loose quality on each cycle. Steve ___ 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
Re: [Freeswitch-users] Choosing a Codec.
VMD will force a transcode anyway too. /b On Dec 23, 2009, at 1:08 AM, Vinuth Madinur wrote: My setup is as follows: FreeSWITCH - SIP Trunk - PSTN. From freeswitch, I'm making outbound calls using event socket via the external profile. Except for the ext_rtp_ip and ext_sip_ip, everything is default settings. Using playback application, I'm playing a mu-law audio. I'm also starting the vmd application, so that I can replay the message on beep. Thanks for your suggestion on native format. I'll try it. Thanks, Vinuth. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
It's more than highly likely you have some other problem like jitter or a bad network connection. Not many people would be able to tell the difference between the sound of an 8k PCM file and the same file encoded to G711 just by listening to it unless there was a severe problem somewhere. Since you are behind NAT you are even more likely to experience drops etc. Record your files as 8k raw 16 bit PCM to get the best out of the file playback in FS and look elsewhere for your audio issues. You can always make sure you are using the latest build of FS to rule out any temporary issues in the code. On Wed, Dec 23, 2009 at 8:56 AM, Brian West br...@freeswitch.org wrote: VMD will force a transcode anyway too. /b On Dec 23, 2009, at 1:08 AM, Vinuth Madinur wrote: My setup is as follows: FreeSWITCH - SIP Trunk - PSTN. From freeswitch, I'm making outbound calls using event socket via the external profile. Except for the ext_rtp_ip and ext_sip_ip, everything is default settings. Using playback application, I'm playing a mu-law audio. I'm also starting the vmd application, so that I can replay the message on beep. Thanks for your suggestion on native format. I'll try it. Thanks, Vinuth. ___ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:+19193869900 ___ 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
Re: [Freeswitch-users] Choosing a Codec.
Why? You don't have to avoid it... why bother? /b On Dec 22, 2009, at 4:28 PM, Vinuth Madinur wrote: My basic intent is to avoid on-the-fly transcoding, while having a high quality audio playing on PSTN. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
The audio quality is a lot different when it plays on the landline. And the quality degrades a bit when the message played is lengthy 30s. So I thought it would be better if I have the file in mu-law and play it as is.. Thanks, Vinuth. On Wed, Dec 23, 2009 at 4:09 AM, Brian West br...@freeswitch.org wrote: Why? You don't have to avoid it... why bother? /b On Dec 22, 2009, at 4:28 PM, Vinuth Madinur wrote: My basic intent is to avoid on-the-fly transcoding, while having a high quality audio playing on PSTN. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
If its degrading like that you have bigger issues... the sound files played from wav files vs raw PCM files is NO different on a land line and I speak from very many years of experience... your wav files are ulaw in wav containers thus will never play native which might just be part of your problem. You would have to have raw headerless data in a .PCMU file for it to play native. Can you elaborate on your setup a bit more? /b On Dec 22, 2009, at 4:54 PM, Vinuth Madinur wrote: The audio quality is a lot different when it plays on the landline. And the quality degrades a bit when the message played is lengthy 30s. So I thought it would be better if I have the file in mu-law and play it as is.. Thanks, Vinuth. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
On the other hand, a u-law WAV turned into L16 and then back to u-law to be sent down the line shouldn't suffer any alteration at all - if it does, the there's something wrong with the translation. The quality dropping over time is almost certainly down to something else. Vinuth -can you get a recording to compare with the original? --Dave If its degrading like that you have bigger issues... the sound files played from wav files vs raw PCM files is NO different on a land line and I speak from very many years of experience... your wav files are ulaw in wav containers thus will never play native which might just be part of your problem. You would have to have raw headerless data in a .PCMU file for it to play native. Can you elaborate on your setup a bit more? /b On Dec 22, 2009, at 4:54 PM, Vinuth Madinur wrote: The audio quality is a lot different when it plays on the landline. And the quality degrades a bit when the message played is lengthy 30s. So I thought it would be better if I have the file in mu-law and play it as is.. Thanks, Vinuth. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
Have you considered GIPS http://www.gipscorp.com/products/overview.php ? -E ___ 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
Re: [Freeswitch-users] Choosing a Codec.
That being said, ulaw l16 alaw will cause degredation and any other modifications such as volume adjustment in this path will make it worse. Tha being said that does not sound like what you are experiencing Mike On Dec 22, 2009, at 10:29 PM, David Knell d...@3c.co.uk wrote: On the other hand, a u-law WAV turned into L16 and then back to u- law to be sent down the line shouldn't suffer any alteration at all - if it does, the there's something wrong with the translation. The quality dropping over time is almost certainly down to something else. Vinuth -can you get a recording to compare with the original? --Dave If its degrading like that you have bigger issues... the sound files played from wav files vs raw PCM files is NO different on a land line and I speak from very many years of experience... your wav files are ulaw in wav containers thus will never play native which might just be part of your problem. You would have to have raw headerless data in a .PCMU file for it to play native. Can you elaborate on your setup a bit more? /b On Dec 22, 2009, at 4:54 PM, Vinuth Madinur wrote: The audio quality is a lot different when it plays on the landline. And the quality degrades a bit when the message played is lengthy 30s. So I thought it would be better if I have the file in mu-law and play it as is.. Thanks, Vinuth. ___ 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 ___ 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
Re: [Freeswitch-users] Choosing a Codec.
On Tue, 2009-12-22 at 23:52 -0500, Michael Jerris wrote: That being said, ulaw l16 alaw will cause degredation and any other modifications such as volume adjustment in this path will make it worse. Indeed. Storing prompts as 8k, 16-bit WAVs makes a lot of sense. [I am inordinately pleased with the above] --Dave ___ 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
Re: [Freeswitch-users] Choosing a Codec.
My setup is as follows: FreeSWITCH - SIP Trunk - PSTN. From freeswitch, I'm making outbound calls using event socket via the external profile. Except for the ext_rtp_ip and ext_sip_ip, everything is default settings. Using playback application, I'm playing a mu-law audio. I'm also starting the vmd application, so that I can replay the message on beep. Thanks for your suggestion on native format. I'll try it. Thanks, Vinuth. On Wed, Dec 23, 2009 at 4:41 AM, Brian West br...@freeswitch.org wrote: If its degrading like that you have bigger issues... the sound files played from wav files vs raw PCM files is NO different on a land line and I speak from very many years of experience... your wav files are ulaw in wav containers thus will never play native which might just be part of your problem. You would have to have raw headerless data in a .PCMU file for it to play native. Can you elaborate on your setup a bit more? /b On Dec 22, 2009, at 4:54 PM, Vinuth Madinur wrote: The audio quality is a lot different when it plays on the landline. And the quality degrades a bit when the message played is lengthy 30s. So I thought it would be better if I have the file in mu-law and play it as is.. Thanks, Vinuth. ___ 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
Re: [Freeswitch-users] Choosing a Codec.
On Wed, Dec 23, 2009 at 12:17 PM, David Knell d...@3c.co.uk wrote: On Tue, 2009-12-22 at 23:52 -0500, Michael Jerris wrote: That being said, ulaw l16 alaw will cause degredation and any other modifications such as volume adjustment in this path will make it worse. Indeed. Storing prompts as 8k, 16-bit WAVs makes a lot of sense. [I am inordinately pleased with the above] --Dave Thanks, will try and get back. ___ 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