This is a tool to convert MIDI files into the binary format interpreted by ELM ChaN's wavetable synth for ATtiny45. Replace the contents of melody.asm with the generated output.

Drag and drop a midi file here to convert

Size limit:
(For ATtiny85, remember to change line 303 of mg.asm to .org 3584 in order to move the wavetables to the end)

Generate output