SYNGetMidiController

Syntax

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

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

Parameters

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.

Do Not Call From

None.

See Also

SYNMidiInput

Revision History

2013-05-08 Automated cleanup pass.
2006-03-01 Initial version.


CONFIDENTIAL