MidiInput.plug(Object object, String methodName)


Object object: Callback object

String methodName: Name of the method of the callback object that will be called by the input

Register a callback method for all MIDI messages received on this input.