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

how to set volume threshold to let VAD work (AUD-4854) #1068

Closed
Jackyliszsh opened this issue Aug 31, 2023 · 2 comments
Closed

how to set volume threshold to let VAD work (AUD-4854) #1068

Jackyliszsh opened this issue Aug 31, 2023 · 2 comments
Labels
Type: Question Questions from developer

Comments

@Jackyliszsh
Copy link

If the volume is not so high, VAD can not detect the speech. Is there API to set the volume threshold to let VAD check out the speech even with low volume?

@github-actions github-actions bot changed the title how to set volume threshold to let VAD work how to set volume threshold to let VAD work (AUD-4854) Aug 31, 2023
@jason-mao
Copy link
Collaborator

@Jackyliszsh The VAD can detect speech only there is enough SNR. If the volume is too low, VAD can't works well. You can try the the VAD threshold https://github.com/espressif/esp-sr/blob/0c1eecaac259af95f76723b61d4e16cef5904fc7/include/esp32/esp_vad.h#L36

@jason-mao jason-mao added the Type: Question Questions from developer label Sep 5, 2023
@jason-mao
Copy link
Collaborator

This topic has become inactive so I'm going to close the issue. Please reopen this if you have any questions or need any further assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Questions from developer
Projects
None yet
Development

No branches or pull requests

2 participants