nomadkaraoke/python-audio-separator
Easy to use stem (e.g. instrumental/vocals) separation from CLI or as a python package, using a variety of amazing pre-trained models (primarily from UVR)
What it solves
Audio Separator splits an audio file into separate "stems" — for example, isolating the vocals from the instrumental track, or extracting drums, bass, piano, or guitar. This is useful for making karaoke tracks, remixing, or cleaning up audio.
How it works
It uses pre-trained machine-learning models (MDX-Net, VR Arch, Demucs, and MDXC) originally built for the Ultimate Vocal Remover project. You give it an audio file and optionally pick a model; it automatically downloads the model if needed, runs the separation, and writes out new audio files for each stem. It works from the command line or as a Python library, and can use hardware acceleration (NVIDIA CUDA, Apple Silicon, or Windows DirectML) when available.
Who it’s for
Karaoke creators, musicians, audio hobbyists, and developers who want to integrate stem separation into their own Python projects or scripts. It’s also handy for batch processing many files.
Highlights
- Separates audio into multiple stems (vocals, instrumental, drums, bass, etc.)
- Supports common audio formats (WAV, MP3, FLAC, M4A, etc.)
- Command-line interface for scripting and batch processing
- Python API for embedding in other applications
- Automatically downloads models on first use
- Works with CPU, NVIDIA GPU (CUDA), Apple Silicon (MPS/CoreML), and Windows AMD/Intel GPUs (DirectML, experimental)
- Docker images available for easy deployment
- Can list and filter available models by stem type and performance
Related
- Dispatch
- Project
- Project
- Project
- Project