audio-separation
Local audio source separation. Drums, Bass, Vocal and other.
Requirements
- Python 3.11–3.14
- FFmpeg (
brew install ffmpeg/apt install ffmpeg)
Install
pip install audio-separation
Usage
audio-separation "track.mp3" ./outputs/
audio-separation "track.mp3" ./outputs/ --device cuda
audio-separation "track.mp3" ./outputs/ --device mps
Output files are saved as <track>_<stem>.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/audio-separation
cd audio-separation
poetry install
poetry run audio-separation "inputs/Alucinados.mp3" "outputs"
Extending with a new package
poetry add [packagename]
# Check the CLI is still working
poetry run audio-separation "inputs/Alucinados.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
Metadata
Release files for audio-separation 0.1.5
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 | |
|---|---|---|---|---|
| audio_separation-0.1.5.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| audio_separation-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / audio_separation-0.1.5.tar.gz
| Download URL | audio_separation-0.1.5.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba9779295fc45c1fde2e93b45d9ad71652ba862a0f27d37b04eff9656fbc59f2
|
|
BLAKE2b-256 checksum How to use checksums |
e6a18a20895a334bb3f1a16a21e2f3613c56932ef8722e80250fb78d9a934f97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.11.15 Linux/6.14.0-1017-azure
|
Release files / audio_separation-0.1.5-py3-none-any.whl
| Download URL | audio_separation-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04d8b501697f7e85dc22c37f6177abcb72c0bd5dae57dec20f4be75d56ee9d9b
|
|
BLAKE2b-256 checksum How to use checksums |
97138f9fe14435ea33fc06c275ecab1de791d212793c4bf530fe19a703ec63d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.3.2 CPython/3.11.15 Linux/6.14.0-1017-azure
|
Security for audio-separation 0.1.5
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.