Parameter Help
- positiveSpeechThreshold
- Probability above which a frame is classified as speech
- negativeSpeechThreshold
- Probability below which a frame is classified as silence
- minSpeechMs
- Minimum speech duration before VAD confirms real speech
- preSpeechPadMs
- Audio to prepend before detected speech start
- REDEMPTION_START_MS
- Initial grace period after speech end before flushing
- REDEMPTION_END_MS
- Final grace period (shrinks as segment grows)
- MIN_DURATION_MS
- Minimum segment duration — speech end before this enters protected zone
- MAX_DURATION_MS
- Maximum segment duration before forced seamless split
- OVERLAP_CHUNKS
- Number of audio chunks overlapped during seamless split