vocal-remover
This is a deep-learning-based tool to extract instrumental track from your songs.
Installation
Getting vocal-remover
Download the latest version from here.
Install PyTorch
See: GET STARTED
Install the other packages
cd vocal-remover
pip install -r requirements.txt
Usage
The following command separates the input into instrumental and vocal tracks. They are saved as *_Instruments.wav and *_Vocals.wav.
Run on CPU
python inference.py --input path/to/an/audio/file
Run on GPU
python inference.py --input path/to/an/audio/file --gpu 0
Advanced options
--tta option performs Test-Time-Augmentation to improve the separation quality.
python inference.py --input path/to/an/audio/file --tta --gpu 0
--postprocess option masks instrumental part based on the vocals volume to improve the separation quality.
python inference.py --input path/to/an/audio/file --postprocess --gpu 0
Train your own model
Place your dataset
path/to/dataset/
+- instruments/
| +- 01_foo_inst.wav
| +- 02_bar_inst.mp3
| +- ...
+- mixtures/
+- 01_foo_mix.wav
+- 02_bar_mix.mp3
+- ...
Train a model
python train.py --dataset path/to/dataset --mixup_rate 0.5 --reduction_rate 0.5 --gpu 0
References
- [1] Jansson et al., "Singing Voice Separation with Deep U-Net Convolutional Networks", https://ejhumphrey.com/assets/pdf/jansson2017singing.pdf
- [2] Takahashi et al., "Multi-scale Multi-band DenseNets for Audio Source Separation", https://arxiv.org/pdf/1706.09588.pdf
- [3] Takahashi et al., "MMDENSELSTM: AN EFFICIENT COMBINATION OF CONVOLUTIONAL AND RECURRENT NEURAL NETWORKS FOR AUDIO SOURCE SEPARATION", https://arxiv.org/pdf/1805.02410.pdf
- [4] Choi et al., "PHASE-AWARE SPEECH ENHANCEMENT WITH DEEP COMPLEX U-NET", https://openreview.net/pdf?id=SkeRTsAcYm
- [5] Jansson et al., "Learned complex masks for multi-instrument source separation", https://arxiv.org/pdf/2103.12864.pdf
- [6] Liutkus et al., "The 2016 Signal Separation Evaluation Campaign", Latent Variable Analysis and Signal Separation - 12th International Conference
Metadata
Release files for vocal-remover 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vocal_remover-0.0.6.tar.gz | 12.4 kB | Without provenance | Details for vocal_remover-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vocal_remover-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for vocal_remover-0.0.6-py3-none-any.whl |
Total release size: 25.1 kB
Release files / vocal_remover-0.0.6.tar.gz
| Download URL | vocal_remover-0.0.6.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f0da302f37dc000d2ff64ebef3ae4e84d5c2790b9aa1206ae70e79374e420a82
|
|
BLAKE2b-256 checksum How to use checksums |
1eb4f44d5b0800b730f73d37a79fa458f57685967226458074439a89331a805a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.0
|
Release files / vocal_remover-0.0.6-py3-none-any.whl
| Download URL | vocal_remover-0.0.6-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4afb17df516c8b9c245410f3f30e62b86dd989d40d28149d5c85de3615fa7fd9
|
|
BLAKE2b-256 checksum How to use checksums |
db3f7e9d10383dbe41d6d9760d0ab505441754029433b75322b9d6723a7ea8df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.0
|
Security for vocal-remover 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.