2 |
<head> |
<head> |
3 |
<meta name="author" content="Christian Schoenebeck"> |
<meta name="author" content="Christian Schoenebeck"> |
4 |
<title>change_sustain() function</title> |
<title>change_sustain() function</title> |
5 |
<meta name="description" content="Modifies the sustain level of voices of a particular note."> |
<meta name="description" content="Modifies the amplitude sustain level of voices of a particular note."> |
6 |
</head> |
</head> |
7 |
<body> |
<body> |
8 |
<h1>change_sustain()</h1> |
<h1>change_sustain()</h1> |
9 |
<p> |
<p> |
10 |
This function can be used to modify the sustain level of active voices of a |
This function can be used to modify the amplitude sustain level of active voices of a |
11 |
particular note. |
particular note. |
12 |
In contrast to other synthesis parameter related functions, |
In contrast to other synthesis parameter related functions, |
13 |
this function only allows to change the sustain level when the respective note |
this function only allows to change the sustain level when the respective note |
14 |
is new, that is either i.e. at the beginning of a <code lang="nksp">note</code> |
is new, that is either i.e. at the beginning of a <code lang="nksp">note</code> |
57 |
</tr> |
</tr> |
58 |
<tr> |
<tr> |
59 |
<td><code>??level??</code></td> |
<td><code>??level??</code></td> |
60 |
<td>Integer Number</td> |
<td>Integer Number or<br> |
61 |
|
Real Number</td> |
62 |
<td>Sustain Level (abstract non-negative value, i.e. |
<td>Sustain Level (abstract non-negative value, i.e. |
63 |
<code>0</code> for zero sustain level, <code>1000000</code> for neutral sustain factor, |
<code>0</code> for zero sustain level, <code>1000000</code> for neutral sustain factor, |
64 |
<code>2000000</code> for doubling the effective sustain level).<br> |
<code>2000000</code> for doubling the effective sustain level).<br> |
69 |
<h3>Return Value</h3> |
<h3>Return Value</h3> |
70 |
<p>None.</p> |
<p>None.</p> |
71 |
|
|
72 |
|
<h3>Remarks</h3> |
73 |
|
<p> |
74 |
|
This functions optionally accepts <code>B</code> (for "Bel") as standard unit and |
75 |
|
finalness for its argument <code>??level??</code>. |
76 |
|
</p> |
77 |
|
|
78 |
<h3>Examples</h3> |
<h3>Examples</h3> |
79 |
<p>None yet.<p> |
<p>None yet.<p> |
80 |
|
|