1 |
<html> |
2 |
<head> |
3 |
<title>tune Opcode</title> |
4 |
<meta name="author" content="Nicola Pandini"> |
5 |
<meta name="description" content="Fine tuning of 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>tune Opcode</h1> |
11 |
<p>With this opcode you can fine tune the sample played. You can change the original pitch of the sample, increasing or decreasing it within the range of <code>+-100</code> cents.<br/> |
12 |
If you want to increase or decrease the pitch to more than a semitone, please see the <code lang="sfz">transpose</code> opcode.</p> |
13 |
|
14 |
<h3>Opcode Prototype</h3> |
15 |
<p/> |
16 |
<code lang="sfz"> |
17 |
tune=??cents?? |
18 |
</code> |
19 |
|
20 |
<h3>Parameter</h3> |
21 |
<p>The mandatory <code>??cents??</code> parameter defines the amount of pitch shifting. This parameter accepts values from -100 to 100.</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>Adjusts the pitch of a sample in a region.</p> |
28 |
<code> |
29 |
<region> |
30 |
sample=mysamples/piano-c2-out_of_tune.wav |
31 |
tune=50 |
32 |
</code> |
33 |
|
34 |
<h3>Availabilty</h3> |
35 |
<p>Since LinuxSampler 2.0.0</p> |
36 |
<p>Conforms to SFZ v1 Standard.</p> |
37 |
|
38 |
</body> |
39 |
</html> |