Python interface to the WebRTC Voice Activity Detector
py-webrtcvad
This is a python interface to the WebRTC Voice Activity Detector (VAD). It is compatible with Python 2 and Python 3.
A VAD classifies a piece of audio data as being voiced or unvoiced. It can be useful for telephony and speech recognition.
The VAD that Google developed for the WebRTC project is reportedly one of the best available, being fast, modern and free.
How to use it
-
Install the webrtcvad module:
pip install webrtcvad
-
Create a
Vad
object:import webrtcvad vad = webrtcvad.Vad()
-
Optionally, set its aggressiveness mode, which is an integer between