Synthesizer (SYN) API Function List

Initialization

SYNInit Initializes the synthesizer's internal data members.
SYNInitSpecifyMem Specifies the memory region for the library and initializes the synthesizer's internal data members.
SYNGetMemorySize Returns the size (in bytes) of the memory region required by the synthesizer library.
SYNQuit Shuts down the synthesizer.
SYNInitSynth Initializes a user-allocated instance of the synthesizer.
SYNQuitSynth Shuts down running synthesizer instances.

Operation

SYNRunAudioFrame Runs and services all active voices for a single audio frame.
SYNMidiInput Sends MIDI input data to the specified synthesizer instance.
SYNGetMidiController Gets the current value for the specified MIDI controller, MIDI channel and synthesizer instance.
SYNGetActiveNotes Gets the number of notes still running for the specified synthesizer.

Settings

SYNSetMasterVolume Sets the master volume of a synthesizer instance.
SYNGetMasterVolume Gets the master volume setting of the specified synthesizer instance.

Callbacks

SYNSetInitCallback Registers a callback function with the specified synthesizer; the callback will be invoked when the synthesizer's status is Note On.
SYNSetUpdateCallback Registers a callback function with the specified synthesizer; the callback will be invoked every three milliseconds for each audio frame.




CONFIDENTIAL