I am working on a patch that has four separate subpatchers that each have a set of sliders/umenus/integers that have preset values being collected by autopattr and saved in pattrstorage objects. Because I have the autopattrs in each patcher, I end up having to save 4 separate files when I send the write message to the pattrstorages. I would like to add more subpatchers into this preset saving scheme, but that would make even more files to save. Also, if I move the set of presets to a new computer, it’s annoying to load all of the files.
What I would like to do is have the autopattrs all direct their data to a pattrstorage in the top level patcher so there is one monster .xml file saved that has all the data stored for all of the subpatchers.
Am I going about this the right way? Is there a way to redirect autopattrs to a higher patcher level? I can’t seem to figure this out.
If I am understanding your setup up correctly, you should just be able to have a single pattrstorage in your topmost patcher.
Put the pattrstorage at the topmost level and set its @greedy attribute to 1.
Thank you so much! I can’t believe I missed that in the help file. That has been bugging me for a while.
C74 RSS Feed | © Copyright Cycling '74