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>C Specification</h2>
16
17<dl>
18<dd><pre><CODE>#include &lt;revolution.h&gt;
19#include &lt;revolution/syn.h&gt;</CODE></pre>
20  </dd>
21  <dd><pre><CODE>u8 SYNGetMidiController(SYNSYNTH *synth, u8 midiChannel, u8 function);</CODE></pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26
27<table border="1" cellpadding="3" cellspacing="0.1">
28  <tr>
29<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">synth</font></strong></em></td>
30<td width="520">pointer to user-defined <font face="Courier New">SYNSYNTH</font> data structure</td>
31  </tr>
32  <tr>
33<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">midiChannel</font></strong></em></td>
34<td width="520">controller MIDI channel to obtain</td>
35  </tr>
36  <tr>
37<td width="120" bgcolor="#ffffe8"><em><strong><font face="Courier New">function</font></strong></em></td>
38<td width="520">MIDI controller to obtain</td>
39  </tr>
40</table>
41
42<h2>Return Values</h2>
43
44<p>Returns the current value of the controller.</p>
45
46<h2>Description</h2>
47
48<p>This function obtains the current value of the specified MIDI controller of the specified MIDI channel for the specified synthesizer instance.</p>
49
50<p><STRONG>Note:</STRONG> To set MIDI controllers, use <CODE>SYNMidiInput</CODE> with standard MIDI controller definitions.</p>
51
52<h2>See Also</h2>
53
54<p><a href="SYNMidiInput.html"><font face="Courier New">SYNMidiInput</font></a></p>
55
56<h2>Revision History</h2>
57<P>2006/03/01 Initial version.</P>
58
59<hr>
60<P>CONFIDENTIAL</p>
61</BODY>
62</HTML>
63