Skip to main content

Voice activity detection

Streaming Sound Wave, along with its derived types such as Capturable Sound Wave, supports Voice Activity Detection (VAD). VAD filters incoming audio data to populate the internal buffer only when voice is detected. This feature is implemented using libfvad.

To enable VAD after creating the sound wave, use the corresponding function.

Toggle VAD node


Once VAD is enabled, you can set the VAD mode or reset the VAD as needed. These functions should be called only when VAD is enabled.

Set VAD Mode node Reset VAD node