Skip to main content

'py-webrtcvad wrapper for trimming speech clips'

Project description

py-webrtcvad wrapper for trimming speech clips

Build PyPI version Python Versions

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).

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

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

pyvad-0.2.0.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

pyvad-0.2.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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