Writing Docs Gigedit SFZ Instrument Scripts NKSP Language NKSP Reference

lovel Opcode

Causes the associated region to play when a constraint on MIDI velocity is respected. Used in conjunction with hivel, it makes the region play when the incoming note's velocity is equal to or higher than lovel and equal to or lower than hivel. Velocity is a MIDI value that indicates how forcefully the note is played.

Opcode Prototype

lovel=lower limit


The mandatory lower limit parameter defines the range's lower limit. This parameter only accepts valid MIDI velocity values (from 0 to 127).

Allowed Sections

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


Defines a snare instrument with three regions/velocity ranges: 0-70, 71-125 and 126-127 for the rim shot.


Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.

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