There are still some issues I need to fix, mainly around timing conversion between MIDI and dmusic. Right now MIDI files seem to be cut off before the end is reached.
Please have a look at the general approach in the meantime, I need to know if this is the right way to do this or not.
-- v2: dmime: Synthesize a band track for MIDI segments. dmband: Implement setting GUID_BandParam on band tracks. dmime/test: Add test for getting band track from midi file. dmime/test: add MIDI loading test dmime: Implement getting tempo param for MIDI tracks. dmime: Parse MIDI files. dmime: Add stubs for MIDI tracks