Displaying 20 results from an estimated 30000 matches similar to: "How to use the echocallation functions"
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 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
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 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
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
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.
2007 Feb 15
0
error during make while installing Linphone-1.5.1
Hi All,
I am getting this error during make.
please help me./
speexec.c: In function `speex_ec_process':
speexec.c:112: syntax error before "noise"
cc1: warnings being treated as errors
speexec.c:133: warning: implicit declaration of function
`speex_echo_state_reset'
speexec.c:148: warning: passing arg 5 of `speex_echo_cancel' makes
pointer from integer without a cast
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
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,
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
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
>
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 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
2006 Jul 19
0
echo cancellation seg faults
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 to the problem? I wonder why it would not
find its mirror image as an echo and do echo cancellation?
Any insight is appreciated. If you need some more data, tell me.
Thanks
-Anurag
Quoting ac2491@columbia.edu:
>
2006 Jul 19
0
echo cancellation seg faults
Hi,
I tried keeping it for a very long time and put logs there and it
always went to not adapting.
This is how I initialize speex_echo_cancel
SpeexEchoState* _echoState = speex_echo_state_init(160, 320*10);
I have 20 msecs of audio with 16bits for a sample.
If two frames are identical and are given to speex_echo_cancel for
many iterations, should I expect silence.
Thanks
-Anurag
Quoting
2009 Aug 21
0
AEC Troubles
Hi
I've been debugging and troubleshooting echo cancellation myself recently
and I have made some observations.
First of all playback and recording must be synchronized. There cannot be
any clock drift between the microphone signal and the speaker (echo) signal.
This has been said many times in the mailing list, but I will repeat it
anyway. You have to first make sure that this is not your
2006 Jul 19
2
echo cancellation seg faults
Hi,
If I pass the same ref and the echo data to the echo cancellation
API, I am expecting silence as output. I get back the original
audio data. Is this correct?
Thanks
-Anurag
Quoting ac2491@columbia.edu:
> Hi Jean,
>
> I got the earlier problem fied with correct NN and tail values.
> But
> I dont see any echo being cancelled. To the echo cancel API I am
> giving, audio
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