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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3135 - (show annotations) (download) (as text)
Fri Apr 28 14:40:54 2017 UTC (6 years, 11 months ago) by pandini
File MIME type: text/html
File size: 1475 byte(s)
* SFZ: added tune,transpose,lo-hibend,lo-hivel,lo-hichan,lo-hikey,key
1 <html>
2 <head>
3 <title>transpose Opcode</title>
4 <meta name="author" content="Nicola Pandini">
5 <meta name="description" content="Increases or decreases the sample's pitch.">
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>transpose Opcode</h1>
11 <p>With this opcode you can change the original pitch of the sample, increasing or decreasing it within the range of +-127 semitones.<br/>
12 If you want to increase or decrease the pitch within a semitone, please see the <code>tune</code> opcode.</p>
13
14 <h3>Opcode Prototype</h3>
15 <p/>
16 <code lang="sfz">
17 transpose=??semitones??
18 </code>
19
20 <h3>Parameter</h3>
21 <p>The mandatory <code>??semitones??</code> parameter defines the amount of pitch shifting. This parameter accepts values from -127 to 127.</p>
22
23 <h3>Allowed Sections</h3>
24 <p>May be used in sections <code>&lt;global&gt;</code> and <code>&lt;region&gt;</code>.</p>
25
26 <h3>Examples</h3>
27 <p>Create the first four semitones of a piano octave using only one sample.</p>
28 <code>
29 &lt;group&gt;
30 sample=mysamples/piano-c1.wav
31 &lt;region&gt;
32 key=24
33 &lt;region&gt;
34 key=25
35 transpose=1
36 &lt;region&gt;
37 key=26
38 transpose=2
39 &lt;region&gt;
40 key=27
41 transpose=3
42 </code>
43
44 <h3>Availabilty</h3>
45 <p>Since LinuxSampler 2.0.0</p>
46 <p>Conforms to SFZ v1 Standard.</p>
47
48 </body>
49 </html>

  ViewVC Help
Powered by ViewVC