afterTouch(value)

Description

Function to generate channel aftertouch events.

Available in: Processor.

Arguments

valueThe aftertouch value in the range of 0 to 127.

Example

--invert aftertouch values

function onAfterTouch(event)
    afterTouch(127 - event.value)
end

See Also: onAfterTouch