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.1.tar.gz
(2.4 MB
view details)
File details
Details for the file pysilero_vad-3.3.1.tar.gz.
File metadata
- Download URL: pysilero_vad-3.3.1.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ec55bfbf752ed424baf4f99fd135435f77c86f53a3171787e1c25111a5422ae
|
|
| MD5 |
9570d8cc3d076eb62de65a16ffc86d3b
|
|
| BLAKE2b-256 |
e56a3d17a67bddb40415c0a4b42e7d954eb6ecd6d7514946d5d3a7d313a4d353
|
Provenance
The following attestation bundles were made for pysilero_vad-3.3.1.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.1.tar.gz -
Subject digest:
3ec55bfbf752ed424baf4f99fd135435f77c86f53a3171787e1c25111a5422ae - Sigstore transparency entry: 1828415361
- Sigstore integration time:
-
Permalink:
rhasspy/pysilero-vad@d5fb763a592f5ffb633a494fd073ee93fe8b5445 -
Branch / Tag:
refs/tags/v3.3.1 - Owner: https://github.com/rhasspy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d5fb763a592f5ffb633a494fd073ee93fe8b5445 -
Trigger Event:
push
-
Statement type: