Skip to main content

SeaVAD: Voice Activity Detection module with silero and state machine.

Project description

SeaVAD

SeaVAD is a Python package for Voice Activity Detection (VAD) using a state machine version of SileroVAD os you can control the performance.

Installation

You can install SeaVAD using pip:

pip install SeaVAD

Usage

Here is a simple example of how to use SeaVAD:

from seavad.main import SeaVAD

# Load your audio file
audio_path = 'path/to/your/audio/file.wav'

# Local VAD onnx model path
model_file_path = 'path/to/vad/onnx/model'

# Create a SeaVAD object with the sample rate and sample width of your audio.
vad = SeaVAD(model_file_path=model_file_path, sample_rate=16000, sample_width=2)

# Detect voice activity
segments = vad.get_vad_segments(audio_path)

# Print the detected segments
for (start, end) in segments:
    print(f"Start: {start}, End: {end}")

License

See the LICENSE file for details.

Contact

For any questions or inquiries, please contact us at info@seasalt.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seavad-0.0.2.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

seavad-0.0.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file seavad-0.0.2.tar.gz.

File metadata

  • Download URL: seavad-0.0.2.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for seavad-0.0.2.tar.gz
Algorithm Hash digest
SHA256 20d231bbc637b9eb3a8b3c33fc781d38f2344867b8f3c72c7bd8fb047c44b3e9
MD5 19f6db4e4b74aaffa69744ebc78f90c5
BLAKE2b-256 a80d0f5ba4d10e6d1be163e02c4808694b6505422123929367df784f3d83c351

See more details on using hashes here.

File details

Details for the file seavad-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: seavad-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for seavad-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 33cde9af1e666492844f69cfae5f0fc2cb0a4229060837a0f9943b253662ffe1
MD5 672fd463d350b07694a831044b0611cb
BLAKE2b-256 baf857a7f3ea1658839634719a6689e1a7caa8cc92337d95847c0520bf3f1f3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page