a midifile parsing library