/[svn]/doc/docbase/sfz/opcodes/sfz_sample_opcode.html
ViewVC logotype

Contents of /doc/docbase/sfz/opcodes/sfz_sample_opcode.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3083 - (show annotations) (download) (as text)
Mon Jan 9 19:23:58 2017 UTC (7 years, 3 months ago) by schoenebeck
File MIME type: text/html
File size: 1144 byte(s)
* Added SFZ articles section.
* NKSP: New sfz "script" opcode added.

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>&lt;global&gt;</code>, <code>&lt;region&gt;</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 &lt;global&gt;
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>

  ViewVC Help
Powered by ViewVC