This class makes it quick to send MIDI control values to UGen arguments. It initialises a CCResponder and maps the received data onto control busses. Those can be read out by the class itself.
Input withinin range is allowed to set bus (useful if controller has multiple scenes) range - defaul is 0.05, 1 always sets bus.
Post source, channel and number.
Create a CCIn object, start the MIDI initialization.
server |
Busses will be created on this server (default nil uses Server.default). |
source |
ID of midi controller (default nil uses all controllers). |
serverArg | |
sourceArg |
chan | |
num | |
value | |
last |
chan | |
num |
chan |
MIDI channel, 0 to 15. |
num |
CC number, 0 to 127. |
spec |
A Spec, i.e. \freq, \amp, [5, 50], [1, 100, \exp]. |
lag |
lag3 time, default is 0.05. |