Displaying 20 results from an estimated 3000 matches similar to: "SPEEX_PREPROCESS_SET_ECHO_STATE produces heap corruption"
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.
2010 Jun 28
1
ACE does not work for me at all.
Hello, all.
1) ACE does not work for me
I am in a voip project using Speex, failed to have hte Speex ACE work. here
is how I initialize it:
/**
* Configurations :
* #define BITS_PER_SAMPLE (16)
* #define SAMPLE_RATE (8000)
* #define CHANNEL_NB (1)
* #define DURATION (20)
* SPEEX_MODEID_NB
*/
_eco_state = speex_echo_state_init(_encframe_size, 10*_encframe_size);
speex_echo_ctl(_eco_state,
2008 Aug 23
1
Echo canceller
I am using 'portaudio' and 'speex' to implement a speech audio
capture/playback.
Preprocess works fine but not the echo canceller (associated with
preprocessor).
I have read 'testecho.c' but it didn't help me.
What I am doing bad? This is my implementation:
One thread to capture and playback, both are different functions called in
different times directly from
2007 Jun 26
2
Residual Echo Suppression by the Preprocessor
What is the current status of the residual echo suppressor in the
preprocessor?
I ask this because I have occasional problems with the AEC, in which it
fails to cancel echo. I think the problems have to do with samples being
dropped by the audio IO system, which is effectively impossible to
detect and counteract reliably.
A colleague recommended using an echo suppression technique (which he
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,
2006 Jan 31
0
About echo cancelling
There were little changes when I activate "echo cancel" without AGC.
And activating "echo cancel" with AGC results poor voice quality.
The relationship between input frame and echo frame is written to "very important" in SpeeX 1.1.11.1 manual.
And I use "previous decoded data" for echo frame. <<<<---- no problem???
I show you again my code
2007 Jun 26
0
Residual Echo Suppression by the Preprocessor
The residual echo suppression is supposed to be working decently well
now. However, it's not designed to counter the effects of samples being
dropped off the soundcard. You'll just need to fix that problem for real.
Jean-Marc
Coffey, Michael a ?crit :
> What is the current status of the residual echo suppressor in the
> preprocessor?
>
> I ask this because I have occasional
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
2006 Jan 25
1
About echo cancelling
Hi.
I've implemented "echo cancel" to voip project.
But it doesn't work well . (I cannot feel the enhancement with activated AGC)
My encode settings :
1. frame size : 320 bytes.
2. sampling rate : 16000 Hz (WB)
3. mono
echo state initialized like this :
echo_state = speex_echo_state_init(framesize, framesize*16);
and befor encode :
speex_echo_cancel(echo_state,
2007 Sep 12
0
not hearing the starts of words when encoding
Hello all. I am able to programmatically decode speex just fine (playing
others' encodings), but my encoding eats the beginning of words. If I encode
a word that gradually increases in volume, like "wonderful", I hear
"nderful", but if I encode something percussive like "beep" I hear almost
all of it. It's as if the modeller does not detect the start of a
2010 Feb 09
1
Stereo AEC
Hi,
Can anybody show me how to enable stereo AEC, I tried with the
following code and the result is bad, degraded output.
Init:
ec_state = speex_echo_state_init_mc(frame_size, aec_tail, 2, 2);
speex_echo_ctl(ec_state, SPEEX_ECHO_SET_SAMPLING_RATE, &sample_rate);
preprocess_state_left = speex_preprocess_state_init(frame_size, sample_rate);
preprocess_state_right =
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
2010 Feb 10
0
Speex-dev Digest, Vol 69, Issue 8
If the left and right channels are processed separately as you do,
the parameter Mic-Number in speex_echo_state_init_mc should be 1, not 2
On Wed, Feb 10, 2010 at 4:00 AM, <speex-dev-request at xiph.org> wrote:
> Send Speex-dev mailing list submissions to
> speex-dev at xiph.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2009 Feb 13
0
Why speex echo cancellation is not work
I have invoke the speex echo cancellation interface as follow, but it seems not work (the echo still exists, my testbed is a small udp based p2p voice chat software). Can anyone tell me why it doesn't work? or whether I have made some mistake? Thanks a lot.
#define SPEEX_SAMPLERATE 8000
#define SPEEX_NN 128
#define SPEEX_TAIL 1920
class AECHandler
{
public:
AECHandler(void){
2005 Sep 03
2
Library export file for Win32 (patch)
This patch will export new speex functions in the generated library, such
as speex_encode_int as well as the preprocessor, echo-cancellation and
jitterbuffers. The ordinals used matches the 1.1.6 release from the
speex.org website, so any new library created with this def file should be
binary compatible with that one.
-------------- next part --------------
Index: speex.def
2005 Oct 11
2
echo cancellation
Hi!
I want to use speex for echo cancellation in my program, but I have bad
results.
I will explain what my program does. it is a client-server application.
I run a server in room A and a client in room B. the client sends some
voice to the server and the server plays it on loudspeakers. I run another
server in room B and connects to it from room A using the same application
that runs
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
2008 Mar 29
0
GCC/ELF Visibility patch
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility
information to all symbols exported from libspeex.so and libspeexdsp.so.
It includes a configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
Hi,
I've attached a patch against SVN r14645 which adds GCC visibility information
to all symbols exported from libspeex.so and libspeexdsp.so. It includes a
configure.ac change to test that both the compiler flags and
__attribute__((visibility)) works, and if so will
#define EXPORT __attribute__((visibility("default")))
and if not
#define EXPORT
I've attached a diff output
2007 Apr 02
1
Problems with stereo data
Hi all,
I have a problem when I am encoding (or decoding) stereo audio.
With mono data, things are fine and everything works without any problems.
When I try to decode stereo data, all I get is a static sound - similar to that of a radio not tuned to any specific station. I wonder what might be wrong?
Below is the code, first, of the encoder and next that of the decoder. Any information or