hichan Opcode

Causes the associated region to play when a constraint on MIDI channel is respected. Used in conjunction with lochan, it makes the region play when the incoming note's MIDI channel is equal to or higher than lochan and equal to or lower than hichan.

Opcode Prototype

hichan=??upper limit??

Parameter

The mandatory ??upper limit?? parameter defines the range's upper limit. This parameter only accepts valid MIDI channel numbers (from 1 to 16).

Allowed Sections

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

Examples

A region triggered only by notes on MIDI channel 1.

<region> sample=mysamples/piano_C1.wav lochan=1 hichan=1

Availabilty

Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.