<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=953334504-06112006><FONT face=Arial color=#0000ff size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=953334504-06112006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=953334504-06112006><FONT face=Arial color=#0000ff size=2>--
john</FONT></SPAN></DIV>
<DIV><SPAN class=953334504-06112006><FONT face=Arial color=#0000ff size=2>RAD
Game Tools</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Carine Liang
[mailto:carineliang@yahoo.com.sg]<BR><B>Sent:</B> Sunday, November 05, 2006
8:38 PM<BR><B>To:</B> John Miles; speex-dev@xiph.org<BR><B>Subject:</B> Re:
[Speex-dev] Integrating speex with VideoNet application: Constantbackground
noise<BR><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Hi
John,<BR><BR>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?<BR><BR>Thanks,<BR>Carine<BR><BR>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">-----
Original Message ----<BR>From: John Miles <jmiles@pop.net><BR>To: Carine
Liang <carineliang@yahoo.com.sg>; speex-dev@xiph.org<BR>Sent: Monday, 6
November 2006 11:52:53 AM<BR>Subject: RE: [Speex-dev] Integrating speex with
VideoNet application: Constantbackground noise<BR><BR>
<STYLE type=text/css>DIV {
        MARGIN: 0px
}
</STYLE>
<DIV><SPAN class=906465003-06112006><FONT face=Arial color=#0000ff size=2>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. </FONT></SPAN></DIV>
<DIV><SPAN class=906465003-06112006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=906465003-06112006><FONT face=Arial color=#0000ff size=2>--
john</FONT></SPAN></DIV>
<DIV><SPAN class=906465003-06112006><FONT face=Arial color=#0000ff size=2>RAD
Game Tools</FONT></SPAN></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,255) 2px solid">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Carine Liang
[mailto:carineliang@yahoo.com.sg]<BR><B>Sent:</B> Sunday, November 05, 2006
4:51 PM<BR><B>To:</B> John Miles; speex-dev@xiph.org<BR><B>Subject:</B> Re:
[Speex-dev] Integrating speex with VideoNet application: Constantbackground
noise<BR><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">Hi,<BR><BR>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?<BR><BR>Regards,<BR>Carine</DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV><BR>
<HR SIZE=1>
What will the world find in 2020?<BR>Leave a part of your 2006 in the Yahoo!
Time Capsule. <A
href="http://sg.rd.yahoo.com/mail/sg/footer/def/*http://timecapsule.yahoo.com/capsule.php?intl=sg">Contribute
now!</A></BLOCKQUOTE></BODY></HTML>