function |
A Function to be evaluated. Arguments passed to the function are: src, chan, value. |
src |
The src number may be the system UID (obtained from |
chan |
An Integer between 0 and 15 that selects which MIDI channel to match. nil matches all. May also be a Function which will be evaluated to determine the match. eg: { |val| val < 2 } |
value |
An Integer between 0 and 127 that selects which program change number to match. nil matches all. May also be a Function which will be evaluated to determine the match. eg: { |val| val >= 4 } |
install |
If true, then if the midi event is matched, cease testing any further responders. Note that doing this will prevent any other responders of this type from responding, including ones added behind the scenes in classes. Note also that this functionality is sensitive to the order in which responders are added. |