Local vocal removal
Project description
voice-remover
Local vocal removal and audio source separation.
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/.
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 |
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file voice_remover-0.1.6.tar.gz.
File metadata
- Download URL: voice_remover-0.1.6.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13dc29e23defdbe601357292ac52db2c45b337214c1ce1ef437704e3b200dc56
|
|
| MD5 |
9fbb13a2e16e7b49fe73430b3ef788c7
|
|
| BLAKE2b-256 |
903e3d7dd8640626f658671268f9dadf42d5604e1a187cd24c1454f418df8c0e
|
File details
Details for the file voice_remover-0.1.6-py3-none-any.whl.
File metadata
- Download URL: voice_remover-0.1.6-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
317c98d0d4ec91efa5229b3cad76f92021832b0ebee79540d75bfb2dbac6206f
|
|
| MD5 |
bb854f51868cbf9b4217480817f6dba8
|
|
| BLAKE2b-256 |
495676a9e1de089864feeb6713c6f5b98ce7687635e5027d4e83861503a78993
|