Skip to main content

py-webrtcvad wrapper for trimming speech clips

Project description

py-webrtcvad wrapper for trimming speech clips

Build Status PyPI version Python Versions

Announcement

The version 0.1.0 update break backward compatibility.

The changes are as follows:

  1. The hoplength argument has been changed to hop_length.
  2. The trim returns (start_index, end_index) (return_sec argument is abolished).
  3. Slightly changed the method of preprocessing a waveform in vad.
  4. End of support for python 2.x.

You can see the new API in the example.ipynb.

The previous version is 0.0.8.

$ pip install pyvad==0.0.8

Requirement

numpy, librosa and py-webrtcvad.

Installation

via pip

$ pip install pyvad

or

from github repository

$ pip install git+https://github.com/F-Tag/python-vad.git

Usage

from pyvad import vad
vact = vad(speech_data, speech_data_fs)

Example

Please see example.ipynb jupyter notebook.

License

MIT License (see LICENSE file).

Download files

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

Files for pyvad, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size pyvad-0.1.3-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyvad-0.1.3.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page