Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Current »

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

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