/[svn]/doc/docbase/instrument_scripts/nksp/reference/functions/nksp_change_sustain_function.html
ViewVC logotype

Diff of /doc/docbase/instrument_scripts/nksp/reference/functions/nksp_change_sustain_function.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3318 by schoenebeck, Thu Jul 20 12:21:24 2017 UTC revision 3605 by schoenebeck, Tue Sep 17 19:44:02 2019 UTC
# Line 2  Line 2 
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>
# Line 57  change_sustain(??note??, ??level??) Line 57  change_sustain(??note??, ??level??)
57        </tr>        </tr>
58        <tr>        <tr>
59          <td><code>??level??</code></td>          <td><code>??level??</code></td>
60          <td>Integer Number</td>          <td>Integer&nbsp;Number&nbsp;or<br>
61                Real&nbsp;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>
# Line 68  change_sustain(??note??, ??level??) Line 69  change_sustain(??note??, ??level??)
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    

Legend:
Removed from v.3318  
changed lines
  Added in v.3605

  ViewVC Help
Powered by ViewVC