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

Add Silero VAD Model #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add Silero VAD Model #17

wants to merge 2 commits into from

Conversation

jhbruhn
Copy link

@jhbruhn jhbruhn commented Mar 28, 2024

This is basically the same implementation as for the official OpenWakeWord Repository, the VAD class is the exact same. It does seem to work nicely, at least nothing generally crashes and the VAD is taken into account.

I wasn't entirely sure on how to implement this, and it is not as nicely batched as the remaining code. For now it is just integrated into the mels_proc Thread and implemented in the ClientData. But as the Silero VAD model is fairly lightweight, that perhaps is fine?

I also added a --vad-treshold CLI Parameter which enables the VAD algorithm, although it is currently always calculated.

Unfortunately the Silero VAD model seems to only be available for the ONNX Runtime, so I had to add that dependency :(

Fixes #16

@synesthesiam synesthesiam self-assigned this Jun 26, 2024
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

Successfully merging this pull request may close these issues.

Support for Silero VAD
2 participants