Page tree

Versions Compared

Key

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

pitchBend(value)

Description

Function to generate pitch bend events.

Available in: Processor.

Arguments

valueThe pitch bend value in the range of -1.0 to 1.0.number

Example

Code Block
-- invert pitch bend values
function onPitchBend(event)
	local invPB = event.bend * -1
	pitchBend(invPB)
	print("Inverse PB: "..invPB)
end

...