Echo cancellation feedback noise

Kurt Pattyn <[email protected]> Tue, 28 Feb 2012 17:53:44 +0100
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <[email protected]>
How to properly startup speex echo cancellation?

AEC is working fine, except when the algorithm gets its first frames to cancel echo. I hear a terrible feedback sound for a few seconds, before the AEC algorithm settles down and starts to work as expected.
I use the function speex_echo_cancellation().

At the very start of the application, there are recorded frames available, but not yet playback frames. In the latter case, I supply a 'silent' playback frame to the noise cancellation function (frame containing all zeros). Is this the right approach?

So, when the AEC is first called (with frames containing sound - not silence), a terrible feedback is heard. Does anyone know how I can solve this problem?

_______________________________________________
Speex-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/speex-dev