Skip to main content

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

Metadata

Release files for cleanvoice 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cleanvoice 0.0.2
File Size Uploaded
cleanvoice-0.0.2.tar.gz 18.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cleanvoice 0.0.2
File Interpreter ABI Platform
cleanvoice-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 36.7 MB

Release files / cleanvoice-0.0.2.tar.gz

Download URL cleanvoice-0.0.2.tar.gz
Size 18.4 MB
Tags Source
SHA-256 checksum
How to use checksums
96471b3dcba6963d652ad8b03f5c83f22d9229a6a5d076237500a560b693cf99
BLAKE2b-256 checksum
How to use checksums
4e63440f15c6e5cba04390e921fd40f99fe7085838e3357674dcfb14858ae0b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.1

Release files / cleanvoice-0.0.2-py3-none-any.whl

Download URL cleanvoice-0.0.2-py3-none-any.whl
Size 18.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d95ebcf98ea0b725cc32843204a43ee48f6ea944bd5c1c991132e76775c9c4d7
BLAKE2b-256 checksum
How to use checksums
7ff21265df0197a6a15a9400fa8e302c9ac454e3f8b17dc49a26b1168ff951ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page