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

Contents of /doc/docbase/instrument_scripts/nksp/reference/functions/nksp_set_nrpn_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, 3 months ago) by schoenebeck
File MIME type: text/html
File size: 1460 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_nrpn() function</title>
5 <meta name="description" content="Creates a MIDI NRPN event.">
6 </head>
7 <body>
8 <h1>set_nrpn()</h1>
9 <p>
10 Changes the value of the requested MIDI <i>NRPN</i>.
11 This is like sending the required set of individual MIDI NRPN
12 control change events programmatically.
13 </p>
14
15 <h3>Function Prototype</h3>
16 <p/>
17 <code lang="nksp">
18 set_nrpn(??parameter??, ??value??)
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>??parameter??</code></td>
28 <td>Integer Number</td>
29 <td>MIDI NRPN parameter number.<br>
30 [required]</td>
31 </tr>
32 <tr>
33 <td><code>??value??</code></td>
34 <td>Integer Number</td>
35 <td>New value for that NRPN parameter.<br>
36 [required]</td>
37 </tr>
38 </table>
39
40 <h3>Return Value</h3>
41 <table>
42 <tr>
43 <th>Data Type</th> <th>Description</th>
44 </tr>
45 <tr>
46 <td>Event ID Number</td>
47 <td>Event ID of the new MIDI NRPN event.</td>
48 </tr>
49 </table>
50
51 <h3>Examples</h3>
52 <p>None yet.<p>
53
54 <h3>See also</h3>
55 <p><code>set_rpn()</code>, <code>set_controller()</code><p>
56
57 <h3>Availability</h3>
58 <p>Since LinuxSampler 2.1.1.svn31.<p>
59
60 </body>
61 </html>

  ViewVC Help
Powered by ViewVC