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
Defines a snare instrument with three regions/velocity ranges: 0-70, 71-125 and 126-127 for the rim shot.
- <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.
Document Updated: 2017-05-20 | Author: Nicola Pandini