Add a method to get the current MIDI state