#include <revolution.h> #include <revolution/syn.h> u8 SYNGetMidiController(SYNSYNTH *synth, u8 midiChannel, u8 function);
| synth | Pointer to a user-defined SYNSYNTH data structure. |
|---|---|
| midiChannel | Controller MIDI channel to obtain. |
| function | MIDI controller to obtain. |
Returns current value of the controller.
SYNGetMidiController obtains current values of the specified synthesizer instance, MIDI channel, and MIDI controller.
Note:To set MIDI controllers, use SYNMidiInput() with standard MIDI controller definitions.
2006/03/01 Initial version.
CONFIDENTIAL