Update MIDIFunctions.java