โšก

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

1

Install Demucs: pip install demucs torchcodec

2

Run Demucs: demucs song.mp3 --two-stems vocals โ†’ vocals.wav + no_vocals.wav

3

Install UVR: pip install "audio-separator[cpu]"

4

Run UVR: audio-separator song.mp3 --model_filename mel_band_roformer_karaoke_...ckpt

5

Compare: Demucs (80MB, 10s) vs UVR (913MB, 43s) โ€” simpler is Demucs, karaoke quality is UVR

Use Cases

Making karaoke accompaniment โ€” remove lead vocals only with UVR (keep chorus) Making MR โ€” remove all vocals with Demucs Instrument practice โ€” remove specific parts with Demucs 4-stem