Displaying 20 results from an estimated 900 matches similar to: "SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption"
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 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,
2012 Aug 26
1
stereo usage of the echo canceler
Hello all.
A few questions on using speex's echo cancellation, for clarifying:
1) I assume that the echo_frame in this method:
speex_echo_playback(echo_state, echo_frame)
is just raw "pcm_s16le" type bits/data? I'm a bit new to all this...
2) I assume from this thread:
http://lists.xiph.org/pipermail/speex-dev/2009-March/007151.html
that speex_echo_playback and
2006 Nov 02
2
echo cancellation on PDA
2006/11/2, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>:
> > Today I tried speex echo cancellation on my VoIP application running
> > on a windows mobile based PDA (OMAP1510 168MHz). The result is
> > disappointing: it takes 150-250 ms to do echo cancellation (by calling
> > speex_echo_capture() ) for a 20 ms frame!
>
> Are you by any chance using an insane
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.
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
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
2010 Jul 20
0
[SPAM] [BombData][alltestmode] Re: Speex Echo Cancellation
Anton A. Shpakovsky <saa <at> tomsksoft.com> writes:
>
> 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
2011 Sep 29
1
Nothing but rhythm was left after encoding and decoding by speex on ipad(XCode 4.1 48110)
hi,
I tried to encode the voice data read from AudioQueue and then decode
it. There was nothing but rhythm left, it sounds like robot's voice,
but I cannot recognize any word.
The app was compiled by XCode 4.1. Speex 1.0.5 and 1.2.rc1 gave the
same result. When compiling speex 1.0.5, I added them to Xcode
project, set the Header Search Paths, then compiled successfully. When
compiling speex
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
2010 Jul 20
1
[BombData][alltestmode] Re: [SPAM] [BombData][alltestmode] Re: Speex EchoCancellation
Well, I'm not a professional in AEC theory, but what I've mentioned is:
speex_echo_state_init(20, 320*10) - frame size should correspond to
20ms. At your sampling rate (16000hz) is should be 16K*0.02 = 320. The
same I can notice about echo tail. 100ms: 16000*0.3 = 4800, not 3200 as
you has. But that's not crucial I think. Just wanna you get the point.
"Internally,
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
2007 May 01
2
Sending speex over a network
I am trying to compile speexclient.c. I downloaded all the files to ~/speex-
1.2beta1/include
When I call ./compile.sh
I get the following errors,
speexclient.c: In function 'main':
speexclient.c:164: error: 'SPEEX_PREPROCESS_SET_ECHO_STATE' undeclared
(first use in this function)
speexclient.c:164: error: (Each undeclared identifier is reported only once
speexclient.c:164:
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
2006 Nov 02
1
echo cancellation on PDA
I did the test on another PDA which runs XScale 416Mhz CPU, the EAC
arithmetic could be done in 1ms, but for the previous PDA (TI OMAP
168Mhz), it take more than 100ms!
Though EAC could run in time on the new PDA, it did no help to cancel
the echo, here is my test scenario:
Init echo_state:
echo_state=speex_echo_state_init(160,1120);
int tmp=8000;
2009 Oct 01
0
SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption
>jesus:
> Now I see that it happens when I specify a framesize in
> speex_echo_state_init greater than the one used in
> speex_preprocess_state_init.
>
> Next combination works:
> codec framesize = 160
> preprocessor framesize = 160
> eco framesize = 160
>
>
> Next combination DOESNT work (produces heap corruption):
> codec framesize = 160
>
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
2006 Nov 02
2
echo cancellation on PDA
Hello all,
Today I tried speex echo cancellation on my VoIP application running
on a windows mobile based PDA (OMAP1510 168MHz). The result is
disappointing: it takes 150-250 ms to do echo cancellation (by calling
speex_echo_capture() ) for a 20 ms frame!
I've defined the FIXED_POINT macro. Is there anyway to do some optimization?
Nick
2006 Nov 22
1
how does the echo canceller deal with playback/capture delays?
hello jean-marc and everybody,
I keep getting no results when trying to use speex_echo_capture,
speex_echo_playback and speex_echo_cancel in a multi-threaded application, as
suggested in the manual. Though, the cancellation works properly when i use a
file with human voice for far-end input and the same file with echo added in
SoundForge for mic input. When i try to insert and remove silence
2009 Jun 28
1
TI Davinci DM Serias
Hi, I am attempting to port the speex library to TI Davinci DM35x Family.
My questions are:
1. What is the best ./configure option for it? Is it ARM5e / ARM4 ?
when I tried these two the during the compiled a warning
"I suppose you can have a [ARM4/ARM5E/Blackfin] that has float
instructions?"
2. is there any available demos for the echo cancellation because I can get
it