/ HALion Developer Resource / HALion Script / Reference /

pitchBend

pitchBend(value)

Description

Function to generate pitch bend events.

Available in: Processor.

Arguments

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

Example

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

See also: onPitchBend, controlChange, afterTouch