You're asking for an explanation of all VAD configuration settings — below are each setting, what it does, typical effects of changing it, and when you might adjust it.
•
min_speech_duration (float, default: 0.05)
Minimum length of continuous detected speech required to start a new speech chunk.
• Lower: more sensitive to very short utterances (may produce many tiny chunks).
• Higher: filters out brief noises or clicks before starting a chunk.
•
min_silence_duration (float, default: 0.55)
How long silence must persist after speech before the system considers the speaker finished.
• Lower: ends turns faster (good for short replies), but risks chopping up natural pauses.
• Higher: waits longer before closing a turn, preventing premature cutoffs in conversational speech.
•
prefix_padding_duration (float, default: 0.5)
Seconds of audio prepended to the start of each detected speech chunk. Ensures the very start of speech isn’t lost.
• Increase if you notice words are clipped at chunk start.
• Decrease to reduce extra audio sent/processed.
•
max_buffered_speech (float, default: 60.0)
Maximum duration (seconds) of speech kept in the buffer. Protects memory/processing by limiting very long continuous audio.
• Lower: limits resource use for runaway audio streams.
• Higher: allow longer uninterrupted recordings before buffer trimming.
•
activation_threshold (float, default: 0.5)
Per-frame confidence threshold to classify a frame as speech.
• Higher: more conservative (less false positives from noise), but may miss quiet speech.
• Lower: more sensitive (detects quiet speech), but may trigger on background noise.
•
sample_rate (Literal[8000, 16000], default: 16000)
Audio sample rate used for inference. Only 8000 Hz and 16000 Hz supported.
• Use 16000 for typical voice quality; 8000 for narrowband/telephony audio.
•
force_cpu (bool, default: True)
Forces the VAD model to run on CPU even if GPU is available.
• True: predictable CPU-only behavior (useful on systems where GPU use is undesired).
• False: allows GPU execution if supported, which may speed inference.
If you tell me your main goals or environment (quiet vs noisy room, short voice prompts vs long monologues, telephony vs high-quality mic), I can recommend concrete starting values and explain trade-offs for tuning.
Sources:
Silero VAD plugin | LiveKit docs |
examples/voice_agents | livekit/livekit_composite | DeepWiki