MiniMidi


- Parses a MIDI file
- For each track, the "noteOn" events are saved as [deltaTime, value].
- deltaTime x 10 is the number of milliseconds since the last event (for the first note, last event is the beginning of the song).
- All other events are ignored. Note duration and volume are ignored too (uncomment "noteOff" and "velocity" in the code" if you need them).

Examples:

JSON:


ASCII (one line per track):



Golfed player (586b with miniPiano):