Piotr Domagalski
2007-Jun-07 10:07 UTC
[Speex-dev] speex1.2-beta2 and noise suppression problem
Hi! I'm using the newest (beta2) speex library on PocketPC (Windows powered) and experiencing some problems with noise suppression preprocessor turned on while encoding 44kHz files. You can hear the example here: http://szalik.net/speex (this is a 44kHz, 16, mono file encoded in UWB mode) I tried using speex cross-compiled with gcc (fixed point + arm4 asm) and VS (just fixed point) and it sounds the same. There doesn't seem to be any problem with 8 and 22kHz input files. Speex-1.2beta1 crashes with all 44kHz input file and it's very hard to debug, because I'm using .NET P/Invoke to call native DLL and the application just closes down when it crashes. As for the code, it's quite simple, the basic flow is as follows: 1. Init encoder, bits, set SPEEX_SET_SAMPLING_RATE 2. Init preprocessor state, set SPEEX_PREPROCESS_SET_DENOISE 3. Set quality/complexity 4. loop with: encode_stereo, preprocess, encode int Any suggestions as to what I might be doing wrong? Or is it a bug? Maybe something with the last fixed-point changes? -- Piotr Domagalski
Jean-Marc Valin
2007-Jun-07 16:45 UTC
[Speex-dev] speex1.2-beta2 and noise suppression problem
> I'm using the newest (beta2) speex library on PocketPC (Windows > powered) and experiencing some problems with noise suppression > preprocessor turned on while encoding 44kHz files.44.1 kHz is not a recommended rate for encoding. Also, can you reproduce the problem using the testdenoise example? If not, it's most likely a bug in your code. Jean-Marc> You can hear the example here: http://szalik.net/speex (this is a > 44kHz, 16, mono file encoded in UWB mode) > > I tried using speex cross-compiled with gcc (fixed point + arm4 asm) > and VS (just fixed point) and it sounds the same. There doesn't seem > to be any problem with 8 and 22kHz input files. Speex-1.2beta1 crashes > with all 44kHz input file and it's very hard to debug, because I'm > using .NET P/Invoke to call native DLL and the application just closes > down when it crashes. > > As for the code, it's quite simple, the basic flow is as follows: > > 1. Init encoder, bits, set SPEEX_SET_SAMPLING_RATE > 2. Init preprocessor state, set SPEEX_PREPROCESS_SET_DENOISE > 3. Set quality/complexity > 4. loop with: encode_stereo, preprocess, encode int > > Any suggestions as to what I might be doing wrong? Or is it a bug? > Maybe something with the last fixed-point changes? >
Maybe Matching Threads
- Errors compiling speex1.2-rc1 in Symbian 3th edition SDK
- New package 'backbone' for extracting significant edges from a weighted graph
- New package 'backbone' for extracting significant edges from a weighted graph
- Some question about speexcodex 1.2 beta2 on linux
- voice sound like robot voice :)