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]

Parameter

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>.

Examples

Sets a pool of four clap samples, one of them is randomly choosen at every note-on event.

<region>
sample=mysamples/snare-soft.wav
lovel=0
hivel=70
<region>
sample=mysamples/snare-hard.wav
lovel=71
hivel=125
<region>
sample=mysamples/snare-rimshot.wav
lovel=126
hivel=127

Availability

Since LinuxSampler 2.0.0

Conforms to SFZ v1 Standard.