split API into MIDIFile / MIDISequence