1 |
<html> |
2 |
<head> |
3 |
<title>seq_position Opcode</title> |
4 |
<meta name="author" content="Nicola Pandini"> |
5 |
<meta name="description" content="Causes the associated region to play when the internal sequence counter is equal to the provided value."> |
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>seq_position Opcode</h1> |
11 |
<p>Used in conjunction with <code lang="sfz">seq_length</code>, it makes the region play when the internal sequence counter is equal to <code>seq_position</code> value.</p> |
12 |
|
13 |
<h3>Opcode Prototype</h3> |
14 |
<p/> |
15 |
<code lang="sfz"> |
16 |
seq_position=??position?? |
17 |
</code> |
18 |
|
19 |
<h3>Parameter</h3> |
20 |
<p>The mandatory <code>??position??</code> parameter defines the region's position in a sequence.</p> |
21 |
|
22 |
<h3>Allowed Sections</h3> |
23 |
<p>May be used in section <code><region></code>.</p> |
24 |
|
25 |
<h3>Examples</h3> |
26 |
<p>Sets the region as the 3rd step in a sequence of six elements.</p> |
27 |
<code> |
28 |
<region> |
29 |
seq_length=6 |
30 |
seq_position=3 |
31 |
</code> |
32 |
<p>Sets a sequence of three snare samples.</p> |
33 |
<code> |
34 |
<region> |
35 |
sample=mysamples/snare_01.wav |
36 |
seq_length=3 |
37 |
seq_position=1 |
38 |
<region> |
39 |
sample=mysamples/snare_02.wav |
40 |
seq_length=3 |
41 |
seq_position=2 |
42 |
<region> |
43 |
sample=mysamples/snare_03.wav |
44 |
seq_length=3 |
45 |
seq_position=3 |
46 |
</code> |
47 |
|
48 |
<h3>Availabilty</h3> |
49 |
<p>Since LinuxSampler 2.0.0</p> |
50 |
<p>Conforms to SFZ v1 Standard.</p> |
51 |
|
52 |
</body> |
53 |
</html> |