Used by the QuNeo classes to interface to MIDI Note controls
Create a new MidiNoteFunc. During regular use this will be called by the QuNeo control classes.
noteNum |
MIDI note number for the control. |
channel |
MIDI channel the control responds to. |
scInPort |
Port that Supercollider will recieve MIDI data from. |
scOutPort |
Port that Supercollider will send MIDI data to. |
name |
Name of the control, used when printing debug info. |
A new MidiNoteFunc.
MIDI note number that the control responds to.
A fuction to be called when a MIDI note on message is received. The following values will be passed to the function: val, num, chan, src.
A fuction to be called when a MIDI note off message is received. The following values will be passed to the function: val, num, chan, src.
Name of the control, used when printing debug info.
MIDI channel the control responds to.
Port that Supercollider will recieve MIDI data from.
Port that Supercollider will send MIDI data to.
Allows you to enable or disable debugging for the control. This setting can also be changed on a per datasource basis.
setDebug |
Enable debugging? true/false. |