Jean-Marc Valin
2004-Aug-06 15:01 UTC
[speex-dev] Re: speex_denoise on non-microphone noise (static ?)
> Then I pulled the microphone out. Our system still records noise. To > isolate the problem, I wrote a small app just to open the device and > record raw samples, calls speex_denoise() and outputs both sample > sets. > The noise is still there, with level fluctuating with gain level, > unless > "All mute" is chosen.> In the case when NO microphone is plugged in, speex_denoise() smoothes > the signal and produces smoother (and even amplifies the signal) > speech > like signals. It seems that speex_denoise( ) is very sensitive to > static noise.What happens (denoiser amplifying the signal) is that there is also an AGC (automatic gain control) that thinks that the noise is speech (because it's the loudest signal is hears) and amplifies it to make it sound loud enough. I completely changed the structure of that code (now called speex_preprocess_*) and the AGC is now optional (off by default), so it should fix your problem. Jean-Marc -- Jean-Marc Valin, M.Sc.A., ing. jr. LABORIUS (http://www.gel.usherb.ca/laborius) Université de Sherbrooke, Québec, Canada -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 190 bytes Desc: Ceci est une partie de message numériquement signée Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030919/21bd4d1b/signature-0001.pgp