Skip to content

VADSpeechStartEvent

Emitted when the local VAD confirms the user has started speaking.

Defined in: src/core/events/types.ts:1227

Emitted when the local VAD confirms the user has started speaking.

Remarks

Fires after VADConfig.minSpeechDurationMs of sustained speech probability — independent of the STT provider, and typically well before any transcription text arrives. Useful for instant speaking indicators and as the trigger for provider-independent barge-in.

Example

agent.on('vad.speechStart', ({ probability }) => {
  showSpeakingIndicator(probability);
});

See

Extends

  • BaseEvent

Properties

PropertyTypeDescriptionInherited fromDefined in
metadata?Record<string, unknown>Optional metadata associated with the event. Remarks May contain provider-specific data or debugging information.BaseEvent.metadatasrc/core/events/types.ts:94
probabilitynumberSpeech probability of the frame that confirmed the detection (0–1).-src/core/events/types.ts:1232
timestampnumberUnix timestamp (in milliseconds) when the event occurred. Remarks Useful for latency measurements and debugging the pipeline timing.BaseEvent.timestampsrc/core/events/types.ts:86
type"vad.speechStart"Discriminant for this event type.-src/core/events/types.ts:1229

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency