mason369/music-to-midi
音乐转MIDI转换器 - Convert audio to multi-track MIDI with lyrics embedding
What it solves
It solves the need to turn audio files (MP3, WAV, FLAC, OGG, M4A) into editable MIDI files. This is useful for music producers, transcribers, and pianists who want to capture melodies, arrangements, or practice from existing recordings. It also offers stem separation (vocals, accompaniment, or six tracks) and several piano-specific transcription models.
How it works
The tool processes audio through various AI models. It has seven processing modes: full-mix multi-instrument transcription (using YourMT3+, MIROS, or MuScriptor), vocal/accompaniment splitting (using Leap models), six-stem splitting (bass, drums, guitar, piano, vocals, other), and four piano-specific transcription pipelines (TransKun, TransKun V2 Aug, Aria-AMT, ByteDance with pedal). You can run it via a desktop app (PyQt6), a CLI, a Gradio web interface, Google Colab, or a standalone web API. The CLI supports batch processing, JSON output, and caching with SHA-256 checks. The tool also includes tempo detection, optional quantisation, and sheet music export.
Who it’s for
It’s for musicians, producers, and researchers who want to convert audio to MIDI locally. The README mentions arranging, transcribing, sample splitting, piano practice, and automatic music transcription (AMT) experiments. It requires some technical setup for the CLI and web API, but the desktop app is user-friendly. It also supports GPU acceleration for faster inference.
Highlights
- Seven processing modes: full-mix transcription, stem separation, and multiple piano-specific models.
- Local-first: runs on your own machine, with options for GPU acceleration.
- Multiple frontends: desktop (PyQt6), web (Gradio), CLI, Google Colab, and standalone web API.
- Batch processing with recursive directory scanning, JSON Lines output, and resumable jobs with integrity checks.
- Tempo detection, optional note quantisation, and sheet music export (MIDI, MusicXML, PDF).
- Piano-specific models: TransKun, TransKun V2 Aug, Aria-AMT, and ByteDance with pedal.
- MuScriptor integration with progressive preview and multiple model sizes.
Related
- Project
- Project
- Project
- Project