Displaying 20 results from an estimated 700 matches similar to: "testecho fix"
2009 Feb 13
0
Why speex echo cancellation is not work
I have invoke the speex echo cancellation interface as follow, but it seems not work (the echo still exists, my testbed is a small udp based p2p voice chat software). Can anyone tell me why it doesn't work? or whether I have made some mistake? Thanks a lot.
#define SPEEX_SAMPLERATE 8000
#define SPEEX_NN 128
#define SPEEX_TAIL 1920
class AECHandler
{
public:
AECHandler(void){
2008 Aug 11
2
AEC stops working in 1.2-rc1?
On Mon, Aug 11, 2008 at 12:34 PM, Jean-Marc Valin <
jean-marc.valin at usherbrooke.ca> wrote:
> OK, here's what happens. There is indeed a small difference between
> beta3 and rc1, but the fundamental problem isn't there. I've attached
> plots of the speaker signal (blue) alongside the mic signal (green). You
> can see the delay is in the order of 1000 samples.
2007 Mar 14
1
speex
Hi,
I am using speex-1.2 beta1 version. When I am using sample files from
http://www.surfnonstop.com/~bandit/speex/echocard1/ ,example 6, as input
to mdf through testecho the output is fine
However when I am recording the signals in echocancel.cxx in
OpalEchoCanceler::ReceivedPacket taking speaker signal from echo_buf and
mike signal from ref_buf, echo cancellation is not affective.
Can
2007 Mar 14
0
Re: speex
> I am using speex-1.2 beta1 version. When I am using sample files from
> http://www.surfnonstop.com/~bandit/speex/echocard1/ ,example 6, as input
> to mdf through testecho the output is fine
That's a good start indeed.
> However when I am recording the signals in echocancel.cxx in
> OpalEchoCanceler::ReceivedPacket taking speaker signal from echo_buf and
> mike signal
2008 Aug 09
2
AEC stops working in 1.2-rc1?
On Sat, Aug 9, 2008 at 12:59 PM, Jean-Marc Valin <
jean-marc.valin at usherbrooke.ca> wrote:
> Hi Benny,
>
> Can you send me your pair of testecho input files that work well with
> beta3 and not with rc1? I'll have a look.
>
>
Thanks for the help. The files are on their way now, the upload will take
few more minutes to complete. In the mean time let me explain more
2008 Oct 28
0
Question about output of testecho.c
Hi all,
I'm currently testing out the speex echo canceller to determine if it is
suitable for use in a client's product. I have a few questions regarding
problems that I'm having and I would appreciate it if anyone could help
me out.
1. I provide to .wav files as arguments to testecho and the output
generated always seems to be 44100 Hz even though the sampling rate in
2005 Nov 06
2
Re: aec
Thanks for alerting me to the new changes. I just
tried the latest code from SVN, but unfortunately I
still have just about the same results. The estimated
echo that gets subtracted from the actual echo is such
a small signal that it doesn't really result in any
noticeable echo attenuation.
I currently have my filter size set to 2 seconds even
though the echo in my microphone file is only
2005 Nov 09
2
Re: aec
I ran some further tests on mdf and here are the
results:
1. reduced tail length to 100ms, aligned mic and
speaker signals to within 10ms - almost no echo
attenuation
2. aligned mic and speaker signals to within 5 samples
- still almost no echo attenuation
3. ran testecho using the same file for mic and
speaker - very good echo cancellation (of course this
is expected, but I needed to do a sanity
2005 Nov 03
2
Re: aec
I've tried some further debugging to see what mdf is
actually doing. Instead of sending:
tmp_out = (float)ref[i] - st->y[i+st->frame_size]
to the output, I just sent
st->y[i+st->frame_size]
to see what was being subtracted from the microphone
input. When I open this in Audacity, I see a very
small signal at about -40dBm. The actual echo in my
sample has a power closer to -20dBm.
2005 Nov 09
1
Re: aec
I'm pretty much sure of it. When I test inverting the
inputs, my output is pretty much the same as my
speaker signal. Whereas the way that I normally test
the output is my mic signal with very little
attenuation.
If you are interested I can send my test files; they
are about 94KB each.
-Jason
--- Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>
wrote:
> Are you sure you're
2008 Aug 09
2
AEC stops working in 1.2-rc1?
Hi Jean-Marc,
I tried with both testecho and my test program, and for some reason it just
doesn't cancel any echoes with the 1.2-rc1. The testecho from beta3 binaries
works fine, and also if I replaced mdf.c in 1.2-rc1 with mdf.c from beta3
and use my test program, it will work again. This happens for both 8KHz and
16KHz. Any ideas?
I could upload the test samples and results if needed.
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
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 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
2007 Jan 22
2
Speex Options
Hi all,
I have been trying to implement audio echo cancellation using mdf.c from
opal-2.2.2. Using testecho.c the output obtained is not satisfactory. It
is cancelling the far end signal instead of the near end signal as per
requirement. I have been moving in circles figuring how to approach the
problem. Is there something wrong with the mdf that I am using?
I would be really thankful if
2005 Nov 10
2
Re: aec
Had a try. The reason why a simple delay is not that good is mainly due
to the initialization of the filter parameter that still takes a few
seconds (if they are perfectly in sync, you sort of get lucky).
Otherwise, you real recording seems to have something odd in it. Are you
sampling from a different card then the one that's playing the sound? or
maybe the mic (or something else) in the room
2008 Sep 07
1
Echo cancelling results
Hi,
I wanted to play around with the echo canceller so I tried the testecho
program.
As speaker sound I fed it with a 440 Hz sine wave, and as mic with a 550
Hz + 440 Hz sine waves sound (but the 440 Hz component half the amplitude).
I kind of expected to get a somewhat clean 550 Hz sine out, but it
doesn't seem to work that way.
Are there better samples I can use with testecho to see
2006 Oct 27
2
Echo Canceller trouble in 1.2beta1
Hi Folks,
I am having trouble using speex_echo_cancel. As a starting point, I am
using the testecho.c source code. I compiled the 1.2beta1 version. I
have not tried any other versions of speex.
The document says that the order of arguments to Speex_echo_cancel is
(echo_state, input_frame, echo_frame, output_frame, residue) where
"input_frame" is as captured from mic and
2007 Feb 09
1
Speex Options
When you say inverted, do you mean
a) input and output exchanged with each other,
or
b) input or output having changed sign numerically (e.g. multiplied by -1)?
Andras
Jean-Marc Valin wrote:
> Make sure that:
>
> 1) You're using svn head, which has many improvements
> 2) The AEC inputs aren't inverted
> 3) The delay between the near end and far end signals isn't too
2006 Jul 19
2
echo cancellation seg faults
Probably the level of your signal is too low and/or you're just not
letting it time to adapt.
Jean-Marc
Le mercredi 19 juillet 2006 ? 19:00 -0400, ac2491@columbia.edu a ?crit :
> On closer looks and debugging I always end up in
>
> speex_echo_cancel function with comment
> /* Temporary adaption rate if filter is not adapted correctly */
>
>
> Does this give any clue