Available on non-
target_family=wasm only.Expand description
Voice-activity inference over canonical audio frames: which stretches carry a human voice rather than music, noise, or silence.
Structs§
- Endpointer
- Finds utterances in a stream. Speech opens on a frame scored at or above
SPEECH_THRESHOLDand closes once silence has lastedtrailing_silence. After anEndit keeps listening, so the nextStartopens the next utterance. An utterance still open when input ends gets noEnd. - Silero
Vad silero - Speech
silero - What one pass over a window found.
- Speech
Detector silero - Scores a recording’s frames and records them in a
SpeechMap. - Speech
Map silero - Where anyone was speaking, as far as the detector has scored.
Enums§
- Boundary
- A speech boundary, in canonical samples counted from the first
Endpointer::push. - Voice
Activity Error
Constants§
- LEAD_
IN_ FRAMES - Frames to keep before a
Boundary::Start, so an utterance does not open mid-syllable.StopOnSilencekeeps this many. - SPEECH_
THRESHOLD