Displaying 20 results from an estimated 10000 matches similar to: "AEC question"
2009 Dec 16
1
AEC Troubles
Hello,
We are experiencing a few problems with Speex AEC. We are using it to
process audio data on a real time stream over IP with Speex codec (frame
size = 320).
We initialize the echo state like this :
SpeexEchoState * echo_state;
echo_state = speex_echo_state_init(320,512);
int sr = 16000;
speex_echo_ctl(echo_state, SPEEX_ECHO_SET_SAMPLING_RATE,&sr);
We are not really sure about
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
2010 Feb 09
1
Stereo AEC
Hi,
Can anybody show me how to enable stereo AEC, I tried with the
following code and the result is bad, degraded output.
Init:
ec_state = speex_echo_state_init_mc(frame_size, aec_tail, 2, 2);
speex_echo_ctl(ec_state, SPEEX_ECHO_SET_SAMPLING_RATE, &sample_rate);
preprocess_state_left = speex_preprocess_state_init(frame_size, sample_rate);
preprocess_state_right =
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
2005 Dec 12
1
AEC params
Hi:
I have been trying to test the speex AEC by playing a
voice sample (pre-recorded) as a echo and capturing a
new voice sample and playing the pre-recorded one, for
reference. [Sampling rate 8 KHz, frame size 64]
For some reason, I dont see any removal of echo. Does
anybody have a idea of * Testing the AEC in some other
mechanism
or
* Getting some sample files for testing AEC
Thanks
Su
---
2006 Oct 24
1
fixed point AEC
Thanks Jean, I missed that detail.
I have a few more compile errors if you could help me with it =>
In function speex_echo_state_init in mdf.c I am getting error: "undefined reference to exp". I don't see a fixed point implementation of "exp". Can you point me to the correct files.
I am using the following files from speex 1.2 beta1 =>
mdf.c,
2005 Aug 25
1
AEC in wideband mode
Hi!
In a message posted on May 31 Jean-Marc wrote in a topic about AEC:
> - set sampling rate to 8 kHz (at least for now)
Does it mean that echo cancellation algorithm won't work in wideband
mode? I can't get aec to work well in my application and I am
wondering whether it's not a matter of using wideband instead of
(preferred?) narrowband mode?
Thanks in advance for any
2008 Jun 03
3
Stereo AEC, transition to Git
Hi,
Two related news here. First, I've merged in support for stereo (or more
channels) acoustic echo cancellation in mainline. The standard AEC
remains the same, but I added a speex_echo_state_init_mc() call that
takes the number of speakers and microphones.
Now, one of the consequence of this new work is that by merging this
work into the main tree, I had to do things in git that svn just
2006 Oct 03
2
speex-1.2beta1 AEC garbles up audio unless compiled with --enable-fixed-point
Greetings everyone,
I was about to compare AEC performance between 1.1.12 and 1.2beta1 when
I noticed something.
If I configure (and compile) speex-1.1.12 with
./configure --enable-shared=no --enable-static=yes
it compiles and works as expected: I can run a mic and speaker signal
through testecho, it runs in a reasonable amount of time (about 23 secs
for 3 minutes of audio) and I get back
2006 Oct 24
2
fixed point AEC
Analog Devices sponsored a fixed point version for AEC which was posted early this year, but it seems from the source code that the fft routines are still in floating point. Is the port still not complete or am I missing something? Has anyone out there ported speex AEC on RISC architecture? Please let me know.
Thanks in advance,
-Deepa
-------------- next part --------------
An HTML
2006 Oct 04
2
speex-1.2beta1 AEC garbles up audio unless compiled with --enable-fixed-point
I'll try to make some shorter samples later, but for now here are the
ones I have tried with:
http://www.surfnonstop.com/~bandit/speex/1.2beta1_AEC_garble/
The original recordings are in mic.raw and spk.raw.
Jean-Marc Valin wrote:
> You may have triggered an instability problem. Can you upload your files
> somewhere so I can have a look at them?
>
> Jean-Marc
>
> Andras
2005 Dec 12
2
AEC params
Hi:
Can anyone give some insight on:
1) As per the Speex manual, there is a mention of the
relationship between input frame and echo frame (Pg
19, Para 2). I was wondering of what would be the
ideal delay between these two frames, so that the echo
is already fed to the canceller and the echo
cancellation filter is not inefficient.
2) Corresponding to the above mentioned delay, what
filter
2010 Mar 17
1
AEC strangest behavior
On 2010-03-16 14:22, Josh Gargus wrote:
>> If more than one speaker receives the *same* signal, it doesn't
>> matter the number of speakers. It only gets tricky when the
>> speakers are playing slightly different signals (e.g. from a stereo
>> song).
>
> Does "tricky" mean that the Speex AEC won't handle such situations
> well? Or just that you
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
2010 Mar 15
5
AEC strangest behavior
If more than one speaker receives the *same* signal, it doesn't matter the
number of speakers. It only gets tricky when the speakers are playing slightly
different signals (e.g. from a stereo song).
Jean-Marc
Quoting Greger Burman <greger at mobile-robotics.com>:
> One thing I can think of is if you are using two or more speakers. If the
> speakers are not at the exact same
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!
2005 Dec 10
3
AEC params
Hi:
By 'no success', I mean result gets worse in terms
that, there comes in a shrill noise with high gain and
also *no* attenuation of the echo.
I am trying to validate the DC offset part. But can
you please feed some light on how does the DC offset
matter for AEC. As I have already mentioned, I tried
adding silence (from 2 ms to 10 ms) in the start of
the reference signal. This is for
2006 Jun 07
7
AEC frame size
?
hi all,
i am using the Acoustic Echo Cancellation from "Speex 1.1.12 version" in my VOIP application. Is it that the frame length to be chosen should always be 20ms or can i have flexibility in chosing the frame lenght?
on what parameters does the frame length choise depends?
thank you all,
Shri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 16
3
AEC on a TI C6x - has no effect
> I followed your advice on running the trivial case. The float version
> started cancelling sounds out within a second. The fixed point
> version also worked, but took a little longer before the effect was
> noticeable. Since I now realized the fixed point version might need a
> little more tweaking than the float version, I started modifying some
> things and ended up with the
2010 Mar 15
3
AEC strangest behavior
Hello.
I have the following situation. AEC is used in network chat software
over DirectSound API. Echo and reference signals are almost aligned
(delay is no more than 30ms). When echo is emulated in notebook
(built-in speakers + mic) everything goes fine and echo is cancelled.
But when configuration includes stand-alone speakers and mic no echo is
removed. Audio is in 22050 hz at 16 bit