1 |
pandini |
3135 |
<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 |
schoenebeck |
3137 |
<p>With this opcode you can change the original pitch of the sample, increasing or decreasing it within the range of <code>+-127</code> semitones.<br/> |
12 |
|
|
If you want to increase or decrease the pitch within a semitone, please see the <code lang="sfz">tune</code> opcode.</p> |
13 |
pandini |
3135 |
|
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><global></code> and <code><region></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 |
|
|
<group> |
30 |
|
|
sample=mysamples/piano-c1.wav |
31 |
|
|
<region> |
32 |
|
|
key=24 |
33 |
|
|
<region> |
34 |
|
|
key=25 |
35 |
|
|
transpose=1 |
36 |
|
|
<region> |
37 |
|
|
key=26 |
38 |
|
|
transpose=2 |
39 |
|
|
<region> |
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> |