/ HALion Developer Resource / HALion Script / Reference /
afterTouch
afterTouch(value)
Description
Function to generate channel aftertouch events.
Available in: Processor.
Arguments
Argument | Description | Value Type |
---|---|---|
value | The aftertouch value in the range of 0 to 127. | number |
Example
-- Invert aftertouch values.
function onAfterTouch(event)
local invAT = 127 - event.value
afterTouch(invAT)
print("Inverse AT:", invAT)
end
See also: onAfterTouch, controlChange, pitchBend