Pre-packaged voice activity detector using silero-vad
Project description
pySilero VAD
A pre-packaged voice activity detector using silero-vad.
pip install pysilero-vad
from pysilero_vad import SileroVoiceActivityDetector
vad = 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")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysilero_vad-3.3.0.tar.gz
(2.4 MB
view details)
File details
Details for the file pysilero_vad-3.3.0.tar.gz.
File metadata
- Download URL: pysilero_vad-3.3.0.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9f2a423a137e9bc6d5a0e638ca76e1f750baa3a1eed60153995d1c280b1316f
|
|
| MD5 |
9f31cc367f91c378d68291d10cf29beb
|
|
| BLAKE2b-256 |
d6f59be84ec8bcbe77d798a86a5fde518d257bd997a2465c8a4704241094a495
|
Provenance
The following attestation bundles were made for pysilero_vad-3.3.0.tar.gz:
Publisher:
publish.yml on rhasspy/pysilero-vad
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysilero_vad-3.3.0.tar.gz -
Subject digest:
b9f2a423a137e9bc6d5a0e638ca76e1f750baa3a1eed60153995d1c280b1316f - Sigstore transparency entry: 933796571
- Sigstore integration time:
-
Permalink:
rhasspy/pysilero-vad@38697874ef8898f36303aa2df18458539fc7ed55 -
Branch / Tag:
refs/tags/v3.3.0 - Owner: https://github.com/rhasspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@38697874ef8898f36303aa2df18458539fc7ed55 -
Trigger Event:
push
-
Statement type: