vijender reddy
2010-Apr-01 09:12 UTC
[Speex-dev] Regarding problem with encoding / decoding
Hi, I am new to speex library. I am doing project in VC++. My project details are, I have to capture voice from mic and encode it then decode and play. I am capturing the voice and storing in a buffer from there i am reading frame by frame ( 160 bytes) . These bytes i am converting to short int then calling speex_encode-int(). The output buffer i am passing to doder speex_decode_int() function. with out encode and decoding the program working perfectly i am able listen the voice. After decoding if i play the data in the buffer. I am not able to listen the voice , noise is dominating the voice. I am hearing like the voice itself merged with noise. I used denoising and ADC functions but no use. Please help me.. Thanks and Regards, Vijender Reddy,
Jean-Marc Valin
2010-Apr-01 10:29 UTC
[Speex-dev] Regarding problem with encoding / decoding
Start from the sample encoder/decoder in the manual. Jean-Marc On 2010-04-01 05:12, vijender reddy wrote:> Hi, > > I am new to speex library. I am doing project in VC++. My project details are, > I have to capture voice from mic and encode it then decode and play. > I am capturing the voice and storing in a buffer from there i am reading frame by frame ( 160 bytes) . These bytes i am converting to short int then calling speex_encode-int(). The output buffer i am passing to doder speex_decode_int() function. with out encode and decoding the program working perfectly i am able listen the voice. > > After decoding if i play the data in the buffer. I am not able to listen the voice , noise is dominating the voice. I am hearing like the voice itself merged with noise. I used denoising and ADC functions but no use. Please help me.. > > > Thanks and Regards, > Vijender Reddy, > > _______________________________________________ > Speex-dev mailing list > Speex-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
vijender reddy
2010-Apr-05 10:31 UTC
[Speex-dev] Regarding problem with encoding / decoding
Hi, Tank you for your reply. I have tried the sample programs given the manual and done encoding and decoding a wave file. That is working fine. I have already read the manual and API reference. But this problem did not occured with the wave file encoding/decoding. While capturing the data from MIC and encoding/decoding is giving this problem. Thanks and Regards, Vijender Reddy, ----- Original Message ----- From: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> Date: Thursday, April 1, 2010 3:41 pm Subject: Re: [Speex-dev] Regarding problem with encoding / decoding To: vijender reddy <vijender at adrin.res.in> Cc: speex-dev at xiph.org> Start from the sample encoder/decoder in the manual. > > Jean-Marc > > On 2010-04-01 05:12, vijender reddy wrote: > > Hi, > > > > I am new to speex library. I am doing project in VC++. My project > details are, > > I have to capture voice from mic and encode it then decode and play. > > I am capturing the voice and storing in a buffer from there i am > reading frame by frame ( 160 bytes) . These bytes i am converting to > short int then calling speex_encode-int(). The output buffer i am > passing to doder speex_decode_int() function. with out encode and > decoding the program working perfectly i am able listen the voice. > > > > After decoding if i play the data in the buffer. I am not able to > listen the voice , noise is dominating the voice. I am hearing like > the voice itself merged with noise. I used denoising and ADC functions > but no use. Please help me.. > > > > > > Thanks and Regards, > > Vijender Reddy, > > > > _______________________________________________ > > Speex-dev mailing list > > Speex-dev at xiph.org > > http://lists.xiph.org/mailman/listinfo/speex-dev > > > >