search for: speex_echo_cancel

Displaying 20 results from an estimated 130 matches for "speex_echo_cancel".

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 speex_echo_cancel() as speex_echo_cancel(st, data sampled from micro...
2005 May 31
0
trouble getting speex_echo_cancel() to work
...se the playback and capture need to be *exactly* in sync. Jean-Marc Le mardi 31 mai 2005 ? 23:38 +0200, Thorvald Natvig a ?crit : > 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 speex_echo_cancel() as > > speex...
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 pla...
2006 Dec 05
1
unsuccessful speex_echo_cancel() usage
Hello Jean-Marc and all, I?ve got a problem with speex_echo_cancel usage. I only managed to get an attenuation of 5-8 db using testecho.c and it depends heavily on the playback/capture delay. I used clear speech as far-end input and same speech with a bit of reverb, attenuation and delay as mic nput. I also tried using played and recorded speech for mic input. I t...
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 atten...
2014 Sep 02
0
Speex_echo_cancellation() always same output
Hi all, I have been trying to impelement echo cancellation on STM32F4 Discovery board (having ARM based uC).In my project, I simply initialized the echo_state by speex_echo_state_init() by using frame_size 160, filter_length 800 (at 8kHz Sampling rate.) Then, I simply used speex_echo_cancellation() function in where i am getting sound. However, I have recently realised that output_frame has been always same without any relation with input_frame and echo_frame. What can be wrong in my project? Any help will be appreciated. Best regards, -------------- next part ---------...
2006 Jun 07
7
AEC frame size
? hi all, i am using the Acoustic Echo Cancellation from "Speex 1.1.12 version" in my VOIP application. Is it that the frame length to be chosen should always be 20ms or can i have flexibility in chosing the frame lenght? on what parameters does the frame length choise depends? thank you all, Shri. -------------- next part -------------- An HTML attachment was scrubbed... URL:
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&quo...
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
2008 Jun 26
1
ECHO CANCELLATION
To the support team, I am getting confused while studying the manual of speex1.2 Beta 2. If audio frame capture and playback are used asynchronously then speex_echo_cancel() function is preferred that is simpler then speex_echo_cancellation() function. However when I go through the API manual, In section 5.4.4.1 It is mentioned that this function is deprecated. Please tell me the set of functions to call to initialize the echo cancellation feature. Cheers Kamr...
2009 Oct 08
1
2 weeks lost in the AEC world
...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 "minipackets" (I have also tried to pass the entire 1600 samples packet but it produces heap corruption). I play with a DELAY(in ms) over the playback buffer, and tried a lot of different tail lenght. I have not obtained any minimal result of echo cancel...
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 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...
2009 Jan 30
1
echo_cancellation_api
Please, I'm looking at speex rc1 echo_cancellation API docs and I found there is now a funcion for doing decorrelation: void speex_decorrelate( SpeexDecorrState * st, const spx_int16_t * in, spx_int16_t * out, int strength) How does it fit to the speex_echo_cancellation function ? When removing echo from multiple channels I need to decorrelate the input mic first and then put the decorrelation output in the rec parameter of speex_echo_cancellation ? I didn't get the point on how to connect these blocks together (decorrelation and echo cancellation)......
2012 Aug 26
1
stereo usage of the echo canceler
...s/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 speex_echo_capture only work with "mono" input streams/samples? Or is it the case that if I used init_mc then I could use speex_echo_cancellation and pass it stereo samples? What if I'm multi-threaded (one thread out, one thread in), is it possible to use speex_echo_cancellation in this instance? Thank you very much. -Roger- -roger-
2006 Jun 08
3
Echo canceller problem
Hello everybody. I have the same problem like you. I use ARM microcontroller too. Here is the list of all functions called by speex_echo_cancel until goes into infinite loop: speex_echo_cancel() | spx_fft | kiss_fftr | kiss_fft | kiss_fft_stride | kf_work Function kf_work looks like: static void kf_work(kiss_fft_cpx * Fout, const kiss_fft_cpx * f, const size_t fstride, int in_stride, int * factors, const kiss_fft_cfg st...
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
2007 Feb 15
1
error during make while installing Linphone-1.5.1
...or 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 speexec.c:149: warning: comparison between pointer and integer speexec.c:150: warning: passing arg 3 of `speex_preprocess' makes pointer from integer without a cast make[3]: *** [speexec.lo] Error 1 make[3]: Leaving directory `/home/umesh/IPPHONE...
2006 Oct 27
2
Echo Canceller trouble in 1.2beta1
...cho 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 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) wh...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...n 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 delay) Experiment 1: A sine wave is generated in my test program (each frame has a random frequency). And the echo cancellation function is called: speex_echo_cancellation(echo_state, input_frame, echo_frame, output_frame); where input_frame has a delay of 4560 samples compared to echo_frame (i.e. 570 ms delay). I output the output_frame to Windows Media API and playback in my speaker. The echo cancellation performs quite well (around 10% noise/echo left)....
2005 Oct 25
2
SpeexJitter and TCP/IP
...ancellation filter. I get some artifacts, the echo is removed, but you can here some metallic voices in background. Jean, in your test client you are using UDP connection and SpeexJitter to make sure UDP packets are in order. What if I use TCP/IP, do I still have to use SpeexJitter when using speex_echo_cancel ? regards hs