Question about Presets and Applications
I have made a rather massive and unruly patch that nonetheless does what I want it to do, and all along while working on it, used a preset object to "save" where I was at, settings-wise. There are a good many parameters being dictated by sliders for example, where I’ve got everything dialed in just right. Now, it seems that saving the patch with the desired preset selected does not save it in that state–it defaults to all sliders, etc. on 0 and so on. Not a big deal for me, I just select my preset upon opening the patch and I’m good. However, I want to save this thing as a standalone application, with the default settings being my preferred preset for the whole patch. How does one do this? I know I could, for example, set up loadbang objects/messages, etc. where appropriate to match said preset, but is there a way to simply save the patch with the various and sundry settings just where I left them?
P.S.–I toyed with the "freeze attributes" a bit, but it seemed funky–for example, I froze the setting of a number object, but then after "unfreezing" it could not change it–it was simply stuck (so that approach did not breed confidence).
have you try with [pattrstrorage] family ?
----------begin_max5_patcher---------- 580.3ocqUssbaCBD8Y4uBFdVwCf.I49T62QmLdPRzD5HAdPn3jlI+6kaxVNt oM10OXyxtKK64b.wqqxfM5mEiPvW.eGjk85prrfKuirz7L3.+41d9XHM3fXb j+f.lGiYEOaC9GsZiy+dopSueN5OzJ6n7WBeFX5ZTx8Nts8Qo5gsFQqMt4Ek HWX.NMf7ICH30Hv8oEolFjpdgMzFjiN0S1Yu3jWYWnkzM+7txkshhODZE32L Rd+bjXArurSDaEHDbuOxaqV4+K+SRLJwd2FNWzm3lC61DpZCBgHDzYrliIrl D0c0jFAEFpYgIEeDmg+rbF953rTnQ9Shtst53Zysd3IalrwyXYGntr4yKKPS IFGvhS9IdSF5.Pxfs8RgxtH6JZcNnxmL1awpVj7Ntg6.tzNn6BMH5jHBqvrU n3M8wfgXA09Fp4rRpWyw0mo47IqNn6fu5MMBOUH.3KW+IKkebY40n+zy0e10 n+4K9cX+SX68ZeitItr6PqqnjZVUt2jgc1k4.GbXUXZg2hFrNJsVsUGWKZc4 g7K70.GJxBy5383qSZGl5sxwdYmv7mzWODlOv6XR6KwyR3OVrvyWVChEdSXf R9WpUrEZ08ZyLtqIUTF1i6phJBi4spKXjMTWEOsdKDZx4BM8uKmGuRmNMRu8 7XPOuLhjbq3wRLqLd9g4Iu.iNysWDOV7evigfvdo58OCGPt2+oj6ndxzNW9z Kbfi8Zm6FmTwsRsZQN3Sx4QYWmPs36hvAY2NsTYSsvIu+4l71peC0d22B. -----------end_max5_patcher-----------
if you’re using preset, just do "loadmess 1" to it (if preset #1 is your default state). You can also have a hidden preset to do just this, where user can click a "reset" button and restore these defaults, if they are a good starting point. Having the preset hidden will keep them from overriding it with their own; you can have a visible one for them to mess with, if you want. Or you can have the default preset be a number higher than what is accessible in the UI part of the preset, so it’s always available via a message, but not clickable.
No need to lose all those carefully-dialed settings, I know what you mean. a lot of times it’s even just to speed development and testing along…
and the "freeze attributes" is a different thing: the value stored by a slider is not an attribute, it’s the current value. a good place to poke into this is to click the left inlet of objects, check out the attributes/messages listings and think about the differences between the lists. though the jitter objects behave somewhat differently, they allow many more attributes to be set in the object description, with the @ notation. And many attributes aren’t listed in these popup lists, to keep things less cluttered…so you manage them in the Inspector.
but even the preset file is embedded into the patch, i would still write it out to a separate file and keep that around.
(write / read messages)
i have lost quite some hair by transferring patches with presets to different machines and the presets got lost in transition.
Thanks all!—will experiment with pattrstorage and also with loadmess and see what suits this the best!