Page tree

Versions Compared

Key

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

afterTouch(value)

Description

Function to generate channel aftertouch events.

Available in: Processor.

Arguments

valueThe aftertouch value in the range of 0 to 127.number

Example

Code Block
-- invert aftertouch values
function onAfterTouch(event)
	local invAT =  127 - event.value
	afterTouch(invAT)
	print("Inverse AT:", invAT)
end
Panel

See Also: onAfterTouch, controlChange, pitchBend