1 |
<html> |
2 |
<head> |
3 |
<title>lovel Opcode</title> |
4 |
<meta name="author" content="Nicola Pandini"> |
5 |
<meta name="description" content="Causes the associated region to play when a constraint on MIDI velocity is respected: lower limit."> |
6 |
<link rel="stylesheet" href="http://doc.linuxsampler.org/css/preview.css"> |
7 |
<script type="text/javascript" src="http://doc.linuxsampler.org/js/preview.js"></script> |
8 |
</head> |
9 |
<body> |
10 |
<h1>lovel Opcode</h1> |
11 |
<p>Causes the associated region to play when a constraint on MIDI velocity is respected. Used in conjunction with <code lang="sfz">hivel</code>, it makes the region play when the incoming note's velocity is equal to or higher than <code>lovel</code> and equal to or lower than <code>hivel</code>. Velocity is a MIDI value that indicates how forcefully the note is played.</p> |
12 |
|
13 |
<h3>Opcode Prototype</h3> |
14 |
<p/> |
15 |
<code lang="sfz"> |
16 |
lovel=??lower limit?? |
17 |
</code> |
18 |
|
19 |
<h3>Parameter</h3> |
20 |
<p>The mandatory <code>??lower limit??</code> parameter defines the range's lower limit. This parameter only accepts valid MIDI velocity values (from 0 to 127).</p> |
21 |
|
22 |
<h3>Allowed Sections</h3> |
23 |
<p>May be used in sections <code><global></code> and <code><region></code>.</p> |
24 |
|
25 |
<h3>Examples</h3> |
26 |
<p>Defines a snare instrument with three regions/velocity ranges: 0-70, 71-125 and 126-127 for the rim shot.</p> |
27 |
<code> |
28 |
<region> |
29 |
sample=mysamples/snare-soft.wav |
30 |
lovel=0 |
31 |
hivel=70 |
32 |
<region> |
33 |
sample=mysamples/snare-hard.wav |
34 |
lovel=71 |
35 |
hivel=125 |
36 |
<region> |
37 |
sample=mysamples/snare-rimshot.wav |
38 |
lovel=126 |
39 |
hivel=127 |
40 |
</code> |
41 |
|
42 |
<h3>Availability</h3> |
43 |
<p>Since LinuxSampler 2.0.0</p> |
44 |
<p>Conforms to SFZ v1 Standard.</p> |
45 |
|
46 |
</body> |
47 |
</html> |