Preview of MIDI AutocompleteOpen simedw.com

simedw.com/2026/08/20/midi-autocomplete

MIDI Autocomplete

A 125M-parameter transformer that autocompletes piano performances in real time on-device, similar to Copilot for MIDI input.

Visit project

Show me a random project

First shared
Aug 20, 2026
HN activity
598117

Show HN@simedwAug 20, 2026

Show HN: I trained a 125M model to autocomplete piano on-device

I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.

Community

Hacker News discussion

Loading the thread…