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

feature request: exampes += --list-devices | --input-device | --output-device flags #2

Open
gwpl opened this issue Oct 16, 2024 · 2 comments

Comments

@gwpl
Copy link

gwpl commented Oct 16, 2024

feature request: exampes += --list-devices | --input-device | --output-device flags

When trying streaming example, scripts seems to "detect speech" after each chunk of sound it voices out, and interrupting itself, even I try to run it with headphones. Therefore I consider that maybe it is using wrong input device or something else is going on. Also manual input seems very confused and not working correctly.

Platform: Linux, in fresh venv.

@WikiLucas00
Copy link

Same issue here, it seems there is no echo cancellation done (to cancel the output signal on the input one).

A threshold could be used in order to prevent sending input chunks with low-intensity voice (which would in most cases come from the output signal being heard by the microphone).

Did you try lowering the output intensity in your headset to make sure the microphone doesn't catch anything @gwpl?

I managed to chat with the model by muting my microphone whenever I'm not speaking, but that's not a viable solution.

@tanvithakur94
Copy link

In addition to using microphone, this change has also helped in fine tuning the audio response and avoid any interruptions. - #5.

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

3 participants