Name | pysilero-vad JSON |
Version |
2.0.1
JSON |
| download |
home_page | None |
Summary | Pre-packaged voice activity detector using silero-vad |
upload_time | 2025-01-16 21:40:09 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8.0 |
license | MIT |
keywords |
voice
activity
vad
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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 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")
```
Raw data
{
"_id": null,
"home_page": null,
"name": "pysilero-vad",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8.0",
"maintainer_email": null,
"keywords": "voice, activity, vad",
"author": null,
"author_email": "Michael Hansen <mike@rhasspy.org>",
"download_url": "https://files.pythonhosted.org/packages/44/da/c269c9866bdb4c74ddae88ae94ad4daa52de59faa4da743bba3627246ab7/pysilero_vad-2.0.1.tar.gz",
"platform": "any",
"description": "# pySilero VAD\n\nA pre-packaged voice activity detector using [silero-vad](https://github.com/snakers4/silero-vad).\n\n``` sh\npip install pysilero-vad\n```\n\n``` python\nfrom pysilero_vad import SileroVoiceActivityDetector\n\nvad = SileroVoiceActivityDetector()\n\n# Audio must be 16Khz, 16-bit mono PCM with correct chunk size\n# See also: vad.chunk_samples()\nassert len(audio_bytes) == vad.chunk_bytes()\n\nif vad(audio_bytes) >= 0.5:\n print(\"Speech\")\nelse:\n print(\"Silence\")\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Pre-packaged voice activity detector using silero-vad",
"version": "2.0.1",
"project_urls": {
"Source Code": "http://github.com/rhasspy/pysilero-vad"
},
"split_keywords": [
"voice",
" activity",
" vad"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d03c51dfe22e6e0798cab34670a4ed8ea00e81701d892501cfda7df9d399816f",
"md5": "5109d4f11e19f2e1e05cec69e0bf37ff",
"sha256": "0c1153ed10d2c19c9e5554800c9203a54af6f4cc7dab5394c1a588c7f039ff15"
},
"downloads": -1,
"filename": "pysilero_vad-2.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5109d4f11e19f2e1e05cec69e0bf37ff",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.0",
"size": 1948385,
"upload_time": "2025-01-16T21:40:07",
"upload_time_iso_8601": "2025-01-16T21:40:07.420852Z",
"url": "https://files.pythonhosted.org/packages/d0/3c/51dfe22e6e0798cab34670a4ed8ea00e81701d892501cfda7df9d399816f/pysilero_vad-2.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "44dac269c9866bdb4c74ddae88ae94ad4daa52de59faa4da743bba3627246ab7",
"md5": "6ce8c878788ac8fb2d11e88cf6770376",
"sha256": "b1c3ccdab6025d63bca4fa3df7ada9ff7f6958b834fcfe73d0369c5d54e5b540"
},
"downloads": -1,
"filename": "pysilero_vad-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "6ce8c878788ac8fb2d11e88cf6770376",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 1948875,
"upload_time": "2025-01-16T21:40:09",
"upload_time_iso_8601": "2025-01-16T21:40:09.184871Z",
"url": "https://files.pythonhosted.org/packages/44/da/c269c9866bdb4c74ddae88ae94ad4daa52de59faa4da743bba3627246ab7/pysilero_vad-2.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-16 21:40:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rhasspy",
"github_project": "pysilero-vad",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "pysilero-vad"
}