Displaying 20 results from an estimated 800 matches similar to: "Integrating speex with VideoNet application: Constantbackground noise"
2006 Dec 24
1
Integrating speex with VideoNet application: Constantbackground noise
Hi,
I'm still unable to get rid of the background noise though I've changed
the PCM samples to 16 bit.
I'm began to wonder if I can just take the PCM samples and encode them.
What my application tries to do is to record the voice from a microphone, encode it, send it via the socket to a peer, decode at the peer's side and play the voice. My application works fine without the
2006 Nov 05
2
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:
2006 Nov 02
1
Integrating speex with VideoNet application: Constantbackground noise
Hi John,
Thanks for your reply.
Yes, my output device is in 8-bit mode, same as my input mode. I'm actually working in char (8 bit) arrays. Is it necessary to work in signed short integers only? I changed all the short arrays in the example to char.
Carine
----- Original Message ----
From: John Miles <jmiles@pop.net>
To: carineliang@yahoo.com.sg; speex-dev@xiph.org
Sent: Thursday,
2006 Nov 05
1
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
----- Original Message ----
From: John Miles
2006 Dec 28
0
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc,
I finally make it work! Thanks for telling me that the algo will not work for 8-bit PCM. In fact I've tried using 16 bit PCM last time, but apparently there's a bug. The bug lies with the RecBuffer. The RecBuffer must be set to 320bytes instead of 160 bytes since every sample is now 16 bit.
The compression is amazing, from 320 bytes to 38bytes!
Thanks a million,
Carine
2006 Nov 05
0
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,
2006 Nov 01
1
Integrating speex with VideoNet application: Constant background noise
Hi,
Can someone please help me with my problem below. Any suggestions is appreciated.
thanks,
Carine
----- Original Message ----
From: Carine Liang <carineliang@yahoo.com.sg>
To: speex-dev@xiph.org; speex-dev@xiph.org
Sent: Tuesday, 31 October 2006 1:05:49 PM
Subject: [Speex-dev] Integrating speex with VideoNet application: Constant background noise
Hi,
I am developing a peer-to-peer
2007 Feb 13
1
Hello Guys
hello everybody in this great mailing list , i have some difficulties to follow my code .
i solved some problems thanks to Carine Liang , but i still have one problem and i think it is fatal one.
when i encode the voice data in a wav file it is decoded without any errors it gives me 84 bytes wav file size for 139 kbytes wav audio data .Naturally i wanted to return my file back to its normal
2010 Mar 16
1
G-test : log-likelihood ratio test
Dear Peter,
I am running your g.test() with the william's correction but I have a question about the input numbers. These are my data:
"Our data are consistent with those obtained using microarray comparative genome hybridization in that we found significantly fewer variants per Mb on the X compared to the autosomal chromosomes (152 versus 336 respectively, G = 93.4, P < 2e-16, df =
2006 Oct 30
0
Integrating speex with VideoNet application: Constant background noise
Hi,
I am developing a peer-to-peer video conference application which uses speex as a codec for the voice.
I am new to speex, so please bear with me if I asked the obvious. After I added the encode and decode function to my MFC app, I heard a constant background noise, even when no one is speaking into the microphone.
#define FRAME_SIZE 160
The application is coded in MFC C++. The record
2007 Oct 11
2
Encode and decode using speex
Hi,
I am new to speex and I am trying to use the sample program given in the
speex document.
I have made some modification to that sample, so that input can be read from
a file and the output can be re-directed to the file.
I tried to encode an audio file using the sampleenc and decode the same by
sampledec.c I am able to do it successfully, but when i try to play the
output file from the
2005 Jan 03
0
sampleenc/sampledec
I can't get the versions of sampleenc and sampledec in the manual to
work back-to-back. I've tried using speex 1.0.4 and 1.1.6. What am I
doing wrong?
[gerv@otter]$ file in.wav
in.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit,
mono 8000 Hz
Strip headers:
[gerv@otter]$ sox in.wav in.raw
Command as given on manual page:
[gerv@otter]$ ./sampleenc in.raw | ./sampledec
2005 Aug 11
1
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font size=2>Hi! I excuted
2005 Aug 10
0
About sampleenc and sampledec in appendix B
<style> p {margin-top:0px;margin-bottom:0px;} </style>
<table border=0 width=100% bgcolor='' cellpadding=0 cellspacing=0 align=center>
        <tr>
        <td valign=top style='padding:8pt;'><font
2004 Sep 15
0
Problems with sampleenc and sampledec
I suspect I am missing something basic but I do not seem to be able to get the sampleenc and sampledec programs to work together. I suspect the decode operation is failing, but I cannot find out why.
Backgound information:
1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux
2) speexenc and speexdec appear to work fine.
3) testenc and testenc_wb work fine, though
2004 Sep 13
0
Compile flags for sampleenc sampledec.
I suspect I am missing something basic but I do not seem to be able to get the sampleenc and sampledec programs to work together. I think I do not have a compile swtich of flag set correctly.
Backgound information:
1) 1.0.4 tar package 'make' worked and installed on a mandrake 10.0 linux
2) speexenc and speexdec appear to work fine.
3) testenc and testenc_wb work fine, though I
2005 Oct 17
3
Error Executing sampledec in VC++
hey guys, I just compiled an application similar to sampledec.c (for speex
1.1.10) and it was fine but when I executed it, the app exited without doing
anything. I'm using MS VC 6.0 and this was all I got - First-chance
exception in sampledec.exe : 0xC0000005: Access Violation. Has anyone
encountered this / does anyone know how to deal with it? by the way,
sampleenc executed perfectly...
When
2005 Oct 17
6
Error Executing sampledec in VC++
Hi Steve, thanks for the advice. I placed the appropriate functions outside
the while statement but I still get this error at the while loop:
First-chance exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
Unhandled exception at 0x004010fa in SPXDEC.exe: 0xC0000005: Access
violation reading location 0x0000000c.
It looks like the same error. I've
2007 Jul 12
4
file couldn't play after Speex encode and decode
Dear sir,
I've a problem that the .wav file couldn't play after calling "sampleenc
male.wav|sampledec male_speex_15.wav".I found that the new file
male_speex_15.wav is smaller than the original file in size.I implemented
the test on Linux system.The original file male.wav is 96044 bytes,while the
new file male_speex_15.wav is 96000 bytes.I'm eager to know the reason.Thankyou!
2006 Oct 04
1
Decode win32 encoded files on TI C5x???
> For encoding into and decoding from "raw Speex stream" (if you can call
> it that), I suggest you start with the sampleenc.c and sampledec.c
> example code in Appendix B of the Speex Manual.
There is no such a thing as a "raw Speex format". Also, sampleenc.c and
sampledec.c are good for learning how to use the API, but the compressed
format shouldn't be used in