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.1.tar.gz
(18.4 MB
view hashes)
Built Distribution
cleanvoice-0.0.1-py3-none-any.whl
(18.4 MB
view hashes)
Close
Hashes for cleanvoice-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab28e55170d66c77496c6834faaad322a67ed1acd413d740cbcde9d610e7ac76 |
|
MD5 | 949e6967f40e22242866139b72bca187 |
|
BLAKE2b-256 | be3fadae64dc73a651a89e73d51dad7d12ee714541a79c0cf24b12fbc7354e32 |