Skip to main content

Vocal

A vocal source separation

pip install vocal
import librosa
import soundfile as sf
from vocal import get_model, separate_vocal

device = "cuda" # or cpu
audio, sr = librosa.load("audio.wav", sr=44100, mono=False)
model = get_model(device) # download model from HF
audio_data = separate_vocal(model, audio, device, silent=False)
sf.write("vocal.mp3", format="MP3", data=audio_data.T, samplerate=sr)

CLI

Sinlge file

vocali -i audio.mp3 -o output.mp3

Folder

vocali -i audio/ -o output --recursive

Metadata

Release files for vocal 0.0.5

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

Source distribution (sdist)

Source distribution for vocal 0.0.5
File Size Uploaded
vocal-0.0.5.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vocal 0.0.5
File Interpreter ABI Platform
vocal-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 10.7 kB

Release files / vocal-0.0.5.tar.gz

Download URL vocal-0.0.5.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
09d7849b361cee7de8835a235af59f37a2d744e1ffa5c0da6d47752bfafa01a3
BLAKE2b-256 checksum
How to use checksums
535825c8e45831ec067766082dd2183a301bdf99970067278377bb9a24da8a01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Release files / vocal-0.0.5-py2.py3-none-any.whl

Download URL vocal-0.0.5-py2.py3-none-any.whl
Size 5.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c77913c2e8e93c39b581d3be5471c9ec73c87d70e33e3d8bef929f6a27d2d0cd
BLAKE2b-256 checksum
How to use checksums
f883b5f061fa0da6cbb896b2f0ee6ba6cfb6589a3e575dba98cc2fbc3b5d9d28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

1 release file

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