Skip to main content

Toy Example for WPE

Project description

Documentation Status Travis Status MIT License

Weighted Prediction Error

Background noise and signal reverberation due to reflections in an enclosure are the two main impairments in acoustic signal processing and far-field speech recognition. This work addresses signal dereverberation techniques based on WPE for speech recognition and other far-field applications. WPE is a compelling algorithm to blindly dereverberate acoustic signals based on long-term linear prediction.

Different implementations of “Weighted Prediction Error” for speech dereverberation

Yoshioka, Takuya, and Tomohiro Nakatani. “Generalization of multi-channel linear prediction methods for blind MIMO impulse response shortening.” IEEE Transactions on Audio, Speech, and Language Processing 20.10 (2012): 2707-2720.

This code has been tested with Python 3.5 and 3.6.

Clone the repository. Then install it as follows if you want to make changes to the code:

https://github.com/fgnt/nara_wpe.git
cd nara_wpe
pip install --editable .

Alternatively, if you just want to run it, install it directly with Pip from Github:

pip install git+https://github.com/fgnt/nara_wpe.git

Check the example notebook for further details. If you download the example notebook, you can listen to the input audio examples and to the dereverberated output too.

You can find some documentation here: nara-wpe.readthedocs.io.

Development history

Since 2017-09-05 a TensorFlow implementation has been added to nara_wpe. It has been tested with a few test cases against the Numpy implementation.

The first version of the Numpy implementation was written in June 2017 while Lukas Drude and Kateřina Žmolíková resided in Nara, Japan. The aim was to have a publicly available implementation of Takuya Yoshioka’s 2012 paper.

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

nara_wpe-0.0.2.tar.gz (22.7 kB view hashes)

Uploaded Source

Built Distribution

nara_wpe-0.0.2-py3-none-any.whl (22.3 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