Speech Started
vad_events boolean.
Deepgram’s Speech Started feature can be used for speech detection and can be used to detect the start of speech while transcribing live streaming audio.
SpeechStarted complements Voice Activity Detection (VAD) to promptly detect the start of speech post-silence. By gauging tonal nuances in human speech, the VAD can effectively differentiate between silent and non-silent audio segments, providing immediate notification of speech detection.
Enable Feature
To enable the SpeechStarted event, include the parameter vad_events=true in your request:
vad_events=true
You’ll then begin receiving messages upon speech starting.
Results
The JSON message sent when the start of speech is detected looks similar to this:
- The
typefield is alwaysSpeechStartedfor this event. - The
channelfield is interpreted as[A,B], whereAis the channel index, andBis the total number of channels. The above example is channel 0 of single-channel audio. - The
timestampfield is the time at which speech was first detected.
The timestamp doesn’t always match the start time of the first word in the next transcript because the systems for transcribing and timing words work independently of the speech detection system.