Displaying 20 results from an estimated 1000 matches similar to: "unsuccessful speex_echo_cancel() usage"
2006 Dec 05
2
problem with echo cancellation
Hello Jean-Marc,
I solved the variable delay problem, but I still have trouble with
speex_echo_cancel(). When i try testecho.c with clean speech for far-end input
and same speech with attenuation, a bit of reverb and 50-150 ms delay, all this
done in sound editor, for mic input, i get 5-8 db attenuation.
But when i use the same speech played and recorded for mic input, i see about 5
db of
2006 Dec 05
0
problems with speex_echo_cancel()
Hello Jean-Marc,
I solved the variable delay problem, but I still have trouble with
speex_echo_cancel(). When i try testecho.c with clean speech for far-end input
and same speech with attenuation, a bit of reverb and 50-150 ms delay, all this
done in sound editor, for mic input, i get 5-8 db attenuation.
But when i use the same speech played and recorded for mic input, i see about 5
db of
2006 Dec 05
0
problem with echo cancellation
Hi Julia,
Version 1.2-beta1 has a bug in the echo canceller. Try either svn or
1.1.12 -- or apply this patch to 1.2beta1:
https://trac.xiph.org/changeset/11882
Jean-Marc
julia rg a ?crit :
> Hello Jean-Marc,
>
>
>
> I solved the variable delay problem, but I still have trouble with
> speex_echo_cancel(). When i try testecho.c with clean speech for far-end input
> and
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 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 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 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 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 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
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
2005 Jun 02
3
trouble getting speex_echo_cancel() to work
> - set sampling rate to 8 kHz (at least for now)
> - make sure the far end signal in the playback signal is always a bit in
> advance (never late) compared to the mic signal.
> - Set the tail length to something around 100 ms.
>
> Also, if you're using two different soundcards (as I understand) for the
> playback and the capture, you're *never* going to get echo
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 Jun 02
0
trouble getting speex_echo_cancel() to work
> I did a bit more testing, and ended up creating a set of testsamples, as
> follows:
>
> ideal.pcm => me saying "This is what I'd like to hear"
> junk.pcm => me saying "With a bit of luck, this is gone"
> mixdown.pcm => ideal.pcm, with junk.pcm started 7 ms later and 3 dB lower.
The problem with that is that it's nowhere near real
2005 May 31
2
trouble getting speex_echo_cancel() to work
I'm trying to convert my current headphones and microphone chat
application to support loudspeakers and microphone, and so I thought I'd
give speex_echo_cancel() a try.
Since my users quite frequently have other sound-producing applications
running on their computer (such as winamp), I sample 'wave' recording
device of the soundcard in addition to the microphone.
I then call
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
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.
2005 Nov 11
0
Re: aec
I wasn't implying that anyone do anything about it, just that's it a real
problem. Unfortunately, most of the crappy sound cards are the ones that
ship with your typical PC, so it's just something that people should be
aware of.
The solution is pretty straightforward -- just resample the audio data in
real time using a reference clock.
-----Original Message-----
From: Jean-Marc
2011 Feb 10
2
About Sampling Rate Correction in acoustic echo
Thank you, Andreas Engel.
I downloaded the white paper of the Fraunhofer Acoustic Echo Control.
http://www.iis.fraunhofer.de/bf/amm/download/whitepapers/Acoustic_Echo_Control-wp.pdf
It said
> "In the Fraunhofer Acoustic Echo Control, the frequency spectrum of the microphone signal is
> modified so that the undesired echo components are removed from the signal transmitted to
> the
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