Metadata-Version: 2.1
Name: pyvad
Version: 0.1.3
Summary: py-webrtcvad wrapper for trimming speech clips
Home-page: https://github.com/F-Tag/python-vad
Author: Fumiaki Taguchi
Author-email: fumiaki.taguchi@gmail.com
License: MIT License
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Multimedia :: Sound/Audio
Classifier: Topic :: Multimedia :: Sound/Audio :: Analysis
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Scientific/Engineering :: Human Machine Interfaces
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: librosa
Requires-Dist: webrtcvad

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


