Displaying 20 results from an estimated 600 matches similar to: "stereo usage of the echo canceler"
2006 Sep 21
1
echo cancellation causes assertion
Hello,
i'm adding echo cancellation to my voip application, but when i call
speex_echo_capture() or speex_echo_playback() causes an assertion
failed, it seens that there is a delete in any where.
i've encapsulated echo canceller in a class that storage the state and
simply call the functions:
void EchoCanceller::Playback(short *echo_frame)
{
speex_echo_playback(echo_state,
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
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
2008 Feb 08
1
Echo Canceller on Windows Mobile
Hi Jean Marc,
We are running the speex echo canceller code on a Windows Mobile smartphone using a TI OMAP 201MHz 850. We are making voip calls and audio is working without echo canceller code. Simply adding the following 2 functions whether the echo cancellation is wired in (ie we use the output frame ) or not performance becomes terrible. Note 2 separate threads are used to handle audio.
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Hello all,
I am trying out the echo cancellation of Speex (1.2beta2) on Windows XP. I use the Windows Media API (i.e. waveInOpen, waveOutOpen etc) for playback and capture, but I cannot make echo cancellation works in my use case. Here is a description of what I tried: (the sound is in 8kHz and 16 bits per sample, the frame size is 240, tail_length is long enough to cover the far end to near end
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
2009 Jan 26
2
speex_echo_cancel, please help!
Hello,
Need some help using the speex_echo_cancel.
I've read the documentation about the
speex_echo_cancellation function:
speex_echo_cancellation(echo_state, input_frame, echo_frame,
output_frame);
(in) echo_state => speex internal state.
(in) input_frame => audio captured by mic.
(in) echo_frame => the signal that was played in the
speaker.
(out) output_frame => the
2010 Jul 20
2
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
As for me - speex_echo_cancellation is a better choise. Try using it in
capture thread instead
of those speex_echo_capture and speex_echo_playback functions.
And please, describe your problem in details. Cause the fact that you
"didn get echo cancellation"
doesn't mean you are doing smth wrong.
Regards,
Anton A. Shpakovsky
-----Original Message-----
From: speex-dev-bounces at
2006 Oct 27
2
Echo Canceller trouble in 1.2beta1
Terrific! The patch fixes my problem quite decisively.
I will want to use this with a 16K sample rate. Is it expected to work well with just another slight patch, or will we need to modify it more deeply?
Also, are there any tunable parameters besides tail length? I am wondering about the aggressiveness of adaptation and I know you are an expert in that area.
Thanks so much,
Michael
2009 Oct 08
1
2 weeks lost in the AEC world
Hi,
my VoIP system uses speex with framesize = 160 samples(20 ms) at 8khz,
sending and receiving paquets of 1600 samples(200 ms).
When I receive a packet, I buffered it (I have also tried with
speex_echo_playback) before sending to the speaker.
When I capture from microphone, I fist remove DC offset (I saw in OPAL
sources) and then I call speex_echo_cancellation for every one of the 10
2006 Oct 27
0
Echo Canceller trouble in 1.2beta1
Can you first try the svn version (or apply
https://trac.xiph.org/changeset/11882). As I mentioned in a previous
email, there's a bad bug in the 1.2beta1 echo canceller.
Jean-Marc
Coffey, Michael a ?crit :
> 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
2008 Feb 11
0
Echo Canceller on Windows Mobile
_____
From: Mohammed Sulaiman [mailto:mhh.sulaiman@talk21.com]
Sent: Monday, February 11, 2008 12:53 AM
To: Dennis Liu
Subject: RE: [Speex-dev] Echo Canceller on Windows Mobile
Hi, thanks. One question did you use these 2 functions
speex_echo_playback
speex_echo_capture
No, I didn't use them. I use my own code to buffer microphone and speaker
data.
or do you have your audio in
2007 Sep 14
0
Speex echo canceller creating some problems. No voice coming.
Hi,
I am new to speex so please redirect me to some links if the question is
repetative.
Just for testing the echo canceller performance, I have added
mdf,fftwrap,misc,kiss_fftr,kiss_fft source files to my project.
Now In my multithread application when I receive packets from mice, I calls
speex_echo_capture(echo_state, input_frame, output_frame,Youtput_frame)
with input_frame as
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
Thank you for you quick reply, Jean-Marc.
I have just used a human voice to replace the sine wave, but the result is like a broken voice after tens of seconds. Do you have some sample voice in .sw that I can test with? I want to have one set or a few sets of sample voice that work for my understanding and debugging.
This is the output from echo_diagnostic.m in my human voice test:
Far end to
2011 Apr 21
3
Acoustic echo cancellation
Simply to say, in a quiet room, you can play a impulse signal and then find it's impulse response signal from the
microphone. For example, if the delay between the impulse signal and its response signal range from 500 to
3000 cycles, you can buffer the far-end signal to 0-300 cycles and set the filter length to 4000. It is also called
to align far-end signal and near-end signal.
BTW: Speex
2009 Jan 05
2
Echo cancellation and synchronization
Hi Jean-Marc and all others!
I am having some troubles with the echo cancellation feature of speex in
a voip project. I have two threads, one for sound input and one for
sound output.
In the output thread, I call speex_echo_playback(). or every frame sent
to the sound card. In the input thread, I call speex_echo_capture() for
every frame captured from the sound card. Also, I do
2010 Sep 30
2
[SPAM] [BombData][alltestmode] Using Speex Echo Canceller
Hi Anton
Thanks for the info...
What if I use this function do I still need to sync the playback and
capture?
Assuming that the captured voice (*rec) already contains the echo which I
need to cancel out...
--------------------------------
void speex_echo_capture (SpeexEchoState *st, const spx_int16_t *rec,
spx_int16_t *out)
Parameters:
st Echo canceller state
rec signal
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,
2009 Sep 29
1
SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
Hi,
when I use preprocessor with AEC, VC++ alerts me about heap corruption.
I have protected speex_echo_playback, speex_echo_capture and
speex_preprocess_run with mutexes, to avoid echo_state being used at the
same time, but it still happens.
Any help about this ussue?
Thank you.
2011 Apr 19
1
Acoustic echo cancellation
>>>> Hi,
>>>
>>> I have a scenario in a mobile VoIP app that requires echo cancellation but
>>> is somewhat different from what's described in the docs.
>>>
>>> Audio is received from and sent to the network at 8000Hz. Each packet
>>> contains 160 samples worth a playback of 20ms.
>>>
>>> But the hardware