/[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 3104 - (hide annotations) (download) (as text)
Fri Feb 10 14:09:53 2017 UTC (7 years, 2 months ago) by schoenebeck
File MIME type: text/html
File size: 1353 byte(s)
- SFZ: Minor update to "sample" opcode.

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

  ViewVC Help
Powered by ViewVC