SynthLab SDK
|
The SynthModule base class provides built-in functions for retrieving all of these strings at any time during operation. Usually these are called through an interfacing function on the engine object, which then calls a function on the first synth voice (all will have identical strings), which then calls the function on its SynthModule member. Specifically, there are get-string functions for:
You can find the get-functions in the SynthModule class declaration; remember that modules may also be used without cores, and so there are two sets of functions, one for use with cores and another for use with solo SynthModules. Note that all of these functions and their arguments are documented within this guide.
Lastly, there is a function that will create a list of ALL of the module strings for all of the module cores, providing up to 64 entries. This is used in the Wave Sequencing synth to allow the user to sequence waveforms from any of the four wavetable cores that are loaded. This function simply appends each set of module strings in succession and will always produce a string that has 64 entries, though some of the entries may be blank strings.