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 when running locally - the output audio is looping back into the input #16
Comments
This is an issue for me also, the mic is picking up the assistants voice, which is then being transcribed and replied to, resulting in awkward conversation with it self. |
Same here. Is there a way we can temporarily pause the input stream when the output stream is being played? |
hey folks!! Indeed there is no echo cancellation enabled in system audio conversation, few things:
|
I think this is a hard problem. Amazon has a few articles on the topic. [1] Two ideas:
|
Headphones helped me with the choppy audio too. Interested in how to handle simultaneous conversation. I want to interrupt the assistant as it's talking. |
This is definitely a challenging implementation detail but I think it might be worth emphasizing this early on in the Quickstart documentation. It's not something that I could've intuitively troubleshot without coming to the Github Issues for the repo. |
good idea @kevcmk, just added this to the docs: https://docs.vocode.dev/python-quickstart#a-note-on-echo-cancellation I'll leave this issue open as we brainstorm more options here. |
Push to talk would be a gain already. |
in the new version, you can have the transcriber stop listening while the agent is speaking. here's a code snippet:
|
another fix for this! If you install Krisp.AI[0] (which is already built into some meeting platforms like Discord), you can select the krisp virtual microphone and speaker on startup and feedback issue is solved[1]! [0] https://krisp.ai/ |
Fix proposed by @ajar98 here: #16 (comment) did not work for me so I also needed to change |
guys ,can we connect vocode with sqlite to handle db data in realtime with fastapi? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed due to inactivity. Thank you for your contributions. |
Running on a Mac using the hosted version. It seems to get very confused by its own voice coming out of the speaker and being picked up by the microphone.
Using headphones seems to work much better.
not-working.mp4
The text was updated successfully, but these errors were encountered: