Dynamic string management for custom GUI controls that allow the string lists to be changed or the text labels to be altered; this is really just a big database of GUI controls and save interfaces to have them update in a thread-safe manner.
More...
|
class | DynamicStringManager |
| Dynamic string manager - this object connects plugin parameters and their GUI controls with new or different sets of strings to display. More...
|
|
Dynamic string management for custom GUI controls that allow the string lists to be changed or the text labels to be altered; this is really just a big database of GUI controls and save interfaces to have them update in a thread-safe manner.
- SynthLab's Module/Core paradigm allows the loading of different ModuleCores, which expose customized strings. For example, the oscillator cores expose a set of strings that are the waveform or sample names. And each core also exposes a set of mod knob labels for its specialized functions. This is detailed in the synth book and website.
- the number of strings is fixed and won't change, however some string slots may be empty signified with "-----"
- this will NOT interfere with automation because of the constant size of the parameter lists
- core names: there are always four (4) core names available, though they may not all be populated which is OK
- the four cores names are loaded into a GUI control - a list box or a combo box; each time the user selects a new core, ANOTHER GUI control is updated with the module strings (16 of them) and the four (4) Mod Knob labels are changed to reflect the new core
- you will need to know how to deal with dynamic string loading in your plugin framework
- these objects are designed to work with ASPiK plugins and are dependent on one interface, ICustomView which is used to re-populate the GUI controls with new strings
- core names: there are 4 cores per module
- moduleStrings[16]: these are the 16 strings exposed in the ModuleCore constructors
- modKnobLabels[4]: these are the labels that replace the A, B, C and D ModKnob placeholders