1 |
<html> |
2 |
<head> |
3 |
<title>hikey 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 note is respected: upper 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>hikey Opcode</h1> |
11 |
<p>Causes the associated region to play when a constraint on MIDI note is respected. Used in conjunction with <code lang="sfz">lokey</code>, it makes the region play when the incoming note is equal to or higher than <code>lokey</code> and equal to or lower than <code>hikey</code>.</p> |
12 |
|
13 |
<h3>Opcode Prototype</h3> |
14 |
<p/> |
15 |
<code lang="sfz"> |
16 |
hikey=??upper limit?? |
17 |
</code> |
18 |
|
19 |
<h3>Parameter</h3> |
20 |
<p>The mandatory <code>??upper limit??</code> parameter defines the range's upper limit. This parameter only accepts valid MIDI note numbers (from 0 to 127) or names (from C-1 to G9):</p> |
21 |
<p> |
22 |
<table> |
23 |
<tr> |
24 |
<th>Note Numbers</th> <th>Note Names</th> <th>Octave</th> |
25 |
</tr> |
26 |
<tr> |
27 |
<td>0 to 11</td> <td>C-1 to B-1</td> <td>-1</td> |
28 |
</tr> |
29 |
<tr> |
30 |
<td>12 to 23</td> <td>C0 to B0</td> <td>0</td> |
31 |
</tr> |
32 |
<tr> |
33 |
<td>24 to 35</td> <td>C1 to B1</td> <td>1</td> |
34 |
</tr> |
35 |
<tr> |
36 |
<td>36 to 47</td> <td>C2 to B2</td> <td>2</td> |
37 |
</tr> |
38 |
<tr> |
39 |
<td>48 to 59</td> <td>C3 to B3</td> <td>3</td> |
40 |
</tr> |
41 |
<tr> |
42 |
<td>60 to 71</td> <td>C4 to B4</td> <td>4</td> |
43 |
</tr> |
44 |
<tr> |
45 |
<td>72 to 83</td> <td>C5 to B5</td> <td>5</td> |
46 |
</tr> |
47 |
<tr> |
48 |
<td>84 to 95</td> <td>C6 to B6</td> <td>6</td> |
49 |
</tr> |
50 |
<tr> |
51 |
<td>96 to 107</td> <td>C7 to B7</td> <td>7</td> |
52 |
</tr> |
53 |
<tr> |
54 |
<td>108 to 119</td> <td>C8 to B8</td> <td>8</td> |
55 |
</tr> |
56 |
<tr> |
57 |
<td>120 to 127</td> <td>C9 to G9</td> <td>9</td> |
58 |
</tr> |
59 |
</table> |
60 |
</p> |
61 |
|
62 |
<h3>Allowed Sections</h3> |
63 |
<p>May be used in sections <code><global></code> and <code><region></code>.</p> |
64 |
|
65 |
<h3>Examples</h3> |
66 |
<p>Defines one region for each of three octaves.</p> |
67 |
<code> |
68 |
<region> |
69 |
sample=mysamples/octave01.wav |
70 |
lokey=24 |
71 |
hikey=35 |
72 |
<region> |
73 |
sample=mysamples/octave02.wav |
74 |
lokey=C2 |
75 |
hikey=B2 |
76 |
<region> |
77 |
sample=mysamples/octave03.wav |
78 |
lokey=48 |
79 |
hikey=59 |
80 |
</code> |
81 |
|
82 |
<h3>Availability</h3> |
83 |
<p>Since LinuxSampler 2.0.0</p> |
84 |
<p>Conforms to SFZ v1 Standard.</p> |
85 |
|
86 |
</body> |
87 |
</html> |