[Speex-dev] Integrating speex with VideoNet application: Constantbackground noise

John Miles jmiles at pop.net
Sun Nov 5 20:47:37 PST 2006


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 at yahoo.com.sg]
  Sent: Sunday, November 05, 2006 8:38 PM
  To: John Miles; speex-dev at 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 at pop.net>
  To: Carine Liang <carineliang at yahoo.com.sg>; speex-dev at 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 at yahoo.com.sg]
    Sent: Sunday, November 05, 2006 4:51 PM
    To: John Miles; speex-dev at 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


More information about the Speex-dev mailing list