Spleeter
Deezer's pretrained source-separation library (2/4/5 stems) built on TensorFlow.
| Language | Python |
|---|---|
| Category | ML & generative |
| License | MIT |
| Platforms | macOS Windows Linux |
| Install | pip install spleeter |
| First released | 2019 |
| Maintained | Yes |
| Links | Website · Source |
Strengths
- Very fast separation, faster than realtime on GPU
- Simple API/CLI with pretrained 2/4/5-stem models
- Widely adopted and well documented
Limitations
- Separation quality below newer models such as Demucs
- Ageing TensorFlow-era stack with heavy dependencies
Best for
Fast batch stem separation when speed matters more than peak quality.
Minimal example
from spleeter.separator import Separator
separator = Separator("spleeter:2stems")
separator.separate_to_file("audio.mp3", "output/")