midilib is a pure Ruby MIDI library useful for reading and writing standard MIDI files and manipulating MIDI sequences, tracks, and event data.