Digish
2007-Sep-14 16:29 UTC
[Speex-dev] 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 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 silance-noise. Just like following: _____^_____^_____^_____^_____^_____^_____^_____^_____^_____^_____^_____^____ _^_____^_____^_____^ Where [____-> silance ^->Noise] Which seems to me as uniform. I had just created an echo_state variable prior to creating these two classes that manages Receive side and send side and I am using common instance of echo_state between these two classes. Am I doing anything wrong here? I have tried setting frame_size with 20,160 and frame_filter_length as 100,256,300 etc but I found no success here. Can anyone please suggest me anything? I am using WM5 devices on both end. Is there anything that this echo canceller will work with speex codec only? Do I need to do anything special that I am missing? Regards, Digish Gabhawala [mailto: digish@varaha.com] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070914/a2c02ae4/attachment.html