1 |
pandini |
3135 |
<html> |
2 |
|
|
<head> |
3 |
|
|
<title>lochan 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 channel 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>lochan Opcode</h1> |
11 |
|
|
<p>Causes the associated region to play when a constraint on MIDI channel is respected. Used in conjunction with <code lang="sfz">hichan</code>, it makes the region play when the incoming note's MIDI channel is equal to or higher than <code>lochan</code> and equal to or lower than <code>hichan</code>.</p> |
12 |
|
|
|
13 |
|
|
<h3>Opcode Prototype</h3> |
14 |
|
|
<p/> |
15 |
|
|
<code lang="sfz"> |
16 |
|
|
lochan=??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 channel numbers (from 1 to 16).</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>A region triggered only by notes on MIDI channel 1.</p> |
27 |
|
|
<code> |
28 |
|
|
<region> |
29 |
|
|
sample=mysamples/piano_C1.wav |
30 |
|
|
lochan=1 |
31 |
|
|
hichan=1 |
32 |
|
|
</code> |
33 |
|
|
|
34 |
schoenebeck |
3196 |
<h3>Availability</h3> |
35 |
pandini |
3135 |
<p>Since LinuxSampler 2.0.0</p> |
36 |
|
|
<p>Conforms to SFZ v1 Standard.</p> |
37 |
|
|
|
38 |
|
|
</body> |
39 |
|
|
</html> |