Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

lochan Opcode

Causes the associated region to play when a constraint on MIDI channel is respected. Used in conjunction with hichan, 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

lochan=lower limit


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

Allowed Sections

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


A region triggered only by notes on MIDI channel 1.


Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.

Document Updated:  2017-05-20  |  Author:  Nicola Pandini