multiple pattrstorages – one preset file
hei folks,
i have a patch with multiple pattrstorages (located in various bpatchers and the like). each has it's own [preset] object. i'd like to manage a "central" storage (-file) that holds all preset data in one place (such as one json file or something else). is it possible?
in max's "save as" menu, i found the option of saving a project as a "max preset file". what is this? and – does it possibly do the above?
thanks!
If you set a top-level pattrstorage's greedy attribute to 1, it should see all the bounded objects down the patch hierarchy.
hei patrick – thanks for the help! the problem is, i don't really want a top-level pattrstorage to manage the objects in my subpatches. i'd like to have separate [preset] objects inside them, how ever ideally only use a single file for all data.
Maybe you could simply memorise all presets id of your subpatches in a coll. Mutatis mutandis I mean something as trivial as this:
Hi Benniy!
Did you find a solution for your issue?
I think iwe are looking for something similar, as I found another topic of yours wich was nearly solving my problems... but the example patch's dowload link was out of date!!!
Please help me if you can, this is an issue that seems trivial (saving something like a "song" preset in parent patch that recalls banks of presets in child bpatcher, independent but all in a single json or something) but i can't find how to do it.
Thank tou very much for your attention.
Bias
hei bias,
i've actually ended up using an individual pattrstorage in each "section" of the patch that seemed reasonable and having one central pattrstorage that only manages, which preset in which section is recalled... seems like there's a more elegant solution, how ever i didn't dig deeper and this worked for me. in very short, your central pattrstorage only store numbox (or multislider) values , each representing the according presets of the sections mentioned above. when a central preset is recalled, the values / numbers are simply sent to the according pattrstorages and thereby recall a preset.
hope this helps a little. obviously, you won't have a central file :/
Thanx for our reply!
I was hoping for a cleaner solution, but I'll study a workaround wich automatically saves multiple .json for each pattrstorage, something like you enter "yourpresetname" and multiple messages are sent to the relative bpatcher, like "write yourpresetname_01.json", ecetera.
For sure it will be a problem to RECALL all these presets (do I have to write the exact name of the file, istead of choosing from dialogue box?), but Il'' study it.
Thank you again for help, bye!!