For a given module, are all the parameters and settings supposed to be stored in the preset manager like they are when you save the patch or workspace ?
Or does each module decide which of its parameters and settings to store in the preset ?
A related question, perhaps should be in SDK forum - for a User module, is it only the Chunk that is stored in the preset, or are any parameters and settings stored in the preset apart from the Chunk ?
Thanks,
Simon.
what is stored in preset manager ?
on the scripts there was an option to set parameters to be saved or not in presets .
think all modules that are standard 'UI parameters ' have same behaviour, and are saved by default unless the "saved in preset" is ticked out on the module option, (like faders, swich, display arrays and co). math and non ui parameters like constant, A+B ect are not saved. the save/recall act like a preset.
on sdk have to check back but think they are not saved by default, either have to specify the option 'DontSave' false on the TParamInfo (don't remember how that behave tho, and if effective) , or manually handle the chunk.
think all modules that are standard 'UI parameters ' have same behaviour, and are saved by default unless the "saved in preset" is ticked out on the module option, (like faders, swich, display arrays and co). math and non ui parameters like constant, A+B ect are not saved. the save/recall act like a preset.
on sdk have to check back but think they are not saved by default, either have to specify the option 'DontSave' false on the TParamInfo (don't remember how that behave tho, and if effective) , or manually handle the chunk.
-
sm_jamieson
- Member
- Posts: 555
- Contact:
OK thanks, but in any case, the Settings in the tabs (for a User Module added in onCreateSettings) are not saved ?
-
sm_jamieson
- Member
- Posts: 555
- Contact:
These fields are in TParamInfo:
LongBool DontSave; ///< specifies if the parameter need to be save or not
LongBool IsStoredInPreset; ///< set the param stored in the preset (default false)
Simon.
LongBool DontSave; ///< specifies if the parameter need to be save or not
LongBool IsStoredInPreset; ///< set the param stored in the preset (default false)
Simon.
the settings in tabs are saved / recalled with the workspace, not in presets, they are to be considered as what was before called 'layout' params. think like setting colors, ui stuff, stuff thats not supposed to be changed on presets, but more set once. most usine modules offer kinda special 'snapshots' for their ui tab, ie faders, but i don't think its currently implemented on user modules, have to recheck..
for the paramsinfo, yes those should be the one to test, disn't had the ocasion to yet, was dealing the chunk on my side, but that could be conveniant
for the paramsinfo, yes those should be the one to test, disn't had the ocasion to yet, was dealing the chunk on my side, but that could be conveniant
Who is online
Users browsing this forum: Bing [Bot] and 22 guests
