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 |
</body> |
54 |
</html> |