med-module (hackage): MED (Music EDitor) and its successor OctaMED were popular music trackers on the Amiga: https://en.wikipedia.org/wiki/OctaMED. This is a library for parsing the binary module data.  With the Cabal flag -fbuildExamples you can build two example programs:  unmed2: Loads song module files and show their content on standard output.  animed: Create a PostScript document showing how a song is played. Also creates an FFmpeg cue file for the concat input type. This way you can create videos with MED music plus precisely timed animations of the played tracks. See the included Makefile for the command calls for creation of complete music videos from MMD files.
Keywords: gpl|library|sound