similar to: Memory leak in denoiser + a few questions

Displaying 20 results from an estimated 1200 matches similar to: "Memory leak in denoiser + a few questions"

2004 Aug 06
2
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi, I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE as in speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE, &m_SampleRate ); I get 2 The encoder is initialized with m_pEncoderState = speex_encoder_init ( &speex_wb_mode ); On the decoder side, the correct sampling rate is returned: m_pDecoderState = speex_decoder_init ( &speex_wb_mode );
2004 Aug 06
1
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi, No, it only happens with speex_wb_mode. But like I said, it is because in wideband mode, the function sb_encoder_init is called and this function initializes the sampling rate using speex_*de*coder_ctl instead of speex_*en*coder_ctl In narrowband mode, the sampling rate is just initialized to 8000 st->sampling_rate=8000; BTW, I saw that my email was added to an existing thread instead of
2004 Aug 06
0
Memory leak in denoiser + a few questions
Bjoern, As far as I understand it, AGC keeps the volume level of the speech elements (i.e. gain) stable no matter how quiet or loud the input becomes- Tom At 10:53 AM 3/28/2004, Bjoern Rasmussen wrote: >Hello > >The st->zeta pointer isn't freed in the speex_preprocess_state_destroy() >function of the preprocess.c file (alloced in line 167). It's in Speex >1.1.4 by
2005 Feb 21
2
speex denoiser adaptation time
Hi Jean Marc & List, So I have been fiddling with the denoiser (again). While poking around I noticed that nb_preprocess is basically a counter that is mod-ded with 100 (the default), which causes Smin[] to be re- seeded with the value in Stmp[] (min of the previous adaptation period). Smin[] is then used to update the noise probability, which is (probably) less likely when adaptation
2004 Aug 06
2
Memory leak in denoiser + a few questions
On Mar 28, 2004, at 8:23 PM, Jean-Marc Valin wrote: >> The st->zeta pointer isn't freed in the >> speex_preprocess_state_destroy() >> function of the preprocess.c file (alloced in line 167). It's in >> Speex 1.1.4 >> by the way. > > Oops... Thanks for letting me know. I'll change that for the next > release (in the mean time, the fix is
2009 Jan 19
2
error
Hello, I'm trying to compile linphone 3.0.0 in Ubuntu And I'm getting the following compilation error. I somewhere read that the fault happens because of the gcc 4.3.2 that debian based linux uses. Is there any solution (except downgrading gcc) Thank you in advance if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/ -I.. -I../../oRTP/include
2004 Aug 06
1
speex preprocess redux
I'm not sure if this is due to the same problem, but I get the same clipping behavior when trying to use VAD+denoiser on a particular mic+speaker setup that has significant background noise (enough to really foul up the codec should the denoiser be turned off.) Leaving VAD off and transmitting continuously seems to be the only way to avoid this clipping. Another person I regularly
2005 Oct 11
1
noise when passing trougth speex_preprocess
Hi all, as in subject, speex_preprocess inject noise in my data. Someone can help ? Here's the way that i'm using: #define NN 160 /* 20msec di audio */ #define AUDIO_SAMPLERATE 8000 spx_int16_t TEMP_Buffer[NN]; speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE); c = denoise; speex_preprocess_ctl(speex_pp_state, SPEEX_PREPROCESS_SET_DENOISE,&c); c = agc;
2004 Aug 06
4
Memory leak in denoiser + a few questions
Jean-Marc Valin wrote: >>Reverberation suppression? >> >> > >Basically, it means that if you are in a room with lots of echo (long >decay), I can reduce it a bit. > > > >>I guess this would help reduce local source echoes? I've never >>_noticed_ that to be a problem in my use, but I would imagine that >>using a notebook's
2004 Aug 06
0
SPEEX_GET_SAMPLING_RATE of encoder is wrong
Hi, Do you get that problem with speex_nb_mode too (or only speex_wb_mode)? Jean-Marc Le lun 29/03/2004 à 05:35, Chris Flerackers a écrit : > Hi, > > I'm using speex 1.1.4 and when I query SPEEX_GET_SAMPLING_RATE > as in > speex_encoder_ctl ( m_pEncoderState, SPEEX_GET_SAMPLING_RATE, > &m_SampleRate ); > I get > 2 > The encoder is initialized with
2005 Sep 22
1
Noise :-(
Hi all, i use speex preprocessor features in this way: =================================== #define NN 160 /* 20msec di audio */ ... int tbc=0,c,d,ret; spx_int16_t TEMP_Buffer[NN]; char DLECODE; /* Inizializza il preprocessore Speex se non inizializzato */ if(Modem->speex_pp_state == NULL) { Modem->speex_pp_state = speex_preprocess_state_init(NN,AUDIO_SAMPLERATE); }
2004 Aug 06
2
speex preprocess redux
Tom Harper wrote: > Hi All & Jean Marc, > > Once again I find myself delving into the pre-processing code to fiddle > with the VAD, AGC and denoising code. > > Where i am at is that I have implemented all of Steve Kann's mods, and > they are 90% of the way there in terms of working, except that I am still > having issues denoising open air mics. But that is
2010 Jun 28
1
ACE does not work for me at all.
Hello, all. 1) ACE does not work for me I am in a voip project using Speex, failed to have hte Speex ACE work. here is how I initialize it: /** * Configurations : * #define BITS_PER_SAMPLE (16) * #define SAMPLE_RATE (8000) * #define CHANNEL_NB (1) * #define DURATION (20) * SPEEX_MODEID_NB */ _eco_state = speex_echo_state_init(_encframe_size, 10*_encframe_size); speex_echo_ctl(_eco_state,
2004 Aug 06
1
speex_bits_pack optimizations...
another optimization you can do for packing bits together... the original one is : ------------------------------------------------------------------------------------------------------------- void speex_bits_pack(SpeexBits *bits, int data, int nbBits) { int i; unsigned int d=data; if (bits->bytePtr+((nbBits+bits->bitPtr)>>3) >= bits->buf_size) { //remain
2004 Oct 06
4
Cpu bandwidth for Speex on Win32 platforms
At 12:35 PM 10/6/2004, Matthias Granberry wrote: >There is some SSE assembly >language, but it's in GCC/AT&T syntax rather than the windows-standard >Intel syntax, so you might have to do some of your own translation to >something your compiler understands. We submitted an intel patch a ways back- maybe it is in the archives somewhere... Tom -- Tom Harper -
2004 Aug 06
0
Memory leak in denoiser + a few questions
> The st->zeta pointer isn't freed in the speex_preprocess_state_destroy() > function of the preprocess.c file (alloced in line 167). It's in Speex 1.1.4 > by the way. Oops... Thanks for letting me know. I'll change that for the next release (in the mean time, the fix is obvious). In case you're interested, I'm currently working on a reverberation suppression
2005 Oct 26
4
small patch for preprocess
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: preproc_patch_dth_10_26_05.patch Type: application/octet-stream Size: 8774 bytes Desc: not available Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20051026/c27a3ed6/preproc_patch_dth_10_26_05.obj
2006 Dec 20
1
Broken denoiser in SVN (?)
Hi, I'm trying to use a denoiser on a wince with a FIXED_POINT defined. Denoiser works OK - it removes the noise, but then it unacceptable hurts a voice. Here is a code that I use: #define TEST_DENOISE_SAMPLES 2000 void test_denoise() { FILE *fin; FILE *fout; spx_int32_t rate=0; int chan=1; int fmt=16; int denoise_enabled = 1; SpeexPreprocessState *preprocess;
2004 Sep 14
3
Audio Resampling Library Suggestions?
Can anyone recommend a good library for performing audio downsampling? I intend to start playing around with "libresample" (http://ccrma-www.stanford.edu/~jos/resample/README-libresample-0.1.3.txt), as well as taking a look at "Secret Rabbit Code" (http://www.mega-nerd.com/SRC/), but I'd love some opinions before I get too involved with either. Free would be best, but
2004 Oct 06
4
Cpu bandwidth for Speex on Win32 platforms
Hi, I try to use Speex codec into Win32 platforms. However, I find the CPU bandwidth usage is very heavy on a Pentium 3 machine. Compare to Microsoft's G723.1 codec, speex 8k is using more than 20% cpu bandwidth. Does anyone know what is the best version of Speex to "beat" the Microsoft's G723.1's on CPU bandwidth usage? Does Speex have MMX-enabled codes? thanks very