The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

Documentation

MIDI File Specification

Modules

read, compose, modify, and write MIDI files
MIDI events
functions and methods for MIDI opuses
MIDI scores
procedural/OOP interface for MIDI composition
functions and methods for MIDI tracks