A Fast Speech Enhancement toolkit using Conv-TasNet
Project description
CleanVoice
A Fast Speech Enhancement toolkit using Conv-TasNet (Yi Luo, Nima Mesgarani)
Only works with 16kHz audio.
Install
pip install cleanvoice
Usage
Audio file
from cleanvoice import cleanvoice
from scipy.io.wavfile import write as write_wav
audio_data = cleanvoice("audio.wav")
write_wav("audio-cleaned.wav", 16000, audio_data)
NumPy Array as input
from cleanvoice import cleanvoice
from scipy.io.wavfile import write as write_wav
import librosa
y, _ = librosa.load("audio.wav", mono=True, sr=16000)
audio_data = cleanvoice(y)
write_wav("audio-cleaned.wav", 16000, audio_data)
License
Apache-2.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cleanvoice-0.0.2.tar.gz
(18.4 MB
view details)
Built Distribution
File details
Details for the file cleanvoice-0.0.2.tar.gz
.
File metadata
- Download URL: cleanvoice-0.0.2.tar.gz
- Upload date:
- Size: 18.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96471b3dcba6963d652ad8b03f5c83f22d9229a6a5d076237500a560b693cf99 |
|
MD5 | d47864fe98dc1d6a78d5953cbd423c8a |
|
BLAKE2b-256 | 4e63440f15c6e5cba04390e921fd40f99fe7085838e3357674dcfb14858ae0b1 |
File details
Details for the file cleanvoice-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: cleanvoice-0.0.2-py3-none-any.whl
- Upload date:
- Size: 18.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95ebcf98ea0b725cc32843204a43ee48f6ea944bd5c1c991132e76775c9c4d7 |
|
MD5 | bd24db289693ce484d82e53ae3fc040d |
|
BLAKE2b-256 | 7ff21265df0197a6a15a9400fa8e302c9ac454e3f8b17dc49a26b1168ff951ec |