# 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
if vad(audio_bytes) >= 0.5:
print("Speech")
else:
print("Silence")
```
Raw data
{
"_id": null,
"home_page": "http://github.com/rhasspy/pysilero-vad",
"name": "pysilero-vad",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "voice activity vad",
"author": "Michael Hansen",
"author_email": "mike@rhasspy.org",
"download_url": "https://files.pythonhosted.org/packages/9f/72/946c116691b5a3ac65eb1774aeb17e18dd4527c60f2dcf841d3571b5d9d0/pysilero_vad-2.0.0.tar.gz",
"platform": null,
"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\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.0",
"project_urls": {
"Homepage": "http://github.com/rhasspy/pysilero-vad"
},
"split_keywords": [
"voice",
"activity",
"vad"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "00f40b920467e26dafba113052e3e8d86abe96207ab79e2c5a415a6bfbe56d07",
"md5": "53d3dc58f090627f75e45c20a182604a",
"sha256": "d5f7adb1d2e712753296b4e2e28cb4ba1dc98b6d18b0707c369ff9394ea54e2e"
},
"downloads": -1,
"filename": "pysilero_vad-2.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "53d3dc58f090627f75e45c20a182604a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 1948098,
"upload_time": "2024-07-08T19:08:09",
"upload_time_iso_8601": "2024-07-08T19:08:09.057743Z",
"url": "https://files.pythonhosted.org/packages/00/f4/0b920467e26dafba113052e3e8d86abe96207ab79e2c5a415a6bfbe56d07/pysilero_vad-2.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f72946c116691b5a3ac65eb1774aeb17e18dd4527c60f2dcf841d3571b5d9d0",
"md5": "8428330f1421750e848b07ac4f7c6d7b",
"sha256": "1939568a7d5e249046bc6b4e512af3778a89ebd13536d7ef14f3264d0b0f252b"
},
"downloads": -1,
"filename": "pysilero_vad-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "8428330f1421750e848b07ac4f7c6d7b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1948802,
"upload_time": "2024-07-08T19:08:11",
"upload_time_iso_8601": "2024-07-08T19:08:11.066194Z",
"url": "https://files.pythonhosted.org/packages/9f/72/946c116691b5a3ac65eb1774aeb17e18dd4527c60f2dcf841d3571b5d9d0/pysilero_vad-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-08 19:08:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rhasspy",
"github_project": "pysilero-vad",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "onnxruntime",
"specs": [
[
"<",
"2"
],
[
">=",
"1.18.0"
]
]
},
{
"name": "numpy",
"specs": [
[
"<",
"2"
]
]
}
],
"lcname": "pysilero-vad"
}