similar to: Integrating speex with VideoNet application: Constantbackground noise

Displaying 20 results from an estimated 1000 matches similar to: "Integrating speex with VideoNet application: Constantbackground noise"

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 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
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 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
2006 Dec 25
1
Integrating speex with VideoNet application: Constantbackground noise
Hi Jean-Marc, Thanks. I've got the code for sampleenc and sampledec. But I didn't know how to verify whether the decoded file is correct. So I tried to analyse the decoded output and compile with my input. Test case: PCM samples, 8 bit, 8000 samples per sec. When I pulled all my input to 0s, after encode and decode, the output fluctuates around -0.12 to 0.2 (in float), so when finally
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 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 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 =
2012 Mar 14
0
Audio file is corrupted after decoding
I successfully encoded and decoded a wav file of PCM 16 , MONO and with sample rate 8000 in Android OS. The size of the original wav file and decoded file is near. But i am not able to play the decoded audio file, the mediaplayer says that the file has been corrupted. ENCODING: #include <jni.h> #include <stdio.h> #include "speex/speex.h" #define FRAME_SIZE 320 void
2007 Feb 13
0
Hello guys Please help
Why my decoder doesn't want to return the data back to its original wav audio file that i can playback it correctly , is there something wrong in my code . Encoder : ======= #include "speex.h" #include <stdio.h> #include <iostream> #include <conio.h> using namespace std; /*The frame size in hardcoded for this sample code but it doesn't have to be*/
2006 Oct 12
1
Problem with encoding and decoding
I have problem with coding and decoding. I record voice from mic coding and write to file. And when I read from file and put it on sound card it's terrible sound. Have sameone can help me? #include <speex.h> #include <stdio.h> #include <fcntl.h> #include <sys/ioctl.h> #include <sys/soundcard.h> /*The frame size in hardcoded for this sample code but it
2004 Aug 06
1
About reducing noise..
Hello, When I decode a recoded sound encoded by speex, it has too much noise. The noise is "slightly" reduced if I set the quality to 10. How do I get rid of this noise? The code is as follows. For encoding . state = speex_encoder_init ( &speex_nb_mode ); tmp = 7; speex_encoder_ctl ( state, SPEEX_SET_MODE, &tmp); // set quality tmp = 10; speex_encoder_ctl ( state,
2004 Aug 06
1
decode in ppc 2003
Hi, My problem is at the second fread function, fread(&nbBytes, sizeof(int), 1, fin); //the first fread fread(cbits,1, nbBytes, fin);// the second fread. When I'm debugging always nbytes is greater than cbits. This give me a execution error. Thanks. Rodrigo. <p><p><p>-----Mensaje original----- De: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org] En nombre
2005 Oct 17
0
Error Executing sampledec in VC++
You should really do a check to make sure nbBytes isn't larger than 200, otherwise you're going to read past the end of your char array. fread (&nbBytes, sizeof(int), 1, fo); _____ From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Mo Win Sent: Monday, October 17, 2005 7:31 PM To: speex-dev@xiph.org Subject: Re: [Speex-dev] Error
2011 Nov 28
1
Speex stereo encoding
Hi. I trying to encode PCM16 8000Hz stereo data to speex and put it into the .flv file format. But at the output I can hear only noise. What I doing wrong? Here is the code: void main() { SpeexBits bits; void *enc_state; int frame_size; int quality = 10; char cbits[MAX_FRAME_BYTES]; FILE *fin, *speex; short input[MAX_FRAME_SIZE]; int nbBytes; int channels =
2004 Aug 06
0
decode in ppc 2003
You are writing to a test.wav file, but I don't see a RIFF header being written to this file. -----Original Message----- From: owner-speex-dev@xiph.org [mailto:owner-speex-dev@xiph.org]On Behalf Of Rodrigo Parra M Sent: Monday, 19 January 2004 11:20 p.m. To: speex-dev@xiph.org Subject: [speex-dev] decode in ppc 2003 <p>Hi all, Please a moment to look my source code, this is very similar
2004 Aug 06
0
decode in ppc 2003
Note that FIXED_POINT is only related to compiling speex, not your application. Also, in 1.1.x, the output and output format for audio changed to 'short' (instead of float). Jean-Marc Le lun 19/01/2004 à 05:19, Rodrigo Parra M a écrit : > Hi all, > > Please a moment to look my source code, this is very similar to > example of the documentation. I added FIXED_POINT
2009 Feb 03
0
Problems with Speex Libary
Hello, today I try to compile a test-file from the Documentation. I link the libarys correct but have only one error in this line: state = speex_encoder_init(&speex_nb_mode); The error: main.cpp|21|undefined reference to `speex_nb_mode'| The linking libarys: "libspeex.lib" "libspeexdsp.lib" I ask in more c++ boards, but nobody can help me. Hopefully I ask the