$ luarocks install luamidi
LuaMidi is a library to write MIDI programmatically in Lua. It is designed to produce from simple single-track note-only MIDI, to complete multi-track, featuring arpeggios and chords, with any metadata embedded MIDI files.
Versions
Dependencies
lua >= 5.1, < 5.4