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

Contents of /doc/docbase/instrument_scripts/nksp/reference/functions/nksp_set_controller_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: 1390 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_controller() function</title>
5 <meta name="description" content="Creates a MIDI control change event.">
6 </head>
7 <body>
8 <h1>set_controller()</h1>
9 <p>
10 Changes the value of the requested MIDI controller. This is like sending
11 a MIDI control change event programmatically.
12 </p>
13
14 <h3>Function Prototype</h3>
15 <p/>
16 <code lang="nksp">
17 set_controller(??controller??, ??value??)
18 </code>
19
20 <h3>Arguments</h3>
21 <table>
22 <tr>
23 <th>Argument Name</th> <th>Data Type</th> <th>Description</th>
24 </tr>
25 <tr>
26 <td><code>??controller??</code></td>
27 <td>Integer Number</td>
28 <td>MIDI controller number.<br>
29 [required]</td>
30 </tr>
31 <tr>
32 <td><code>??value??</code></td>
33 <td>Integer Number</td>
34 <td>New value for MIDI controller.<br>
35 [required]</td>
36 </tr>
37 </table>
38
39 <h3>Return Value</h3>
40 <table>
41 <tr>
42 <th>Data Type</th> <th>Description</th>
43 </tr>
44 <tr>
45 <td>Event ID Number</td>
46 <td>Event ID of the new MIDI control change event.</td>
47 </tr>
48 </table>
49
50 <h3>Examples</h3>
51 <p>None yet.<p>
52
53 <h3>See also</h3>
54 <p><code>set_rpn()</code>, <code>set_nrpn()</code><p>
55
56 </body>
57 </html>

  ViewVC Help
Powered by ViewVC