https://github.com/rhasspy/pysilero-vad
Mike/Projects/pysilero-vad.git
https://github.com/rhasspy/pysilero-vad
Last synced: 10 days ago
JSON representation
Mike/Projects/pysilero-vad.git
- Host: GitHub
- URL: https://github.com/rhasspy/pysilero-vad
- Owner: rhasspy
- License: mit
- Created: 2023-12-05T20:24:20.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-07T14:46:20.000Z (17 days ago)
- Last Synced: 2025-04-07T15:05:45.036Z (17 days ago)
- Language: Python
- Size: 3.28 MB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pySilero VAD
A pre-packaged voice activity detector using [silero-vad](https://github.com/snakers4/silero-vad).
``` sh
pip install pysilero-vad
`````` python
from pysilero_vad import SileroVoiceActivityDetectorvad = SileroVoiceActivityDetector()
# Audio must be 16Khz, 16-bit mono PCM with correct chunk size
# See also: vad.chunk_samples()
assert len(audio_bytes) == vad.chunk_bytes()if vad(audio_bytes) >= 0.5:
print("Speech")
else:
print("Silence")
```