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

Still getting echo? #12

Open
meezy1 opened this issue Dec 5, 2019 · 0 comments
Open

Still getting echo? #12

meezy1 opened this issue Dec 5, 2019 · 0 comments

Comments

@meezy1
Copy link

meezy1 commented Dec 5, 2019

Hi.
I have a raspberry pi 3B and have the 2-mic hat. I followed the the instructions as given on https://github.com/voice-engine/ec.
I'm trying to make a voip/cloudbell but I ran into echo problems. So this led me to using this repo.

I have a speaker soldered to the board(2-mic) and tried other external speakers too.

My current goal is to achieve recording and playing sound at the same time.
I used the following in a terminal:
./ec -i plughw:1 -o plughw:1 -d 200
and in another:
aplay -f cd -r 16000 /tmp/ec.output -d 200

I also tried playing around with buffer time, period time, period size, buffer size, filter length and channel numbers.
I either get no sound, delay in sound or echo on different settings.

The log is usually warning: The echo canceller start acting funny...
OR
playback filled # bytes zero

I've tried python libraries(speexdsp) and get similar results or echoing sound but it's sounds squared. Plus these libraries don't give live playing and recording examples.

Thank you in advanced.

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

1 participant