MidiInput.plug(Object obj, int channel)
Object obj: the object with standard callbacks
int channel: the channel on which to receive note and controller change messages
Register an object with standard midi callbacks on a specific channels. The callbacks are noteOnReceived(Note), noteOffReceived(Note), controllerChangeReceived(Controller), programChangeReceived(ProgramChange) and sysexReceived(SysexMessage).