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

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

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

revision 3600 by schoenebeck, Thu Aug 29 12:13:17 2019 UTC revision 3601 by schoenebeck, Mon Sep 16 16:03:36 2019 UTC
# Line 42  play_note(??note??, [??velocity??], [??o Line 42  play_note(??note??, [??velocity??], [??o
42        </tr>        </tr>
43        <tr>        <tr>
44          <td><code>??offset-us??</code></td>          <td><code>??offset-us??</code></td>
45          <td>Integer Number</td>          <td>Integer&nbsp;Number&nbsp;or<br>
46                Real&nbsp;Number</td>
47          <td>Start offset of the sample to be played in microseconds.<br>          <td>Start offset of the sample to be played in microseconds.<br>
48              <code>-1</code>: Do not override the start offset and use the              <code>-1</code>: Do not override the start offset and use the
49                               regular start offset as defined by the                               regular start offset as defined by the
# Line 51  play_note(??note??, [??velocity??], [??o Line 52  play_note(??note??, [??velocity??], [??o
52        </tr>        </tr>
53        <tr>        <tr>
54          <td><code>??duration-us??</code></td>          <td><code>??duration-us??</code></td>
55          <td>Integer Number</td>          <td>Integer&nbsp;Number&nbsp;or<br>
56                Real&nbsp;Number</td>
57          <td>Length of the note to be played in microseconds.<br>          <td>Length of the note to be played in microseconds.<br>
58              <code>0</code>: The entire note's sample will be played to its end.<br>              <code>0</code>: The entire note's sample will be played to its end.<br>
59              <code>-1</code>: The note will be stopped when the event              <code>-1</code>: The note will be stopped when the event
# Line 62  play_note(??note??, [??velocity??], [??o Line 64  play_note(??note??, [??velocity??], [??o
64        </tr>        </tr>
65      </table>      </table>
66    
     <note>  
     You need at least LinuxSampler 2.0.0.svn2 for passing a value  
     higher than <code>0</code> for <code>??duration-us??</code>.<br>  
     <br>  
     You need at least LinuxSampler 2.0.0.svn3 for passing <code>-1</code> for  
     <code>??duration-us??</code>.<br>  
     <br>  
     You need at least LinuxSampler 2.0.0.svn55 for passing any other value than <code>0</code> for  
     <code>??offset-us??</code>.<br>  
     <br>  
     You need at least LinuxSampler 2.0.0.svn56 for passing <code>-2</code> for  
     <code>??duration-us??</code>.  
     </note>  
   
67      <h3>Return Value</h3>      <h3>Return Value</h3>
68      <table>      <table>
69        <tr>        <tr>
# Line 87  play_note(??note??, [??velocity??], [??o Line 75  play_note(??note??, [??velocity??], [??o
75              used to control the note during its life time.</td>              used to control the note during its life time.</td>
76        </tr>        </tr>
77      </table>      </table>
78        
79        <h3>Remarks</h3>
80        <p>
81          This functions optionally accepts <code>s</code> as standard unit
82          for its arguments <code>??offset-us??</code> and <code>??duration-us??</code>.
83        </p>
84    
85      <h3>Examples</h3>      <h3>Examples</h3>
86      <p>      <p>
87        The following example resembles a simple delay effect. For each note        The following example resembles a simple delay effect. For each note

Legend:
Removed from v.3600  
changed lines
  Added in v.3601

  ViewVC Help
Powered by ViewVC