Skip to main content

vocal-remover

Release Release

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

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)

Source distribution for vocal-remover 0.0.6
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)

Table of built distributions (wheels) for vocal-remover 0.0.6
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page