Skip to main content

py-webrtcvad wrapper for trimming speech clips

Project description

# [py-webrtcvad](https://github.com/wiseman/py-webrtcvad) wrapper for trimming speech clips [![Build Status](https://travis-ci.org/F-Tag/python-vad.svg?branch=master)](https://travis-ci.org/F-Tag/python-vad) [![PyPI version](https://badge.fury.io/py/pyvad.svg)](https://badge.fury.io/py/pyvad) [![Python Versions](https://img.shields.io/pypi/pyversions/pyvad.svg)](https://pypi.org/project/pyvad/)

## 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. `sh $ pip install pyvad==0.0.8 `

## Requirement [numpy](https://github.com/numpy/numpy), [librosa](https://github.com/librosa/librosa) and [py-webrtcvad](https://github.com/wiseman/py-webrtcvad).

## Installation via pip `sh $ pip install pyvad `

or

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

## Usage `python from pyvad import vad vact = vad(speech_data, speech_data_fs) `

## Example Please see example.ipynb jupyter notebook.

## License MIT License (see LICENSE file).

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.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

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