Hi, Indeed I too have troubles implementing echo removal, I like ask kindly to Jean-Marc (or any other) if him can put a source code demo to show us how to use effectively echo removal API and parameters in real case scenario. A big thank you! Roberto -----Messaggio originale----- Da: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] Per conto di hs Inviato: marted? 11 ottobre 2005 10.25 A: speex-dev@xiph.org Oggetto: Re: [Speex-dev] echo cancellation> echo cancellation: > speex_echo_cancel (st, ptr, echo1[0], e_buf, noise); speex_preprocess > (den, e_buf, noise); > > where ptr is a buffer that was recorded from microphone, echo1[0] is a > buffer that was played on loudspeakers. the delay between ptr and > echo1 is 2 buffers (512 samples). > with this configuration I can still hear the echo signal (althought > the signal is a little more silent. when using the delay 3 buffers the > echo is still not cancelled and after few seconds I don't hear anything.when using about 10 buffers for delay between these signals the echo signal is heared as it was reverbed, everything else is ok and the noise is removed. how to completely remove the echo signal? regards hs _______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/speex-dev
Source code at: http://people.xiph.org/~jm/speexclient/ Le mardi 11 octobre 2005 ? 10:37 +0200, Roberto Della Pasqua a ?crit :> Hi, > > Indeed I too have troubles implementing echo removal, > I like ask kindly to Jean-Marc (or any other) if him can put a source code > demo to show us how to use effectively echo removal API and parameters in > real case scenario. > > A big thank you! > > Roberto > > > > -----Messaggio originale----- > Da: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] Per conto > di hs > Inviato: marted? 11 ottobre 2005 10.25 > A: speex-dev@xiph.org > Oggetto: Re: [Speex-dev] echo cancellation > > > echo cancellation: > > speex_echo_cancel (st, ptr, echo1[0], e_buf, noise); speex_preprocess > > (den, e_buf, noise); > > > > where ptr is a buffer that was recorded from microphone, echo1[0] is a > > buffer that was played on loudspeakers. the delay between ptr and > > echo1 is 2 buffers (512 samples). > > with this configuration I can still hear the echo signal (althought > > the signal is a little more silent. when using the delay 3 buffers the > > echo is still not cancelled and after few seconds I don't hear anything. > when using about 10 buffers for delay between these signals the echo signal > is heared as it was reverbed, everything else is ok and the noise is > removed. > how to completely remove the echo signal? > > regards > hs > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev >
On Tue, 11 Oct 2005 10:36:51 +0200, Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> wrote:> Source code at: > http://people.xiph.org/~jm/speexclient/I rewritten my program so it is more similar to yours, I grabbed your code for storing and retrieving echo, and I have better results, I think the echo is cancelled in about 50% but it still can be heared. I think there is a problem with jitters on windows. on linux you have smaller latency then on windows. does anyone ever managed to succefully use echo cancellation from speex in windows enviroment? I know it's possible using high-end sound cards with native ASIO drivers. But what about ac'97 on-board chips? regards hs