Community
cancel
Showing results for 
Search instead for 
Did you mean: 
soimattrang
Beginner
100 Views

Echo cancelation, help help!!!

Hi everybody

The CancelEcho function need two buffers sin and rin. sin is signal from micro and rin is reference signal. rin must remember the waveform sent out for a period of time by set a delay variable. can everyone demo serveral code lines to perform action above? thanks!
0 Kudos
2 Replies
Ying_H_Intel
Employee
100 Views

Quoting - soimattrang
Hi everybody

The CancelEcho function need two buffers sin and rin. sin is signal from micro and rin is reference signal. rin must remember the waveform sent out for a period of time by set a delay variable. can everyone demo serveral code lines to perform action above? thanks!

Hello soimattrang,

Are you looking for Echo cancel sample code? IPP sampleprovide one at IPP speech Codec sample ( speech-codecsapplicationusc_ec, it demostrates how to use these EC functions).

You may take a loot at it, the package (including MSVC 2005 project) can be download from
<http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-intel-ipp-intel-ipp...
=> Intel IPP sample page.

Best Regards,
Ying

Vyacheslav_Baranniko
New Contributor II
100 Views

Quoting - soimattrang
Hi everybody

The CancelEcho function need two buffers sin and rin. sin is signal from micro and rin is reference signal. rin must remember the waveform sent out for a period of time by set a delay variable. can everyone demo serveral code lines to perform action above? thanks!

Hi
In general USC EC CancelEcho() function eats two audio inputs at ones:10msofmic signal (s-in) and 10ms offar endsignal (r-in).Ones near endclientstarts playing out r-in signalitshould feed it also to CancelEchofunction withusingcurrent frame from the mic as s-in,thus synch r-in and s-in streams. Then it should repeate this processframe-by-frame in order: playing out and feeding to ECnext r-in frame with next mic frame.
Vyacheslav, IPP speech domain
Reply