Introduction to Spleeter
Spleeter is an innovative source separation library developed by Deezer. It leverages the power of TensorFlow and is designed to facilitate the separation of audio sources, such as vocals and instruments, from mixed audio tracks. With its pretrained models, Spleeter allows users to perform complex audio processing tasks with ease.

Main Features of Spleeter
- Multiple Separation Models: Spleeter offers various models for different separation tasks, including:
- 2 stems for vocals and accompaniment.
- 4 stems for vocals, drums, bass, and other instruments.
- 5 stems for a more detailed separation including piano.
- High Performance: Achieve separation speeds up to 100x faster than real-time on a GPU.
- Easy Integration: Use Spleeter directly from the command line or integrate it into your Python applications.
- Community Support: A vibrant community and numerous projects built on top of Spleeter.
Technical Architecture and Implementation
Spleeter is built using Python and utilizes TensorFlow for its machine learning capabilities. The architecture is designed to be modular, allowing for easy updates and enhancements. The core functionality revolves around pretrained models that can be fine-tuned or used as-is for various audio separation tasks.
Setup and Installation Process
To get started with Spleeter, follow these simple installation steps:
# Install dependencies using conda
conda install -c conda-forge ffmpeg libsndfile
# Install spleeter with pip
pip install spleeter
# Download an example audio file
wget https://github.com/deezer/spleeter/raw/master/audio_example.mp3
# Separate the example audio into two components
spleeter separate -p spleeter:2stems -o output audio_example.mp3
For detailed installation instructions, refer to the official documentation.
Usage Examples and API Overview
Once installed, you can easily use Spleeter to separate audio tracks. Here’s a quick example:
# Separate an audio file into vocals and accompaniment
spleeter separate -p spleeter:2stems -o output audio_example.mp3
For more advanced usage, you can explore the API documentation available in the wiki.
Community and Contribution Aspects
Spleeter has a thriving community of developers and users. If you’re interested in contributing, check out the contributing guidelines. You can also join discussions on platforms like Gitter.
License and Legal Considerations
Spleeter is released under the MIT License, allowing for free use, modification, and distribution. However, users should ensure they have the proper rights to any copyrighted material they process.
Project Roadmap and Future Plans
The Spleeter team is continuously working on improving the library, with plans for future updates that may include enhanced models, better performance, and additional features. Stay tuned for updates on the GitHub repository.
Conclusion
Spleeter is a powerful tool for anyone looking to perform audio source separation. Its ease of use, high performance, and active community make it an excellent choice for developers and audio engineers alike.
FAQ Section
What is Spleeter?
Spleeter is an open-source library developed by Deezer for audio source separation, allowing users to isolate vocals and instruments from audio tracks.
How do I install Spleeter?
You can install Spleeter using pip or conda. Detailed instructions are available in the official documentation.
Can I contribute to Spleeter?
Yes! Spleeter welcomes contributions. You can find the guidelines on the GitHub repository.