Skip to content

fix: pass audio sample rate and width to Silero VAD#90

Draft
sam-s10s wants to merge 1 commit intomainfrom
fix/vad-audio
Draft

fix: pass audio sample rate and width to Silero VAD#90
sam-s10s wants to merge 1 commit intomainfrom
fix/vad-audio

Conversation

@sam-s10s
Copy link
Member

@sam-s10s sam-s10s commented Mar 4, 2026

Silero VAD process_audio was called without sample_rate or sample_width, defaulting to 16kHz. With 8kHz audio this silently produced incorrect VAD results instead of surfacing the incompatibility.

Silero VAD process_audio was called without sample_rate or sample_width,
defaulting to 16kHz. With 8kHz audio this silently produced incorrect
VAD results instead of surfacing the incompatibility.
@LArmstrongDev
Copy link
Contributor

LArmstrongDev commented Mar 4, 2026

Please can you include a note about testing in the description of your MRs? It helps track and be clear on what has been tested vs. not, and makes it easier to approve without me asking each time. Thanks!

In this case, I'm guessing you testing manually with an 8kHz audio and observed the VAD results were correct, after your change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants