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

Contents of /doc/docbase/instrument_scripts/nksp/reference/functions/nksp_set_rpn_function.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3692 - (show annotations) (download) (as text)
Fri Jan 3 13:55:56 2020 UTC (4 years, 2 months ago) by schoenebeck
File MIME type: text/html
File size: 1657 byte(s)
NKSP updates for new RPN / NRPN features:

* NKSP language tour: Added new event handlers rpn and nrpn.

* NKSP reference: Added new built-in function set_rpn().

* NKSP reference: Added new built-in function set_nrpn().

* NKSP reference: Added new built-in variables $RPN_ADDRESS
  and $RPN_VALUE.

* NKSP reference: Added new built-in constants $NI_CB_TYPE_RPN
  and $NI_CB_TYPE_NRPN.

1 <html>
2 <head>
3 <meta name="author" content="Christian Schoenebeck">
4 <title>set_rpn() function</title>
5 <meta name="description" content="Creates a MIDI RPN event.">
6 </head>
7 <body>
8 <h1>set_rpn()</h1>
9 <p>
10 Changes the value of the requested MIDI <i>RPN</i>.
11 This is like sending the required set of individual MIDI RPN
12 control change events programmatically. So you can use this
13 for instance to change the sampler's (hard coded) implementation
14 of standard MIDI RPNs, like i.e. changing coarse tuning in half
15 tones on a sampler part for instance.
16 </p>
17
18 <h3>Function Prototype</h3>
19 <p/>
20 <code lang="nksp">
21 set_rpn(??parameter??, ??value??)
22 </code>
23
24 <h3>Arguments</h3>
25 <table>
26 <tr>
27 <th>Argument Name</th> <th>Data Type</th> <th>Description</th>
28 </tr>
29 <tr>
30 <td><code>??parameter??</code></td>
31 <td>Integer Number</td>
32 <td>MIDI RPN parameter number.<br>
33 [required]</td>
34 </tr>
35 <tr>
36 <td><code>??value??</code></td>
37 <td>Integer Number</td>
38 <td>New value for that RPN parameter.<br>
39 [required]</td>
40 </tr>
41 </table>
42
43 <h3>Return Value</h3>
44 <table>
45 <tr>
46 <th>Data Type</th> <th>Description</th>
47 </tr>
48 <tr>
49 <td>Event ID Number</td>
50 <td>Event ID of the new MIDI RPN event.</td>
51 </tr>
52 </table>
53
54 <h3>Examples</h3>
55 <p>None yet.<p>
56
57 <h3>See also</h3>
58 <p><code>set_nrpn()</code>, <code>set_controller()</code><p>
59
60 <h3>Availability</h3>
61 <p>Since LinuxSampler 2.1.1.svn31.<p>
62
63 </body>
64 </html>

  ViewVC Help
Powered by ViewVC