getCC(controller)
Description
Function to read the current value of a continuous controller.
Available in: Processor.
Arguments
controller | The controller number. See Controller Numbers for a description of the different controllers. |
---|
Return Values
Returns the current value of the continuous controller given by the argument.
Example
--replace the note-on velocity with the value of the modulation wheel function onNote(event) playNote(event.note, getCC(1)) end
See Also: onController, controlChange