1 |
<html> |
2 |
<head> |
3 |
<meta name="author" content="Christian Schoenebeck"> |
4 |
<title>change_vol_time() function</title> |
5 |
<meta name="description" content="Changes the duration of volume changes."> |
6 |
</head> |
7 |
<body> |
8 |
<h1>change_vol_time()</h1> |
9 |
<p> |
10 |
This function can be used to override the internal fade time of volume |
11 |
changes upon calls to <code lang="nksp">change_vol()</code>. That |
12 |
fade time is not set globally, but rather on a per-note level. |
13 |
</p> |
14 |
|
15 |
<h3>Function Prototype</h3> |
16 |
<p/> |
17 |
<code lang="nksp"> |
18 |
change_vol_time(??note??, ??duration-us??) |
19 |
</code> |
20 |
|
21 |
<h3>Arguments</h3> |
22 |
<table> |
23 |
<tr> |
24 |
<th>Argument Name</th> <th>Data Type</th> <th>Description</th> |
25 |
</tr> |
26 |
<tr> |
27 |
<td><code>??note??</code></td> |
28 |
<td>Note ID Number or Note ID Array</td> |
29 |
<td>All voices of this note will be modified.<br> |
30 |
[required]</td> |
31 |
</tr> |
32 |
<tr> |
33 |
<td><code>??duration-us??</code></td> |
34 |
<td>Integer Number</td> |
35 |
<td>Fade time in microseconds.<br> |
36 |
[required]</td> |
37 |
</tr> |
38 |
</table> |
39 |
|
40 |
<h3>Return Value</h3> |
41 |
<p>None.</p> |
42 |
|
43 |
<h3>Examples</h3> |
44 |
<p>None yet.<p> |
45 |
|
46 |
<h3>See also</h3> |
47 |
<p><code>change_vol()</code>, <code>fade_in()</code>, <code>fade_out()</code><p> |
48 |
|
49 |
<h3>Availability</h3> |
50 |
<p>Since LinuxSampler 2.0.0.svn45.<p> |
51 |
|
52 |
<note> |
53 |
This function exists only with NKSP, it is not available with KSP. |
54 |
</note> |
55 |
|
56 |
</body> |
57 |
</html> |