Skip to main content

Local vocal removal

Project description

voice-remover

Local vocal removal and audio source separation.

Install

pip install voice-remover

Usage

voice-remover "track.mp3" ./outputs/
voice-remover "track.mp3" ./outputs/ --device cuda
voice-remover "track.mp3" ./outputs/ --device mps

Output files are saved as <track>_no_vocals.mp3 in the specified directory.

Arguments

Argument Description
input_file Path to the input audio file
output_dir Directory where the output MP3 will be saved

Options

Flag Default Description
--device cpu Inference device: cpu, cuda, mps

Requirements

  • Python 3.11–3.14
  • FFmpeg (brew install ffmpeg / apt install ffmpeg)

Model weights download automatically on first run from Hugging Face (felipeinfantino/voice-remover). Cached at ~/.cache/voice-remover/models/.

Development

git clone https://github.com/felipeinfantino/voice-remover
cd voice-remover
poetry install
poetry run voice-remover "track.mp3" ./outputs/

Extending with new pagackage

poetry add [packagename]

#check the cli is still working
poetry run voice-remover "track.mp3" ./outputs/

# Verify lockfile is clean
poetry lock

# Bump version
poetry version patch   # or minor / major

Git build versioning

Let x.y.z be the new bumped version:

git tag v[x.y.z]
git push origin main --tags

License

MIT

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

voice_remover-0.1.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

voice_remover-0.1.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file voice_remover-0.1.5.tar.gz.

File metadata

  • Download URL: voice_remover-0.1.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.15 Linux/6.14.0-1017-azure

File hashes

Hashes for voice_remover-0.1.5.tar.gz
Algorithm Hash digest
SHA256 01f72bffd2126059e6e3678a2ecd1fe651bcf18da2d87ca378443c4be1d8ec0c
MD5 e72579659bc948c7c9095a4a4554a3f4
BLAKE2b-256 f5d31d70afe4e362ed6718e72380570ecd2c6bbec41803d842a40bfadcf01c9c

See more details on using hashes here.

File details

Details for the file voice_remover-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: voice_remover-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.11.15 Linux/6.14.0-1017-azure

File hashes

Hashes for voice_remover-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 08cc002eea4f698c44a02547bc228a77a44d468a855db33bc60bad3f4e5e3f4a
MD5 acb9df1df5ebc1f59cd140a6147f8775
BLAKE2b-256 f5c541763f5e9ac6419b63774a27729d8875095d7fc9a78517849462216fde15

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