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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3103 - (hide annotations) (download) (as text)
Fri Feb 10 14:02:41 2017 UTC (7 years, 2 months ago) by schoenebeck
File MIME type: text/html
File size: 1304 byte(s)
* SFZ: Correction regarding path attributes.

1 schoenebeck 3083 <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 schoenebeck 3103 <h3>Parameter</h3>
21     <p>The mandatory <code>??path??</code> parameter defines the file system
22     path of the sample file that shall be loaded and assigned, which may
23     either be an absolute path or a relative path. A relative path is
24     always interpreted relative to the sfz file's location.</p>
25 schoenebeck 3083
26     <h3>Allowed Sections</h3>
27     <p>May be used in sections <code>&lt;global&gt;</code>, <code>&lt;region&gt;</code>, ... TODO.
28    
29     <h3>Examples</h3>
30     <p>
31     Loads the WAV file "organ_c3.wav" from the subdirectory "mysamples"
32     and assigns it to the entire key range of the instrument.
33     <p/>
34     <code lang="sfz">
35     &lt;global&gt;
36     sample=mysamples/organ_c3.wav
37     </code>
38    
39     <h3>Availabilty</h3>
40     <p>Since LinuxSampler 2.0.0<p>
41     <p>Conforms to SFZ v1 Standard.<p>
42    
43     </body>
44     </html>

  ViewVC Help
Powered by ViewVC