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 hashes)
Built Distribution
cleanvoice-0.0.2-py3-none-any.whl
(18.4 MB
view hashes)
Close
Hashes for cleanvoice-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95ebcf98ea0b725cc32843204a43ee48f6ea944bd5c1c991132e76775c9c4d7 |
|
MD5 | bd24db289693ce484d82e53ae3fc040d |
|
BLAKE2b-256 | 7ff21265df0197a6a15a9400fa8e302c9ac454e3f8b17dc49a26b1168ff951ec |