This is used by MIDIMessageDispatcher to match incoming MIDI messages to instances of MIDIFunc or MIDIdef using message source. This class is private, and generally users should not need to address instances directly.
Make a new instance.
srcID |
The UID of the MIDI source to test against as an Integer. |
func |
The Function to evaluate if a match is found. |
An MIDIFuncSrcMessageMatcher.
Check to see if a message matches, and evaluate func if it does.
value |
The message value (e.g. velocity, etc.) of the MIDI message as an Integer. Note this should be in the range 0-127. |
num |
The message number (e.g. note number, etc.) of the MIDI message as an Integer. Note this should be in the range 0-127. |
chan |
The channel number of the MIDI message as an Integer. Note this should be in the range 0-15. |
testSrc |
The UID of the source of the MIDI message as an Integer. |