search for: filter_length

Displaying 16 results from an estimated 16 matches for "filter_length".

2009 Dec 16
1
Clarification of the AEC parameters
Hi, I would like to have some more information about the parameter of speex_echo_state_init. I have a clear idea of the importance of the filter_length in the echo cancellation, what it is more obscure for me is the role of frame_size and how its value affect the algorithm. Let use, for example, frame_size = 400, would I obtain the same result of using frame_size = 200 but with half method call? Is it this value important for obtaining a smaller t...
2004 Aug 06
2
echo cancel
Hello, I would like 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 uns...
2009 Mar 10
2
frame_size parameter
Hi, I'm using the echo cancellation api and I would like to clarify the 'frame_size' parameter used in speex_echo_state_init(frame_size,filter_length). In the 'docs' it says: "...where frame_size is the amount of data (in samples)you want to process at once..." So... here are my questions: if I use stereo input/output do I have to put the samples doubled ? For example... if I'm using 100 ms on mono 8khz I just pass 800...
2009 Mar 11
1
frame_size parameter
...20 ms frames are a bad > idea. > > Jean-Marc > > danflu at uninet.com.br a ?crit : > >> Hi, >> >> I'm using the echo cancellation api and I would like to >> clarify the 'frame_size' parameter used in >> speex_echo_state_init(frame_size,filter_length). >> >> >> In the 'docs' it says: >> >> "...where frame_size is the amount of data (in samples)you >> want to process at once..." >> >> So... here are my questions: >> >> if I use stereo input/output do I have to put the...
2006 May 08
5
Speex echo canceller on TI C55 DSP
Hi Jim, I've just been made aware of these problems (look for the thread "speex echo cancellation limitations"). It's on my short-term TODO list. > If fftwrap.c, I ifdefed out the spx_fft_float and spx_ifft_float routines, > because there were not used and required smallft.c (which is not so small at > all) to be added to the build. Right, need to cleanup that
2004 Aug 06
0
echo cancel
...711? If by "used with other codecs", you mean that you can use the result as input to any codec you like, the answer is yes. > Somebody could send me some documentation or sample, or explain the next > functions: > > SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length); frame size is the number of samples you 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, yo...
2010 Jun 15
2
AEC init crashes
Hello, I've just caught a strange crash in speex_echo_state_init routine. It happened only on one WinXP machine, while on others using XP, Vista and 7 everything is fine. Crash occures in mdf.c line 434: st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); Got any ideas or should I provide more information of the OS? Thanks a lot!
2006 May 11
0
Echo Canceller Memory Usage, Frame Size
...dea to use it (that's what fft_wrap is for). Also, > given that the memory use is almost directly proportional to the tail > length, reducing that one to 40 ms will make a huge difference. The overall allocated memory usage of the echo canceler is, in bytes: 4*frame_size *(27 + 5*ceiling(filter_length/frame_size)) + C Where C = 420 on a TI C55 DSP (16 bit machine), and C = 760 on a TI C64 DSP (32 bit machine). Where the tail length is an integer multiple of the frame size, this reduces to: 108*frame_size + 20*filter_length. So the memory usage is a much stronger function of the frame length...
2007 Apr 25
0
echo cancellation on Blackfin DSK
...fer_calc; speex_bits_reset(&g_Bits); // Encode the frame speex_encode_int(g_pvEnc, (spx_int16_t *)in_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_buffe...
2009 Mar 04
1
echo cancellation input/output delay
.... It is important that, at any time, any echo that is present in the input has already been sent to the echo canceller as echo_frame. ... "; All I'm doing in the echo cancellation process is initializing it once with a call to : SpeexEchoState* speex_echo_state_init(int frame_size, int filter_length) and calling speex_echo_cancellation(m_echoState, rec, play, out) to remove the far-end echo from the input signal. So here is my question: if the first sample in the rec buffer refers to a guiven time 't' the first sample in the play buffer is supposed to refer to a guiven time 't...
2009 Mar 10
0
frame_size parameter
...number of samples *per channel*. Also, more than 20 ms frames are a bad idea. Jean-Marc danflu at uninet.com.br a ?crit : > Hi, > > I'm using the echo cancellation api and I would like to > clarify the 'frame_size' parameter used in > speex_echo_state_init(frame_size,filter_length). > > > In the 'docs' it says: > > "...where frame_size is the amount of data (in samples)you > want to process at once..." > > So... here are my questions: > > if I use stereo input/output do I have to put the samples > doubled ? > For exa...
2010 Jun 15
0
AEC init crashes
Sorry, I've forgot to mention init params: Frame_size is 441 samples and filter_length is 4096. ..don't think it makes any sense though.. Regards, Anton A. Shpakovsky From: speex-dev-bounces at xiph.org [mailto:speex-dev-bounces at xiph.org] On Behalf Of Anton A. Shpakovsky Sent: Tuesday, June 15, 2010 4:15 PM To: speex-dev at xiph.org Subject: [Speex-dev] AEC init cras...
2014 Sep 02
0
Speex_echo_cancellation() always same output
Hi all, I have been trying to impelement echo cancellation on STM32F4 Discovery board (having ARM based uC).In my project, I simply initialized the echo_state by speex_echo_state_init() by using frame_size 160, filter_length 800 (at 8kHz Sampling rate.) Then, I simply used speex_echo_cancellation() function in where i am getting sound. However, I have recently realised that output_frame has been always same without any relation with input_frame and echo_frame. What can be wrong in my project? Any help will be apprecia...
2004 Aug 25
3
FW: Echo Cancellation
Hello, I am testing speex 1.1.6's echo canceller. I am using testecho.c, with a few modifications to get it to run on Windows. My problem is that I am unable to get the echo cancellation to work correctly. I am working on an audio conferencing software, and one issue we have is sometimes the microphone picks up what is being played through the headset, resulting in an echo of the other
2008 Mar 29
0
GCC/ELF Visibility patch
...0, 1); Index: libspeex/mdf.c =================================================================== --- libspeex/mdf.c (revision 14645) +++ libspeex/mdf.c (working copy) @@ -378,7 +378,7 @@ #endif /** Creates a new echo canceller state */ -SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) +EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) { int i,N,M; SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); @@ -495,7 +495,7 @@ } /** Resets echo canceller state */ -void speex_echo_state_reset(SpeexEchoState *st) +EXPORT v...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...0, 1); Index: libspeex/mdf.c =================================================================== --- libspeex/mdf.c (revision 14645) +++ libspeex/mdf.c (working copy) @@ -378,7 +378,7 @@ #endif /** Creates a new echo canceller state */ -SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) +EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) { int i,N,M; SpeexEchoState *st = (SpeexEchoState *)speex_alloc(sizeof(SpeexEchoState)); @@ -495,7 +495,7 @@ } /** Resets echo canceller state */ -void speex_echo_state_reset(SpeexEchoState *st) +EXPORT v...