SYNGetMidiController

C Specification

#include <revolution.h>
#include <revolution/syn.h>
u8 SYNGetMidiController(SYNSYNTH *synth, u8 midiChannel, u8 function);

Arguments

synth pointer to user-defined SYNSYNTH data structure
midiChannel controller MIDI channel to obtain
function MIDI controller to obtain

Return Values

Returns the current value of the controller.

Description

This function obtains the current value of the specified MIDI controller of the specified MIDI channel for the specified synthesizer instance.

NB: To set MIDI controllers, use SYNMidiInput with standard MIDI controller definitions.

See Also

SYNMidiInput

Revision History

03/01/2006 Initial version.