02Desktop software
Karaoke Maker
Split any song into vocals and instrumental, offline, on a Windows PC or an Android phone.
- Status
- Working · personal tool
- Platform
- Windows (Python) · Android (Kotlin)
- Period
- 2026
- Role
- Sole developer — direction, benchmarking decisions, testing by ear and by numbers. Built with AI-assisted development.
Source code isn't public.
- 3-min song, Fast mode (RTX 4050)
- ~20 s
- 3-min song, Best mode
- ~70 s
- instrumental SDR, Best mode
- 16.20 dB
- separation setups benchmarked
- 11
01
Overview
A vocal-separation tool with two clients that share one validated pipeline: a Windows app that runs on an NVIDIA GPU, and an Android app that runs the same model on the phone. Every engine choice was made from measured benchmarks, not guesses.
02
The problem
Making a karaoke track usually means uploading a song to an online service. The goal was a tool that produces a clean instrumental and a vocal track on your own machine, with no upload and no account.
03
What it does
- Windows desktop app: pick a song, choose Fast or Best, get Instrumental and Vocals MP3s; cancel at any time
- A command-line interface for the same engine
- Android app with a background job, so separation keeps running when the screen is off
- One-time model download, SHA-256 verified; everything after that is offline
- A research harness that benchmarks separation models on 50 reference tracks
04
How it works
- 01
Decode
MP3 → 44.1 kHz stereo PCM (bundled FFmpeg on Windows; own decoder and sinc resampler on Android).
- 02
STFT
n_fft 7680, hop 1024, periodic Hann window; spectrogram chunks of ~5.9 s with 50 % overlap.
- 03
Model
A pre-trained MDX-Net network (ONNX Runtime — CUDA on the PC, CPU on the phone) predicts the vocals.
- 04
Reconstruct
Hann-weighted overlap-add, then instrumental = original mix − 1.009 × vocals, sample-exact in length and alignment.
- 05
Encode
Two-pass gain to avoid clipping, then MP3 (FFmpeg/LAME on Windows; LAME compiled through JNI on Android).
05
Decisions
Subtract, don't predict
Predicting vocals and subtracting them beat predicting the instrumental directly on 47 of 50 tracks — less damage to the instruments, tonal balance within 0.03 dB in the bass.
Ensembles rejected
Averaging two models doubled the compute for a median gain of 0.00 dB. Not worth it.
A quality mode on the PC
The desktop adds a Best mode (BS-RoFormer) that measured 16.20 dB instrumental SDR vs 14.88 dB, run in a child process so Cancel is instant and GPU memory is released.
Reference first, port second
The pipeline was first written as a numpy reference, checked against torch.stft (max error 1e-5), and only then ported to Kotlin.
06
Built with
07
How this was built
AI-assisted build
Karaoke Maker is vibe-coded: Claude, an AI coding assistant, wrote most of the code under my direction. I set the goals, chose what to measure, read the benchmark results, decided between engines and tested the output by listening. The neural networks themselves are open community models — not mine, and credited below.
Separation models: UVR MDX-Net Kim_Vocal_2 (Ultimate Vocal Remover / Kimberley Jensen) and BS-RoFormer (viperx). Benchmark data: MUSDB18, used locally for research only.