zyn-fusion-issues icon indicating copy to clipboard operation
zyn-fusion-issues copied to clipboard

Saving a master settings overlooks disabled but modified parts

Open fundamental opened this issue 4 years ago • 1 comments

Generally any part of the parameter tree which is at non-default values should be saved regardless of the enabled/disabled state of things. I'm not sure if there's an easy way to flag that, but either way this is an issue which should be resolved at some stage.

fundamental avatar Dec 10 '20 23:12 fundamental

I've run into this same problem. Since Voice enable is automated via an osc message, When sequencing music it is desirable to be able to switch voices on and off from the sequence. This works fine until the zyn configuration is saved ( or in my case auto saved regularly). If a configured voice is disabled at the time of the save, then that voice is not saved and the entire voice configuration is lost.

I guess this also applies to parts.

Maybe a boolean status flag on each node. Initially ( "clear the master") all these flags should be reset - all nodes are at default. Whenever a parameter is changed then that is rippled up the parameter tree to set the status flag for all higher nodes. Loading an XML data file must set the flags of all parameters that it loads. Saving an XML data file must save all tree points that have the status flag set.

zynmuse avatar Sep 28 '21 15:09 zynmuse