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

Version 1 Next »

controlChange(controller, value)

Description

Use this function to send MIDI controller events to MIDI modules and zones.

Available in: Processor.

Arguments

controllerThe MIDI controller number.
valueThe new value of the MIDI controller.

Example

--invert values of all MIDI controllers

function onController(event)
    if event.controller < 128 then
        controlChange(event.controller, 127 - event.value)
    else
        postEvent(event) --special controllers are just passed through
    end
end

See Also: onController, postEvent

  • No labels