1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
6<title>SYNGetMidiController</title>
7<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
8<META http-equiv="Content-Style-Type" content="text/css">
9</head>
10
11<body>
12
13<h1 align="left">SYNGetMidiController</h1>
14
15<h2>Syntax</h2>
16<dl><dd><pre class="construction">
17#include &lt;revolution.h&gt;
18#include &lt;revolution/syn.h&gt;
19
20u8 SYNGetMidiController(SYNSYNTH *synth, u8 midiChannel, u8 function);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<TABLE class="arguments" border="1" >
25  <tr>
26<th>synth</th>
27<td>Pointer to a user-defined <CODE>SYNSYNTH</CODE> data structure.</td>
28  </tr>
29  <tr>
30<th>midiChannel</th>
31<td>Controller MIDI channel to obtain.</td>
32  </tr>
33  <tr>
34<th>function</th>
35<td>MIDI controller to obtain.</td>
36  </tr>
37</table>
38
39<h2>Return Values</h2>
40<p>Returns current value of the controller.</p>
41
42<h2>Description</h2>
43<p><CODE>SYNGetMidiController</CODE> obtains current values of the specified synthesizer instance, MIDI channel, and MIDI controller.</p>
44
45<p><strong><em><B>Note:</B></em></strong>To set MIDI controllers, use <CODE>SYNMidiInput()</CODE> with standard MIDI controller definitions.</p>
46
47<h2>See Also</h2>
48<p class="reference">
49<a href="SYNMidiInput.html"><CODE>SYNMidiInput</CODE></a>
50</p>
51
52<h2>Revision History</h2>
53<P>
542006/03/01 Initial version.<br>
55</P>
56
57<hr><p>CONFIDENTIAL</p></body>
58</html>
59