Displaying 20 results from an estimated 300 matches similar to: "echo cancellation input/output delay"
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
2009 Mar 11
1
frame_size parameter
Hi Jean,
Thank you for your reply.
Ok... I'm gonna use 'samples per channel' everywhere I see 'samples'...
but what about the 'speex_echo_playback' function ?
it does the following loop:
...
for (i=0;i<st->frame_size;i++)
st->play_buf[st->play_buf_pos+i] = play[i];
...
So... if frame size is 'samples per channel' it will copy only half the
2007 Jun 26
2
Residual Echo Suppression by the Preprocessor
What is the current status of the residual echo suppressor in the
preprocessor?
I ask this because I have occasional problems with the AEC, in which it
fails to cancel echo. I think the problems have to do with samples being
dropped by the audio IO system, which is effectively impossible to
detect and counteract reliably.
A colleague recommended using an echo suppression technique (which he
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
2009 Mar 17
1
VAD speex 1.2rc1
My data is speech sampled as pcm mono 32khz.
I want to use vad for regulating the agc gain mechanism.
So... if voice is not detected I just reduce the agc value
in order to not amplify the 'silence' otherwise we just
increase the agc value if it is below the minimum.
Thanks,
Daniel
----- Original Message -----
De: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca>
Para: danflu at
2009 Jan 30
1
echo_cancellation_api
Please,
I'm looking at speex rc1 echo_cancellation API docs and I
found there is now a funcion for doing decorrelation:
void speex_decorrelate(
SpeexDecorrState * st,
const spx_int16_t * in,
spx_int16_t * out,
int strength)
How does it fit to the speex_echo_cancellation function ?
When removing echo from multiple channels I need to
decorrelate the input mic first and
2011 Jan 10
1
AEC seems to distort voice
Hi,
I've set up speex AEC in our application. The echo's seem to be
canceling, but the captured voice is distorted somehow. It sounds to me
like low and/or high frequencies are removed. This happens even if I set
my playback(echo) data to only zero's.
Is this "normal" for the AEC? As far as I understand, if I send 0's as
playback/echo data, the resulting data should be
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Hello all,
I am trying out the echo cancellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end
2009 Jan 26
2
speex_echo_cancel, please help!
Hello,
Need some help using the speex_echo_cancel.
I've read the documentation about the
speex_echo_cancellation function:
speex_echo_cancellation(echo_state, input_frame, echo_frame,
output_frame);
(in) echo_state => speex internal state.
(in) input_frame => audio captured by mic.
(in) echo_frame => the signal that was played in the
speaker.
(out) output_frame => the
2012 Aug 26
1
stereo usage of the echo canceler
Hello all.
A few questions on using speex's echo cancellation, for clarifying:
1) I assume that the echo_frame in this method:
speex_echo_playback(echo_state, echo_frame)
is just raw "pcm_s16le" type bits/data? I'm a bit new to all this...
2) I assume from this thread:
http://lists.xiph.org/pipermail/speex-dev/2009-March/007151.html
that speex_echo_playback and
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Thank you for you quick reply, Jean-Marc.
I have just used a human voice to replace the sine wave, but the result is like a broken voice after tens of seconds. Do you have some sample voice in .sw that I can test with? I want to have one set or a few sets of sample voice that work for my understanding and debugging.
This is the output from echo_diagnostic.m in my human voice test:
Far end to
2007 Jun 26
0
Residual Echo Suppression by the Preprocessor
The residual echo suppression is supposed to be working decently well
now. However, it's not designed to counter the effects of samples being
dropped off the soundcard. You'll just need to fix that problem for real.
Jean-Marc
Coffey, Michael a ?crit :
> What is the current status of the residual echo suppressor in the
> preprocessor?
>
> I ask this because I have occasional
2009 Mar 10
0
frame_size parameter
In stereo mode, you need to use the init_mc() call and consider the
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).
>
>
>
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?
2009 May 26
0
Hi, I've got 2 problems about Speex
Hello! I hope this Email is still available.
My goal is to cancel the echo caused by the client's mic and speaker through the Internet, which is also the aim of Speex.
I have read the manual and the api reference, but still have some problems about the usage.
1. about function speex_echo_cancellation(echo_state, input_frame, echo_frame, output_frame);
Parameters (input_frame,
2004 Aug 06
0
echo cancel
> 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?
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:
>
>
2006 May 11
0
Echo Canceller Memory Usage, Frame Size
(from thread Re: [Speex-dev] Speex echo canceller on TI C55 DSP, but this is
a more general topic)
>> With these changes, the link was successful, using testecho.c with some
>> modifications for the C55 environment. The code and data memory
>> requirements were a lot more than I had hoped (>20kbytes of dynamic data
>> memory for block size=128, tail length = 1024),
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
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
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output