search for: pbbuffer

Displaying 2 results from an estimated 2 matches for "pbbuffer".

Did you mean: pbuffer
2010 Feb 28
0
Denoise not working for me
...SpxPreprocessState = speex_preprocess_state_init(160, 8000); //20ms audio at 8000 bps speex_preprocess_ctl(SpxPreprocessState, SPEEX_PREPROCESS_SET_DENOISE, &nEnable); //Run the preprocess on the buffer captured before encoding speex_preprocess_run(SpxPreprocessState, (short*)pbBuffer); speex_encode_int(EncoderState,(short*)pbBuffer, &stSpeexBits); I dump the output of the buffer after calling speex_preprocess_run and play it using some media player tool but I dont hear any audio as if the complete audio has been removed. Am i following the right...
2010 Feb 22
0
Speex echo cancellation and denoise issues
...SpxPreprocessState = speex_preprocess_state_init(160, 8000); //20ms audio at 8000 bps speex_preprocess_ctl(SpxPreprocessState, SPEEX_PREPROCESS_SET_DENOISE, &nEnable); //Run the preprocess on the buffer captured before encoding speex_preprocess_run(SpxPreprocessState, (short*)pbBuffer); speex_encode_int(EncoderState,(short*)pbBuffer, &stSpeexBits); On calling speex_preprocess_run removes all the audio from the buffer and a constant humming sound is heard. I open the recorded file in Cool edit pro tool and see that all the...