hibend Opcode

Causes the associated region to play when a constraint on MIDI pitch bend is respected. Used in conjunction with lobend, it makes the region play when the last pitch bend value received is equal to or higher than lobend and equal to or lower than hibend.

Opcode Prototype

hibend=[upper limit]

Parameter

The mandatory [upper limit] parameter defines the range's upper limit. This parameter only accepts valid MIDI pitch bend values (from -8192 to 8192).

Allowed Sections

May be used in sections <global> and <region>.

Examples

Defines a guitar instrument with two regions assigned to different position of the pitch bend wheel.

<region>
sample=mysamples/guitar-1.wav
lobend=-5000
hibend=0
<region>
sample=mysamples/guitar-2.wav
lobend=1
hibend=5000

Availability

Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.