SYNGetMidiController

Syntax

#include <revolution.h>
#include <revolution/syn.h>

u8 SYNGetMidiController(SYNSYNTH *synth, u8 midiChannel, u8 function);

Arguments

synth Pointer to a user-defined SYNSYNTH data structure.
midiChannel Controller MIDI channel to obtain.
function MIDI controller to obtain.

Return Values

Returns current value of the controller.

Description

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.

See Also

SYNMidiInput

Revision History

2006/03/01 Initial version.


CONFIDENTIAL