Carine Liang
2006-Nov-05 20:44 UTC
[Speex-dev] Integrating speex with VideoNet application: Constantbackground noise
Hi John, I noticed the values after decode is very much different from the values of the original PCM samples. For cases when the PCM sample values are constant (because no one is speaking), the decoded values fluctuate too. These fluatuations are causing the background noise. Is my observation expected? Thanks, Carine ----- Original Message ---- From: John Miles <jmiles@pop.net> To: Carine Liang <carineliang@yahoo.com.sg>; speex-dev@xiph.org Sent: Monday, 6 November 2006 11:52:53 AM Subject: RE: [Speex-dev] Integrating speex with VideoNet application: Constantbackground noise DIV { MARGIN:0px;} It could be a million different things, unfortunately. Focus on comparing your code to the Speex examples, and looking for places where they diverge. Also, try taking Speex out of the picture altogether, just to make sure you can send plain uncompressed PCM audio through your network layer. -- john RAD Game Tools -----Original Message----- From: Carine Liang [mailto:carineliang@yahoo.com.sg] Sent: Sunday, November 05, 2006 4:51 PM To: John Miles; speex-dev@xiph.org Subject: Re: [Speex-dev] Integrating speex with VideoNet application: Constantbackground noise Hi, I've changed the m_waveFormatEx.wBitsPerSample for both record buffer and playSound buffer, changed my array from char to short and I'm still getting the same constant background noise. I notice that when I talk into the mike, I will get a slightly louder noise, can't hear any clear speech... Any idea what's wrong? Regards, Carine __________________________________ What will the world find in 2020? Leave a part of your 2006 in the Yahoo! Time Capsule. Contribute now! http://timecapsule.yahoo.com/capsule.php?intl=sg -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20061105/402e3f95/attachment.htm
John Miles
2006-Nov-05 20:54 UTC
[Speex-dev] Integrating speex with VideoNet application: Constantbackground noise
The absolute values may be different for a variety of reasons; you can hardwire them all to 0 to see if your noise goes away. Make sure the values on the decompressed (PCM) side are little-endian (low byte first in memory), assuming you're working in Windows on x86. -- john RAD Game Tools -----Original Message----- From: Carine Liang [mailto:carineliang@yahoo.com.sg] Sent: Sunday, November 05, 2006 8:38 PM To: John Miles; speex-dev@xiph.org Subject: Re: [Speex-dev] Integrating speex with VideoNet application: Constantbackground noise Hi John, I noticed the values after decode is very much different from the values of the original PCM samples. For cases when the PCM sample values are constant (because no one is speaking), the decoded values fluctuate too. These fluatuations are causing the background noise. Is my observation expected? Thanks, Carine ----- Original Message ---- From: John Miles <jmiles@pop.net> To: Carine Liang <carineliang@yahoo.com.sg>; speex-dev@xiph.org Sent: Monday, 6 November 2006 11:52:53 AM Subject: RE: [Speex-dev] Integrating speex with VideoNet application: Constantbackground noise It could be a million different things, unfortunately. Focus on comparing your code to the Speex examples, and looking for places where they diverge. Also, try taking Speex out of the picture altogether, just to make sure you can send plain uncompressed PCM audio through your network layer. -- john RAD Game Tools -----Original Message----- From: Carine Liang [mailto:carineliang@yahoo.com.sg] Sent: Sunday, November 05, 2006 4:51 PM To: John Miles; speex-dev@xiph.org Subject: Re: [Speex-dev] Integrating speex with VideoNet application: Constantbackground noise Hi, I've changed the m_waveFormatEx.wBitsPerSample for both record buffer and playSound buffer, changed my array from char to short and I'm still getting the same constant background noise. I notice that when I talk into the mike, I will get a slightly louder noise, can't hear any clear speech... Any idea what's wrong? Regards, Carine ---------------------------------------------------------------------------- -- What will the world find in 2020? Leave a part of your 2006 in the Yahoo! Time Capsule. Contribute now! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20061105/e5a182aa/attachment.html
Hi, I'm experiencing weird problems while testing speex (I want to test the echo canceller first) on PDA with WM5 version pocket PC 2005. Here is the strange scenario: 1-> App running without being linked with speex -> no problem 2-> App running while being linked with speex -> crash at always the same place. NO ACCESS TO SPEEX IS DONE. 3-> I remove the speex dependancies/clean all object -> crash at always the same place 4-> reboot VisualStudio Application 5-> recompile everything without linking to speex: no crash.... I tried this several days: and retried those 5 steps several times. It's amazing but is really the way it is. I suspect a bug in Visual Studio, of course... As It seems some have already tried WM5, I wish to ask if they met such issue and solved it? Just in case... I also wish to test another application using speex to prove myself my application has a bug: if somebody has one, please send it. Sorry for bothering you with probably non-speex problems, Aymeric MOIZARD / ANTISIP amsip - http://www.antisip.com osip2 - http://www.osip.org eXosip2 - http://savannah.nongnu.org/projects/exosip/