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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nara_wpe-0.0.2-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file nara_wpe-0.0.2.tar.gz.

File metadata

  • Download URL: nara_wpe-0.0.2.tar.gz
  • Upload date:
  • Size: 22.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for nara_wpe-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c199f9eaebf0d830ace74f111af66f42dd2f854644777c3053f916ce8e8ed9c4
MD5 b5405fdb202b63ec5a5a1214e4c86e65
BLAKE2b-256 7151e67db5bfab00d5d0bf0dd123417d1cd20abc9a8dfe36b48bc0d16dece8ca

See more details on using hashes here.

File details

Details for the file nara_wpe-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: nara_wpe-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for nara_wpe-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cddad5d4abe989d044c1f9131b4548e3732fa2125baddc83a08113a90b013bc3
MD5 5bae57d24ba4cb5d2d66ecb76bfda1c2
BLAKE2b-256 08474ee5b35b82942ffe76b07013d7279626eaf4437bea6502992c0b5f550e02

See more details on using hashes here.

Supported by

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