Reading the repo
Opening the box…
Reading the repo
Opening the box…
Assembly instructions
Tsumugi — Audio-to-MIDI Transcription
Saved setup from 6 h ago
Will it work on macOS?
--device defaults to auto and selects the first available backend in this order: CUDA → MPS → CPU. If an explicitly requested backend is unavailable, inference fails instead of silently falling back.
python -m instrument_agnostic_amt.amt.cli.infer --audio input_song.wav # auto
python -m instrument_agnostic_amt.amt.cli.infer --audio input_song.wav --device mps # Apple Silicon GPU
python -m instrument_agnostic_amt.amt.cli.infer --audio input_song.wav --device cpu
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Compare yours with the README's “Device selection” list above before installing anything.
Needs Git: xcode-select --install
git clone https://github.com/anime-song/tsumugi.git cd tsumugi
Python 3.12
brew install uv
uv sync
uv run pytest
The easiest way to get started is Colab_Inference.ipynb: upload a song, run the cells, and download the MIDI. No local setup or checkpoint search required.
To run locally:
git clone https://github.com/anime-song/tsumugi.git
cd tsumugi
uv sync --locked
uv run python -m instrument_agnostic_amt.amt.cli.infer --audio input_song.wav
The checkpoint is downloaded from Hugging Face on the first run.
No reports for macOS yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.