Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Echo Cancellation Demo #14

Open
DmitryMyadzelets opened this issue Apr 22, 2020 · 3 comments
Open

Echo Cancellation Demo #14

DmitryMyadzelets opened this issue Apr 22, 2020 · 3 comments

Comments

@DmitryMyadzelets
Copy link

If I've understood correctly, this echo canceller should work on any machin with a mic and speakers. So, I'd be grateful to see a set of instructions which demonstrate how echo occurs without echo cancellation, and how things change when the ec does its job.

For instance, I use GStreamer, and with following command I can definetly here the echo.

gst-launch-1.0 alsasrc device=default ! alsasink device=default

Another way to get echo:

arecord | aplay

How to cancel the echo?

@StuartIanNaylor
Copy link

?
Echo is due to having media playing when recording. Like on a laptop the mic signal can become swamped by the music playing through speakers.
This using a filter to remove what was playing from the mic input and seems to work really well.
You have to have a card that has both playback & capture so they are on the same clock it doesn't work with different cards for playback & capture say Pi embedded playback and USB capture.

The instructions on the front page work for me.

@DmitryMyadzelets
Copy link
Author

DmitryMyadzelets commented Apr 24, 2020

@StuartIanNaylor The "before" and "after" demo would be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants