Skip to main content

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'
with open(test_audio, "r") as f:
    f.seek(44)
    audio_data = f.read()

# 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.
# Only 16000 and 8000 sample_rate supported
vad = SeaVAD(model_file_path=model_file_path, sample_rate=16000, sample_width=2)

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

# 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

Metadata

Release files for seavad 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seavad 0.0.8
File Size Uploaded
seavad-0.0.8.tar.gz 9.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seavad 0.0.8
File Interpreter ABI Platform
seavad-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / seavad-0.0.8.tar.gz

Download URL seavad-0.0.8.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
34a647b76d2f304580fe737b231590f4f2907141cbedaa589db0c9a98929db01
BLAKE2b-256 checksum
How to use checksums
a011a7f4fc99c9cbcad807f88de5614ad582cf246c449e5234f03e45941f5a38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / seavad-0.0.8-py3-none-any.whl

Download URL seavad-0.0.8-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf914cf4deefbcb7f2b2869ed3b70183212ce603042253b9c8e0a29f29624417
BLAKE2b-256 checksum
How to use checksums
af85941456401a316366f3bb2c6d6a1ce14c7184d3a684dc4edb228244dcb639
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.0.8 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page