# `Octoroom.Agent.Processors.VAD`
[🔗](https://github.com/samrat/octoroom/blob/v0.1.0/agents/lib/octoroom/agent/processors/vad.ex#L1)

Local voice activity detection with Silero.

`InputAudio` passes through; `VADUserStartedSpeaking` and
`VADUserStoppedSpeaking` follow it when speech starts or stops. The stop
comes `min_silence_ms` after the user stopped talking.

Options: `:start_threshold`, `:stop_threshold`, `:min_speech_ms`,
`:min_silence_ms`, `:model_path`. Inference runs inline; use
`isolate: true` to give it its own process. With `analyzer: :none`, no
model loads and the stage passes audio through (for tests).

# `min_silence_ms`

How long after the user stopped talking the stop is reported, in ms.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
