Skip to main content

Vocal remover.

Project description

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.

[!WARNING] This is an experimental feature. If you get any problems with this option, please disable it.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vocal_remover-0.0.6.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vocal_remover-0.0.6-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file vocal_remover-0.0.6.tar.gz.

File metadata

  • Download URL: vocal_remover-0.0.6.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for vocal_remover-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f0da302f37dc000d2ff64ebef3ae4e84d5c2790b9aa1206ae70e79374e420a82
MD5 044df00c7f9194c8e4ddd641ee6f3ef5
BLAKE2b-256 1eb4f44d5b0800b730f73d37a79fa458f57685967226458074439a89331a805a

See more details on using hashes here.

File details

Details for the file vocal_remover-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: vocal_remover-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for vocal_remover-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4afb17df516c8b9c245410f3f30e62b86dd989d40d28149d5c85de3615fa7fd9
MD5 7470649a1921f9be3d8b0d5a0223f110
BLAKE2b-256 db3f7e9d10383dbe41d6d9760d0ab505441754029433b75322b9d6723a7ea8df

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page