MidiInput.plug(Object object, String methodName, int channel)


Object object: Callback object

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

int channel: Channel on which the messages are going to be received

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