dettato
Turn any recording into a MIDI file, one track per instrument — a 20M-parameter model that beats a 1.3B one.
Project intro
dettato turns a recording into a MIDI file, with one track for each instrument and a drum track. Give it a song and it writes the notes out — no sheet music, no manual transcription, just the audio in and a playable MIDI file out.
It is four small models in a chain: a transcriber (15.3M parameters) that finds the notes, an evidence repairer (4.9M) that fixes them, a grouper (2.9M) that sorts them into instrument tracks, and a drum model (5.0M) that writes the drums. The whole thing is about 20 million parameters — and on nine public benchmark sets it scores 59.2 composite F1, against 45.1 for MuScriptor 1.3B, the next best open model, which is about 65 times bigger. On the three sets the closed model Mirelo A2M v1.1 Pro publishes, dettato scores 60.8 to Mirelo's 56.1.
It is a tool you can actually run: pip install from PyPI (version 2.0.1), four models on Hugging Face with 15,000–19,000 downloads each, and the code and weights under Apache-2.0, so commercial use is fine. It was trained without copyrighted recordings — synthetic instruments and CC-licensed data only — and it already has 376 stars.
Honest limits: the author says so himself — sorting notes into the right instrument track is the weakest step, and on jazz recordings a quarter of the saxophone notes can land in the piano track. It also writes performance MIDI, keeping the timing of the recording rather than quantizing to a beat, so if you want sheet music to play from, a tool like Songscription or Klangio is a better fit.
Actions
Tech stack
Project info
- Project category
- Music & Audio
- Project status
- Online
- Collaboration intent
- None