search for: echo_frame

Displaying 20 results from an estimated 20 matches for "echo_frame".

2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...its 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). Experiment 2: A sine wave is generated in...
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 signal with echo removed. I'm under linux and using portaudio as sound API. My ques...
2006 Sep 21
1
echo cancellation causes assertion
...y 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, echo_frame); } void EchoCanceller::Capture(short *input_frame, short *output_frame, int* residue) { speex_echo_capture(echo_state, input_frame, output_frame, residue); } the class has been tested, and the problem is in the calls. has any body had the s...
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 speex_echo_capture only work...
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 "echo_frame... was played from the speaker." Speex_echo_cancel calls these parameters (st, ref, echo, out, Yout). The name "ref" is confusing to me, but the implementation of speex_echo_playback(...
2007 Sep 22
1
Echo Cancellation Problem -- with sound sample
...40, 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). > > > > Experiment 2...
2006 Oct 27
0
Echo Canceller trouble in 1.2beta1
...aving 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 "echo_frame... was played from > the speaker." > > Speex_echo_cancel calls these parameters (st, ref, echo, out, Yout). The > name "ref" is confusing to me, but the implementatio...
2009 May 26
0
Hi, I've got 2 problems about Speex
...le. 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, echo_frame and output_frame) refer to what kind of audio data? The format should be wav, mp3 or some other compression or uncompression formats? 2. about testecho There is a project called TestEcho. I suppose it's an example to show the users ho...
2008 Feb 08
1
Echo Canceller on Windows Mobile
...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. Playing Audio thread: Write to codec speex_echo_playback(echo_state, echo_frame); Capturing audio thread: Receive buffer speex_echo_capture(echo_state, input_frame, output_frame); We have compiled for fixed point. We are using codec buffer size of 256 bytes ie 128, 16bit samples. SpeexEchoState* iEchoState = speex_echo_state_init(ECHO_FRAME_SIZE, ECHO...
2007 Mar 05
1
Performance of the acoustic echo canceller
...nd line phone. I can hear the echo of my every word while I talks on the land line phone. I am using G.711 codec, frame_size 80 and both 1024 and 2048 tail length. The code was compiled as floating point and fixed point in the PC. But noneof them help. I made sure the the synchronization between echo_frame and input_frame was stable and the delay is consistant about 10ms. The echo return lossis around 20db but output_frame and input_frame signal is about the same. I even tried Jean-Marc's latest mdf.c from the subversion but no luck. Has anyone test the performance in any other softphones and ho...
2007 Mar 06
0
Performance of the acoustic echo canceller
...st, the echo return loss is about 20db. I guess the echo cancelleris not really actively cancelling the echo in such condition? But without the echo sppression/NLP, echo is still noticable. I used the same onboard sound card for the speaker and microphone. As far as I can tell, the delay between echo_frame and input_frame is consistent and about 10ms. I would assumethe synchronization is not a problem. And I also have some other echo recording files which has almost 0db echo return loss and about 20ms consistent delay. The EC can achieve about 10 to 15db echo return loss enhancement in this case....
2006 Oct 27
2
Echo Canceller trouble in 1.2beta1
...aving 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 "echo_frame... was played from > the speaker." > > Speex_echo_cancel calls these parameters (st, ref, echo, out, Yout). The > name "ref" is confusing to me, but the implementatio...
2007 Mar 06
0
Performance of the acoustic echo canceller
...st, the echo return loss is about 20db. I guess the echo cancelleris not really actively cancelling the echo in such condition? But without the echo sppression/NLP, echo is still noticable. I used the same onboard sound card for the speaker and microphone. As far as I can tell, the delay between echo_frame and input_frame is consistent and about 10ms. I would assumethe synchronization is not a problem. And I also have some other echo recording files which has almost 0db echo return loss and about 20ms consistent delay. The EC can achieve about 10 to 15db echo return loss enhancement in this case....
2007 Mar 06
1
Performance of the acoustic echo canceller
...the echo return loss is about 20db. I guess the echo canceller is not really actively cancelling the echo in such condition? But without the echo sppression/NLP, echo is still noticable. I used the same onboard sound card for the speaker and microphone. As far as I can tell, the delay between echo_frame and input_frame is consistent and about 10ms. I would assume the synchronization is not a problem. And I also have some other echo recording files which has almost 0db echo return loss and about 20ms consistent delay. The EC can achieve about 10 to 15db echo return loss enhancement in this case....
2007 Sep 14
0
Speex echo canceller creating some problems. No voice coming.
...e(echo_state, input_frame, output_frame,Youtput_frame) with input_frame as data received from mice(160 bytes as I am using G711 codec) and I send data out received from second argument output_frame. Also when I get packet to play from remote(far) end, I calls speex_echo_playback(echo_state, echo_frame) with arrived data. If I do not pass my data through these APIs I am getting voice on both side correctly but when I use these APIs I am getting just noise on both sides. I am getting packets on both side that is sure. The noise is not just any random noise but its in the pattern of silan...
2009 Mar 04
1
echo cancellation input/output delay
Hi, I've been reading the speex echo cancellation documentation and it says : ".... It is important that, at any time, any echo that is present in the input has already been sent to the echo canceller as echo_frame. ... "; All I'm doing in the echo cancellation process is initializing it once with a call to : SpeexEchoState* speex_echo_state_init(int frame_size, int filter_length) and calling speex_echo_cancellation(m_echoState, rec, play, out) to remove the far-end echo from the input signal....
2014 Sep 02
0
Speex_echo_cancellation() always same output
...tate 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 -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20140902/11906b98/attachment.htm
2005 Dec 10
3
AEC params
...he DC offset part. But can you please feed some light on how does the DC offset matter for AEC. As I have already mentioned, I tried adding silence (from 2 ms to 10 ms) in the start of the reference signal. This is for the condition you have mentioned about the relationship between input_frame and echo_frame in the manual (Pag 19, para 3). In that case will the DC offset matter. Thanks. Su -------------------------------------------------------- Hi: I have been trying to use speex for AEC. I have recorded two voice samples separately using audacity using the same soundcard. I reduced the gain of...
2008 Feb 11
0
Echo Canceller on Windows Mobile
...out 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. Playing Audio thread: Write to codec speex_echo_playback(echo_state, echo_frame); Capturing audio thread: Receive buffer speex_echo_capture(echo_state, input_frame, output_frame); We have compiled for fixed point. We are using codec buffer size of 256 bytes ie 128, 16bit samples. SpeexEchoState* iEchoState = speex_echo_state_init(ECHO_FRAME_SIZE, ECHO_FILTER_SIZ...
2006 Aug 14
2
AEC on a TI C6x - has no effect
...doing things correctly. I am using a sample rate of 8kHz and a frame size of 192 samples (24msec). When looking at the graphs of the buffers I'm giving as inputs to speex_echo_cancel, there is a delay of about 350 samples (43 msec) between a noise about to be output by the speaker (given as the echo_frame parameter) and that same sound later picked up as an echo by the mic (given as input_frame). I've tried filter lengths of 400, 800 and others, with no noticeable difference. The call to speex_echo_cancel typically takes 4 to 5 msec, which seems reasonable. After the algorithm has been running...