1 |
<html> |
2 |
<head> |
3 |
<meta name="author" content="Christian Schoenebeck"> |
4 |
<title>sample opcode</title> |
5 |
<meta name="description" content="Loads and assigns an audio sample file."> |
6 |
</head> |
7 |
<body> |
8 |
<h1>sample Opcode</h1> |
9 |
<p> |
10 |
This is the most fundamental opcode of the SFZ file format. It allows you |
11 |
to load and assign a certain audio instrument file. |
12 |
</p> |
13 |
|
14 |
<h3>Opcode Prototype</h3> |
15 |
<p/> |
16 |
<code lang="sfz"> |
17 |
sample=??path?? |
18 |
</code> |
19 |
|
20 |
<h3>Attribute</h3> |
21 |
<p>The mandatory <code>??path??</code> value defines the relative path of the sample file that shall be loaded and assigned.</p> |
22 |
|
23 |
<h3>Allowed Sections</h3> |
24 |
<p>May be used in sections <code><global></code>, <code><region></code>, ... TODO. |
25 |
|
26 |
<h3>Examples</h3> |
27 |
<p> |
28 |
Loads the WAV file "organ_c3.wav" from the subdirectory "mysamples" |
29 |
and assigns it to the entire key range of the instrument. |
30 |
<p/> |
31 |
<code lang="sfz"> |
32 |
<global> |
33 |
sample=mysamples/organ_c3.wav |
34 |
</code> |
35 |
|
36 |
<h3>Availabilty</h3> |
37 |
<p>Since LinuxSampler 2.0.0<p> |
38 |
<p>Conforms to SFZ v1 Standard.<p> |
39 |
|
40 |
</body> |
41 |
</html> |