ASPiK SDK
|
Adding factory presets to your ASPiK plugin project is fairly straightforward. The PluginCore object contains a function named PluginCore::initPluginPresets( ) and you will need to create PresetInfo objects for each preset. This is easiest to explain with a few examples. You will need to:
Here is a code example that will show you how it works - you only need to set the actual (not normalized) value for each parameter in the plugin:
If your plugin has a large number of parameters, you can use a built-in ASPiK exclusive to add a button to your GUI that will write a .txt file that contains the above code for one complete preset. You can then copy and paste that code right into your project. See the Plugin GUI section for more information on using this helper control.