Displaying 20 results from an estimated 4000 matches similar to: "Re: aec"
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 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
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
2005 Nov 09
0
Re: aec
This kind of behaviour is odd. One of the reason could be the fact that
you're using a really long impulse response. Try syncing your signals
and making the tail length more in the order of 100 ms to 300 ms.
Jean-Marc
Le dimanche 06 novembre 2005 ? 21:25 -0800, Jason Harper a ?crit :
> Thanks for alerting me to the new changes. I just
> tried the latest code from SVN, but
2005 Nov 04
0
Re: aec
I've recently made changes to the AEC. Please try the code in SVN and
see if it works better.
Jean-Marc
Le jeudi 03 novembre 2005 ? 22:36 -0800, Jason Harper a ?crit :
> 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
>
2005 Nov 09
0
Re: aec
Are you sure you're not just inverting the two inputs?
Jean-Marc
On Wed, 2005-11-09 at 22:16 -0800, Jason Harper wrote:
> 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
2005 Nov 10
0
Re: aec
When I ran test 4 as originally described there is
substantial echo cancellation (but not as good as when
the files are perfectly aligned). When I invert the
inputs, there is no noticeable cancellation.
I'm using testecho with the preprocess line commented
out. Preprocess seems to work very well at cleaning
up the residual echo when mdf does its job, so I'm
just focusing on testing mdf.
2005 Nov 11
2
Re: aec
Le vendredi 11 novembre 2005 ? 01:21 -0800, Duane Storey a ?crit :
> This is a very real problem though.. I've encountered many sound cards that
> use different clocks for input and output (even on the same card!) Also, if
> you open up a sound device on windows at 8kHz, the microphone is often
> around 8100Hz, while the output is 8000Hz.. I'm not sure if there's a bug
>
2005 Nov 11
4
Re: aec
To everyone on the list: do *NOT* attempt to do echo cancellation with
signals sampled using different clocks. This will *NOT* work. Just a
0.1% difference between the two sampling rates (it's sometimes worse
than that) means that the impulse response drifts by 8 samples every
second. There's just no way to efficiently track this. Or at least no
way that doesn't involve something 100x
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.
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 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.
2006 May 02
3
Re: speex echo cancellation limitations
Hi Ted,
Thanks a lot for this analysis.
> In FLOAT_DIVU() it hangs at the following:
> while (a.m >= b.m)
> {
> e++;
> a.m >>= 1;
> }
> for the case where a and b are both zero (yes, division by zero).
> This happens from mdf.c:
True, that needs to be fixed even after I fix the rest.
> leak_estimate =
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
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 Nov 10
0
Re: aec
Thanks for taking a look. There was no motion;
however you are right about sampling from a different
card. The speaker is connected to the Sound Blaster
card, while the microphone is part of a USB webcam. I
don't think that this is likely to be too unusual a
configuration among users.
I can retry the test using a sound card microphone to
see if there is a difference. If it turns out that
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 May 08
1
Speex echo canceller on TI C55 DSP
Jean-Marc,
I have traced the second infinite loop further. When st->adapted becomes
true (mdf.c line 623), the first Yf[i] value is 4, the leak_estimate is
0xd4e, the resulting r is 3. The first value in st->Rf is 0, so e is 1, and
r is set to e>>1, or 0. A little later there is a divide by r, and there is
the hang.
It seems that the 0 in Rf[0] is the problem, but I am not
2005 Nov 11
0
Re: aec
This is a very real problem though.. I've encountered many sound cards that
use different clocks for input and output (even on the same card!) Also, if
you open up a sound device on windows at 8kHz, the microphone is often
around 8100Hz, while the output is 8000Hz.. I'm not sure if there's a bug
somewhere in some of the OS resampling algorithms, but I've seen that on
many machines.