A modern desktop GUI for Music-Source-Separation-Training (MSST) by ZFTurbo, built with PySide6 and styled after mvsep.com.
Separate audio into stems (vocals, instrumental, drums, bass, guitar, piano, …) with state-of-the-art Roformer, MDX, Demucs, SCNet, Apollo and Bandit models — no command line required.
The app vendors ZFTurbo's MSST scripts (inference.py, train.py, valid.py, ensemble.py plus utils/ / models/ / configs/). Jobs spawn those local files; this is not a wrapper around pip install msst.
- Inference — drop or browse audio files (WAV, FLAC, MP3, …), pick a model from the library (grouped by architecture), choose quality (FLAC 16-bit, FLAC 24-bit, or WAV 32-bit float), stems, TTA and device (GPU/CPU auto-detected).
- Training — train or fine-tune any MSST architecture from the GUI: pick a config, dataset, validation set and checkpoint, tune batch size / learning rate / losses / metrics, and watch progress, validation metrics and the log live (runs
train.pyfrom ZFTurbo's repo). - Auto Ensemble — select a target stem type and every compatible registered model is combined automatically.
- Manual Ensemble — combine custom model outputs with per-file weights and selectable ensemble algorithms.
- Iterative Ensemble — multi-pass refinement through local models and the MVSep API for maximum-spec results.
- Console — live processing log plus per-song result cards with color-coded stem waveforms, playback and output file access.
- Model Manager — browse the community model index straight from HuggingFace, download with progress tracking, or register local checkpoints / download from a URL.
- Dark & light theme with a one-click switch (mvsep.com-styled palettes, bundled Montserrat font).
- Native-window feel: frameless chrome, edge resizing, maximize/restore — and a settings editor for per-checkpoint parameters.
- Windows 10/11 (tested); anything that runs PySide6 + PyTorch should work
- Python 3.10+ (3.11 recommended)
- NVIDIA GPU with CUDA for GPU inference (CPU-only works too, just slower)
- Run
run_install.bat— creates a virtual environment, installs PyTorch with CUDA 12.8 support and all dependencies. - Run
run_gui.batto start the GUI.
python -m venv .venv
.venv\Scripts\activate
# GPU build of PyTorch first (otherwise the requirements pull the CPU-only wheel):
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128
pip install -r requirements_gui.txt
python main.pyThe Training tab wraps train.py / valid.py from Music-Source-Separation-Training:
- Pick a model config (
configs/…yaml), a results folder, the training data folder(s) and the validation folder (MUSDB layout withmixture.wav, see the ⓘ on Dataset type). - Adjust the training settings (batch size, learning rate, epochs, optimizer, loss functions, validation metrics) — the values are read from the YAML and written back into
results/train_config_<model>.yamlfor the run. - Optionally resume from a checkpoint (Latest picks the newest one in the results folder) and set GPUs / workers / seed, launcher (Standard / DDP / Accelerate), LoRA, freeze layers and wandb in GPUs / Workers / Seed.
- Start Training — the monitor shows step progress, validation metrics per epoch and the log (
results/train_log.txt). Checkpoints land in the results folder and can be registered in Settings for inference.
The job runs under the same private runtime as inference (no torch in the GUI process).
The utils/, models/, configs/, docs/ and scripts/ trees plus train.py, valid.py, inference.py and ensemble.py are vendored from Music-Source-Separation-Training (its README is at docs/README_MSST.md; packaged-API docs live under docs/cli.md and docs/python_api.md). We do not depend on the PyPI msst wheel.
Open Settings → Register Model → Model Manager to browse the community model index from HuggingFace and download models with one click. Alternatively register a local checkpoint (Local Files) or fetch one from a direct URL (Download from URL).
Downloads and registered models are stored under models/; your settings and registrations live in msst_settings.json (both are user data — keep them out of any published repo, see .gitignore).
Build a self-contained Windows app with:
python tools/prepare_runtime.py # once: bundles an embedded Python (pip included)
pyinstaller MSST-GUI.spec --noconfirmOr everything in one step (app + installer, requires Inno Setup 6):
tools\build_all.batThe result in dist/MSST-GUI/ needs no Python installed; MSST-GUI-Setup-*.exe is a per-user installer (Start-menu + optional desktop shortcuts, clean uninstaller that preserves your models and settings). Separation jobs run under a private runtime (runtime/ next to the exe) that is provisioned on first use:
- RTX 50-series and newer → PyTorch CUDA 12.8 wheels
- GTX 10-series through RTX 40-series → PyTorch CUDA 12.1 wheels
- no NVIDIA GPU → CPU wheels
One PyTorch build cannot cover both Pascal and Blackwell, so the download (~2.5–3 GB, once) is picked for the detected GPU when you start your first job.
├── main.py # GUI entry point
├── inference.py # separation runner (spawned per job)
├── ensemble.py # ensemble runner
├── train.py # training runner (MSST train.py, spawned by the TRAINING tab)
├── valid.py # validation used by train.py
├── ui/ # PySide6 interface (pages, widgets, theme)
├── backend/ # runners, model manager, settings store, MVSep client
├── models/ # per-architecture model code + your checkpoints
├── configs/ # model YAML configs
├── utils/ # audio helpers
├── resources/ # fonts, icons, global stylesheet
└── tests/ # pytest suite
The app writes msst-gui.log next to the executable (rotated at 2 MB). It
captures Python errors, Qt warnings and the update check. To see output live
in your terminal instead:
MSST-GUI.exe --consolepytest tests- Roman Solovyev (ZFTurbo) — Music-Source-Separation-Training, inference & ensemble tooling
- mvsep.com — visual design reference
- Montserrat — bundled font, SIL Open Font License 1.1
- neo for supplying 99% of the sourcecode
