Skip to content

Midi2lua ((link))

-- Process the MIDI file data for i, event in ipairs(midi_data) do if event.type == "note_on" then note_on(event.channel, event.note, event.velocity) elseif event.type == "note_off" then note_off(event.channel, event.note, event.velocity) elseif event.type == "pitch_bend" then pitch_bend(event.channel, event.value) end end

Whether you are a modder for a popular rhythm game, a developer building an interactive music system in , LÖVE (Love2D) , or Defold , or an artist trying to trigger lighting cues via a MIDI controller, midi2lua is the unsung hero of the workflow. midi2lua

Perfect for creating "Auto-Piano" scripts that handle complex chords and fast-paced melodies that are physically impossible to play on a standard keyboard. How it Works Select Your Track: Find a MIDI file of your favorite song. Run it through the midi2lua converter Paste the resulting Lua code into your script editor. A Word on the Community -- Process the MIDI file data for i,