Octoroom.Agent.Processors.VAD (octoroom_agents v0.1.0)

Copy Markdown View Source

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).

Summary

Functions

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

Functions

min_silence_ms(opts)

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