Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

getCC(controller)

Description

Function to read the current value of a continuous controller.

Available in: Processor.

Arguments

controllerThe controller number. See Controller Numbers for a description of the different controllers.number

Return Values

Returns the current value of the continuous controller specified by the argument.

Example

Code Block
-- replace the note-on velocity with the value of the modulation wheel
function onNote(event)
    playNote(event.note, getCC(1))
end

...