AI Music Remixer
AI-powered intelligent music remixer with optional neural transitions.
Features
- Intelligent audio remixing using Spleeter for stem separation
- Optional PyTorch-based neural transition model for smoother transitions
- Beat-synchronized remixing with automatic tempo detection
- Command-line interface for easy usage
- Safe fallback to deterministic smoothing if neural model is unavailable
Installation
pip install ai_music_remixer
For GPU support (optional):
pip install ai_music_remixer[gpu]
Usage
Command Line
Basic remix:
ai-remix input.mp3 -o output.wav
Beat-synchronized remix:
ai-remix input.mp3 --beats -o output.wav
With custom BPM:
ai-remix input.mp3 --beats --bpm 120 -o output.wav
Python API
from ai_music_remixer import ai_remix, ai_remix_beatsync
# Basic remix
ai_remix("input.mp3", "output.wav")
# Beat-synchronized remix
ai_remix_beatsync("input.mp3", "output.wav", beats_per_minute=120)
Neural Transition Model
The package includes an optional PyTorch-based neural transition model. If you place a trained checkpoint file at models/transition_ckpt.pt, the remixer will automatically use it for smoother transitions. Without a checkpoint, the package falls back to deterministic Gaussian smoothing.
To train a model (requires PyTorch):
python -m ai_music_remixer.neural.train_transition
Requirements
- Python >= 3.8
- pydub
- librosa
- soundfile
- spleeter
- numpy
- scipy
Optional:
- torch (for neural transitions)
License
MIT
Metadata
Release files for ai-music-remixer 3.0.0
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 | Actions |
|---|---|---|---|---|
| ai_music_remixer-3.0.0.tar.gz | 6.6 kB | Without provenance | Details for ai_music_remixer-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_music_remixer-3.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for ai_music_remixer-3.0.0-py2.py3-none-any.whl |
Total release size: 14.2 kB
Release files / ai_music_remixer-3.0.0.tar.gz
| Download URL | ai_music_remixer-3.0.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86816986ee80da432de20f5806adcd5c75e4eda630b09634451b97d956d00c7b
|
|
BLAKE2b-256 checksum How to use checksums |
e5ad857866951afa2081c65e947a38acb2f0996e3f1a3c8b41dec3d6432dd347
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / ai_music_remixer-3.0.0-py2.py3-none-any.whl
| Download URL | ai_music_remixer-3.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
59ba1ca6a0b624f5dc101319d38fa86bffa52c943acedca75b186ea1b82b846d
|
|
BLAKE2b-256 checksum How to use checksums |
e3b5c8455c23dd0b91099435fb5ddf76ee8c2451d6fd5b4a9de5e75101a664d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for ai-music-remixer 3.0.0
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.