thanks for pointing me to this nice tutorial but i didn't see anything relevant to my question.
i will try to explain again in case i was not clear:
what is happening now:
i save a preset slot.
i change the values of some of the connected objects.
i save the Live Set, but i forget to save the preset slot again.
the new values will be saved with the Live Set, but NOT in the preset.
this means that if i select the preset slot again, it will contain the old values, and not the ones saved with the Live Set.
what i want:
when i save a Live Set, to force somehow the pattrstorage to save its current state in it's currently selected preset slot.
i'm not sure if this is possible, but will be very happy if anyone knows how to do it.
Ah - now i get it. AFAIK there is now straight forward way to detect when a Live set is saved in MaxForLive. You could try some hacks by capturing the the save-shortcuts plus try prompting to so safe the presets on [closebang]. Still I can see several scenarios where this would not work and/or be problematic.
I can see that this feature may be useful for a personal workflow. From a more general software architectural point of view I would consider it almost a "design flaw" as the basic idea of a preset it that they are independent from the saved state of the software. This state is already stored with the Live Set..... (just thinking out loudly)
"From a more general software architectural point of view I would consider it almost a "design flaw" as the basic idea of a preset it that they are independent from the saved state of the software"
yes, this would be the norm for most scenarios (audio plugins for example).
but i am building an interface for a controller in which i will be switching presets frantically in live situations so it would defeat the point to have to remember and save a preset every time i tweak/finetune some value.
i'm thinking that if it's not possible to do what i want (in a reliable manner), then maybe i can try to do the opposite ie:
make a button that will:
1. save ALL presets and THEN
2. save the Live Set
and then just get used to saving my projects with this button instead.
i will first have to find out if it is possible to trigger a Live Set Save with maxforlive.
but now that max8 is supposed to have tighter integration with Live, perhaps it wouldn't be so difficult to add an option to save presets automatically when saving a Live Set?
( FEATURE REQUEST )
anyway, thanks for the quick response Jan
your usage/idea makes sense to me! you could define a slot number in your devices as the one always storing the last state of the device (e.g. slot 1). And in addition to that you could add a "master device" with a button to recall slot 1 in related all presets (just sending a bang with [send/receive].