|
1 | | -# spleeter |
| 1 | +<img src="https://github.com/deezer/spleeter/raw/master/images/spleeter_logo.png" height="80" /> |
2 | 2 |
|
3 | | -<img src=images/spleeter_logo.png height=100> |
| 3 | +[](https://badge.fury.io/py/spleeter)  |
4 | 4 |
|
| 5 | +## About |
5 | 6 |
|
6 | | -spleeter will be made available soon! |
| 7 | +**Spleeter** is the [Deezer](https://www.deezer.com/) source separation library with pretrained models |
| 8 | +written in [Python](https://www.python.org/) and uses [Tensorflow](tensorflow.org/). It makes it easy |
| 9 | +to train source separation model (assuming you have a dataset of isolated sources), and provides |
| 10 | +already trained state of the art model for performing various flavour of separation : |
| 11 | + |
| 12 | +* Vocals (singing voice) / accompaniment separation ([2 stems](https://github.com/deezer/spleeter/wiki/2.-Getting-started#using-2stems-model)) |
| 13 | +* Vocals / drums / bass / other separation ([4 stems](https://github.com/deezer/spleeter/wiki/2.-Getting-started#using-4stems-model)) |
| 14 | +* Vocals / drums / bass / piano / other separation ([5 stems](https://github.com/deezer/spleeter/wiki/2.-Getting-started#using-5stems-model)) |
| 15 | + |
| 16 | +2 stems and 4 stems models have state of the art performances on the |
| 17 | +[musdb](https://sigsep.github.io/datasets/musdb.html) dataset. It is also very fast as |
| 18 | +it can perform separation of audio files to 4 stems 100x faster than real-time when run on a *GPU*. |
| 19 | +We designed it so you can use it straight from [command line](https://github.com/deezer/spleeter/wiki/2.-Getting-started#usage) |
| 20 | +as well as directly in your own development pipeline as a |
| 21 | +[Python library](https://github.com/deezer/spleeter/wiki/4.-API-Reference#separator) |
| 22 | + |
| 23 | +**Spleeter** can be installed with [Conda](https://github.com/deezer/spleeter/wiki/1.-Installation#using-conda), |
| 24 | +with [pip](https://github.com/deezer/spleeter/wiki/1.-Installation#using-pip) or be used with |
| 25 | +[Docker](https://github.com/deezer/spleeter/wiki/2.-Getting-started#using-docker-image). |
| 26 | + |
| 27 | +## Quick start |
| 28 | + |
| 29 | +Want to try it out ? Just clone the repository and install a |
| 30 | +[Conda](https://github.com/deezer/spleeter/wiki/1.-Installation#using-conda) |
| 31 | +environment to start separating audio file as follows: |
| 32 | + |
| 33 | +```bash |
| 34 | +$ git clone https://github.com/Deezer/spleeter |
| 35 | +$ conda env create -f spleeter/conda/spleeter-cpu.yaml |
| 36 | +$ conda activate spleeter-cpu |
| 37 | +$ spleeter separate -i spleeter/audio_example.mp3 -p spleeter:2stems -o output |
| 38 | +``` |
| 39 | +You should get two separated audio files (`vocals.wav` and `accompaniment.wav`) |
| 40 | +in the `output/audio_example` folder. |
| 41 | + |
| 42 | +For a more detailed documentation, please check the [repository wiki](https://github.com/deezer/spleeter/wiki) |
| 43 | + |
| 44 | +## Reference |
| 45 | +If you use **Spleeter** in your work, please cite: |
| 46 | + |
| 47 | +``` |
| 48 | +@misc{spleeter2019, |
| 49 | + title={Spleeter: A Fast And State-of-the Art Music Source Separation Tool With Pre-trained Models}, |
| 50 | + author={Romain Hennequin and Anis Khlif and Felix Voituret and Manuel Moussallam}, |
| 51 | + howpublished={Late-Breaking/Demo ISMIR 2019}, |
| 52 | + month={November}, |
| 53 | + year={2019} |
| 54 | +} |
| 55 | +``` |
| 56 | + |
| 57 | +## License |
| 58 | +The code of **Spleeter** is MIT-licensed. |
| 59 | + |
| 60 | +## Note |
| 61 | +This repository include a demo audio file `audio_example.mp3` which is an excerpt |
| 62 | +from Slow Motion Dream by Steven M Bryant (c) copyright 2011 Licensed under a Creative |
| 63 | +Commons Attribution (3.0) license. http://dig.ccmixter.org/files/stevieb357/34740 |
| 64 | +Ft: CSoul,Alex Beroza & Robert Siekawitch |
0 commit comments