search for: speex_echo_state_destroy

Displaying 12 results from an estimated 12 matches for "speex_echo_state_destroy".

2004 Aug 06
2
echo cancel
...ke to test the echo cancel algorithm available in unstable version 1.1.4. This echo canceller can be used with other codecs like G711? Somebody could send me some documentation or sample, or explain the next functions: SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length); void speex_echo_state_destroy(SpeexEchoState *st); void speex_echo_cancel(SpeexEchoState *st, float *ref, float *echo, float *out, float *Y); Thank you very much. Best regards. G. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a...
2007 Apr 25
0
echo cancellation on Blackfin DSK
..._left, &g_Bits); nbBits = speex_bits_write(&g_Bits, cbits, 200); speex_bits_rewind(&g_Bits); SpeexEchoState *st= speex_echo_state_init(SPEEX_FRAME_SIZE,filter_length); speex_echo_cancel(st,(spx_int16_t *)in_left,(spx_int16_t *)out_left,(spx_int16_t *)out2,NULL); speex_echo_state_destroy(st); // Decode the frame speex_decode_int(g_pvDec, &g_Bits, (spx_int16_t *)out_left); #ifdef ALWAYS_PASS_THROUGH memcpy(out_buffer_calc, in_buffer_calc, SPEEX_FRAME_SIZE*sizeof(SND_FIXED_16_TYPE)); #endif //ALWAYS_PASS_THROUGH // Mux the Speex output onto the stereo...
2007 Dec 05
1
AEC diagnistics generated files
...mpiler variable. The canceller generated aec_out.sw, aec_play.sw and aec_rec.sw and they all appear to have uneven size. Octave complains about the files which is logical as it's trying to multiply matrixes that have different dimensions. I have checked that tear-downs are made correctly and speex_echo_state_destroy() is called after the threads are stopped. Any clues, guys? Regards, Dmitry -----Original Message----- From: Dmitry Nikitin Sent: Wednesday, December 05, 2007 9:50 AM To: 'speex-dev@xiph.org' Subject: [Speex-dev] AEC diagnistics generated files Hi Guys, I am trying to incorporate the...
2010 Jun 28
1
ACE does not work for me at all.
...er->SpeexEchoCapture(record,_echooutframe); //preprocess _converter->SpeexPreprocessRun(_echooutframe); ........ } and ACE seems not work for me at all. I don't know why. the voices are the same whether I cancel echo or not,full of echos. Any help would be appreciated, thanks. 2) BTW speex_echo_state_destroy crashes if the echo state was initialized with filter length 0. _eco_state = speex_echo_state_init(_encframe_size, 0); I know it's unreasonable to make filter length 0, but crash is unacceptable, I think. -------------- next part -------------- An HTML attachment was scrubbed... URL: http:/...
2004 Aug 06
0
echo cancel
...u want to process at once. Recommended is in the order of 256 (ideally a power of 2, but other values will work). filter_length is the approximate length you want your filter to be. For example, if you want a filter that covers echo up to 100 ms at 8 kHz, you need a filter of length 800. > void speex_echo_state_destroy(SpeexEchoState *st); Just frees the stuff allocated by speex_echo_state_init. > void speex_echo_cancel(SpeexEchoState *st, float *ref, float *echo, float > *out, float *Y); ref is the signal you want to clean (usually the signal you record from your microphone). echo is the echo signal you...
2007 Dec 06
0
AEC diagnistics generated files
...mpiler variable. The canceller generated aec_out.sw, aec_play.sw and aec_rec.sw and they all appear to have uneven size. Octave complains about the files which is logical as it's trying to multiply matrixes that have different dimensions. I have checked that tear-downs are made correctly and speex_echo_state_destroy() is called after the threads are stopped. Any clues, guys? Regards, Dmitry -----Original Message----- From: Dmitry Nikitin Sent: Wednesday, December 05, 2007 9:50 AM To: 'speex-dev@xiph.org' Subject: [Speex-dev] AEC diagnistics generated files Hi Guys, I am trying to incorporate the...
2009 Feb 13
0
Why speex echo cancellation is not work
...1 = 1; //speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_AGC, &tmp1); } //FILE *echo_fd, *ref_fd, *e_fd; short echo_buf[SPEEX_NN], ref_buf[SPEEX_NN], e_buf[SPEEX_NN]; SpeexEchoState *st; SpeexPreprocessState *den; char* inputBuf; ~AECHandler(void){ speex_echo_state_destroy(this->st); speex_preprocess_state_destroy(this->den); } void HookComingSound(char* buf){ speex_echo_playback(this->st,(spx_int16_t*)buf); } void HookOutingSound(char* origin, char* &outbuf){ speex_echo_capture(this->st,(spx_int16_t*)origin,(sp...
2011 Jun 22
1
Acoustic echo cancellation
On 06/22/2011 09:30 AM, Steve Kann wrote: > Speaking of AEC (thought not quite on topic for this thread), > > Has anyone on this list played with the GIPS code that google just > open-sourced? It looks like their AEC also has code to handle > differential sample rates, though I haven't really evaluated it > thoroughly. > > There is really a lot of code in the drop ?
2005 Sep 03
2
Library export file for Win32 (patch)
...ode_request_handler @38 +speex_std_low_mode_request_handler @39 +speex_std_mode_request_handler @40 +speex_std_stereo_request_handler @41 +speex_std_vbr_quality_request_handler @42 +speex_std_vbr_request_handler @43 +speex_decode_int @44 +speex_decode_stereo_int @45 +speex_echo_cancel @46 +speex_echo_state_destroy @47 +speex_echo_state_init @48 +speex_echo_state_reset @49 +speex_encode_int @50 +speex_encode_stereo_int @51 +speex_jitter_destroy @52 +speex_jitter_get @53 +speex_jitter_get_pointer_timestamp @54 +speex_jitter_init @55 +speex_jitter_put @56 +speex_lib_get_mode @57 +speex_preprocess @58...
2008 Mar 29
0
GCC/ELF Visibility patch
...exEchoState)); @@ -495,7 +495,7 @@ } /** Resets echo canceller state */ -void speex_echo_state_reset(SpeexEchoState *st) +EXPORT void speex_echo_state_reset(SpeexEchoState *st) { int i, M, N; st->cancel_count=0; @@ -545,7 +545,7 @@ } /** Destroys an echo canceller state */ -void speex_echo_state_destroy(SpeexEchoState *st) +EXPORT void speex_echo_state_destroy(SpeexEchoState *st) { spx_fft_destroy(st->fft_table); @@ -587,7 +587,7 @@ #endif } -void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out) +EXPORT void speex_echo_capture(SpeexEchoState *st, const...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...exEchoState)); @@ -495,7 +495,7 @@ } /** Resets echo canceller state */ -void speex_echo_state_reset(SpeexEchoState *st) +EXPORT void speex_echo_state_reset(SpeexEchoState *st) { int i, M, N; st->cancel_count=0; @@ -545,7 +545,7 @@ } /** Destroys an echo canceller state */ -void speex_echo_state_destroy(SpeexEchoState *st) +EXPORT void speex_echo_state_destroy(SpeexEchoState *st) { spx_fft_destroy(st->fft_table); @@ -587,7 +587,7 @@ #endif } -void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out) +EXPORT void speex_echo_capture(SpeexEchoState *st, const...
2005 Dec 20
2
回复: Re: echo canceller
I have tested the AEC by file model,but found it doesn't work!The output file I got still had echo. And I have found several version of mdf.c,could you tell me which version I should use? Now I'm using version 1.11.1.1 and under windows there have some bugs. --- Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>??: > > > haven't got the chance to sit down and look into