spleeter

Deezer source separation library including pretrained models.

Github星跟蹤圖

CircleCI PyPI - Python Version PyPI version Conda Docker Pulls Open In Colab Gitter chat

About

Spleeter is the Deezer source separation library with pretrained models
written in Python and uses Tensorflow. It makes it easy
to train source separation model (assuming you have a dataset of isolated sources), and provides
already trained state of the art model for performing various flavour of separation :

  • Vocals (singing voice) / accompaniment separation (2 stems)
  • Vocals / drums / bass / other separation (4 stems)
  • Vocals / drums / bass / piano / other separation (5 stems)

2 stems and 4 stems models have state of the art performances on the musdb dataset. Spleeter is also very fast as it can perform separation of audio files to 4 stems 100x faster than real-time when run on a GPU.

We designed Spleeter so you can use it straight from command line
as well as directly in your own development pipeline as a Python library. It can be installed with Conda,
with pip or be used with
Docker.

Quick start

Want to try it out ? Just clone the repository and install a
Conda
environment to start separating audio file as follows:

git clone https://github.com/Deezer/spleeter
conda install -c conda-forge spleeter
spleeter separate -i spleeter/audio_example.mp3 -p spleeter:2stems -o output

You should get two separated audio files (vocals.wav and accompaniment.wav)
in the output/audio_example folder.

Windows users

It appears that sometimes the shortcut command spleeter does not work properly on windows. This is a known issue that we will hopefully fix soon. In the meantime replace spleeter separate by python -m spleeter separate in the above line and it should work.

For a more detailed documentation, please check the repository wiki

Want to try it out but don't want to install anything ? we've setup a Google Colab

Reference

If you use Spleeter in your work, please cite:

@misc{spleeter2019,
  title={Spleeter: A Fast And State-of-the Art Music Source Separation Tool With Pre-trained Models},
  author={Romain Hennequin and Anis Khlif and Felix Voituret and Manuel Moussallam},
  howpublished={Late-Breaking/Demo ISMIR 2019},
  month={November},
  note={Deezer Research},
  year={2019}
}

License

The code of Spleeter is MIT-licensed.

Disclaimer

If you plan to use Spleeter on copyrighted material, make sure you get proper authorization from right owners beforehand.

Note

This repository include a demo audio file audio_example.mp3 which is an excerpt
from Slow Motion Dream by Steven M Bryant (c) copyright 2011 Licensed under a Creative
Commons Attribution (3.0) license. http://dig.ccmixter.org/files/stevieb357/34740
Ft: CSoul,Alex Beroza & Robert Siekawitch

主要指標

概覽
名稱與所有者deezer/spleeter
主編程語言Python
編程語言Dockerfile (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2019-09-26 15:40:46
推送於2025-04-02 16:22:20
最后一次提交2025-04-02 18:22:19
發布數2
最新版本名稱v2.3.0 (發布於 )
第一版名稱v1.4.0 (發布於 )
用户参与
星數26.8k
關注者數389
派生數2.9k
提交數540
已啟用問題?
問題數787
打開的問題數226
拉請求數51
打開的拉請求數34
關閉的拉請求數42
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?