Please use this really nice module (not mine): https://pypi.python.org/pypi/webrtcvad VAD-py Webrtc VAD in Python