Vocal Separation in 2 Minutes โ Running Demucs and UVR Karaoke Locally
Hands-on comparison โ installation, execution, processing time, and output from actual runs
Hands-on results from running both locally. macOS Apple Silicon (CPU), Python 3.11.
Demucs โ Two Lines, Done
Install:
pip install demucs torchcodec
torchcodec is needed by recent torchaudio for saving. Without it you get ImportError.
Run:
demucs song.mp3 --two-stems vocals
--two-stems vocals outputs vocal/accompaniment only instead of 4 stems. More practical for karaoke.
First run auto-downloads htdemucs model (~80MB).
Output:
separated/htdemucs/song/
โโโ vocals.wav
โโโ no_vocals.wav
Measurements: 10s audio โ ~10s processing (CPU, Apple Silicon). Model: ~80MB, seconds to download.
UVR Karaoke โ Bigger Model, Different Quality
Install:
pip install "audio-separator[cpu]"
Run:
audio-separator song.mp3 \
--model_filename mel_band_roformer_karaoke_aufr33_viperx_sdr_10.1956.ckpt \
--output_dir ./output
Long command โ full model filename required. First run downloads 913MB model (1-5 min).
Output:
output/
โโโ song_(Instrumental)_...flac
โโโ song_(Vocals)_...flac
Measurements: 10s audio โ ~43s (14s model load + 13s inference + save). Model: 913MB.
Comparison Table
| Demucs | UVR Karaoke | |
|---|---|---|
| Install | pip install demucs torchcodec |
pip install "audio-separator[cpu]" |
| Command length | Short | Long (model filename) |
| Model size | ~80 MB | 913 MB |
| Processing (10s, CPU) | ~10s | ~43s |
| Backing vocals | Removed | Kept in instrumental |
Verdict
Quick test โ Demucs. Simple install, short command, small model.
Karaoke quality โ UVR Karaoke. Bigger and slower, but backing vocals stay in the accompaniment.
Key Concepts
Install Demucs: pip install demucs torchcodec
Run Demucs: demucs song.mp3 --two-stems vocals โ vocals.wav + no_vocals.wav
Install UVR: pip install "audio-separator[cpu]"
Run UVR: audio-separator song.mp3 --model_filename mel_band_roformer_karaoke_...ckpt
Compare: Demucs (80MB, 10s) vs UVR (913MB, 43s) โ simpler is Demucs, karaoke quality is UVR