MIDI file consistency implementing