Storing presets with Ableton live-set? presets, pattrstorage, pattr…

Steffen Heidemann's icon

Are there any definitive sources/patches that demonstrate how to save device-state with a live-set in Ableton? Trying to wrap my head around it, currently learning fast by failing, see patch attached.

Max Patch
Copy patch and select New From Clipboard in Max.

Steffen Heidemann's icon

I'm still stupid, but it's getting a better. Copy+pasted from maxhelp, understood some things, still banging my head, but seems to be catching all values and is saving as expected with the live-set. Cool!

double_UG's icon

https://www.youtube.com/watch?v=wRCCYjBMTFA

Max Patch
Copy patch and select New From Clipboard in Max.

Steffen Heidemann's icon

Thx, @double_ug! Doesn't seem to work though as in it doesn't save its presets with the live-set; the preset object seems to need the pattrstorage objects name "Store" as a parameter (Inspector > Pattrstorage > Store).

EDIT: video is great, too. With a couple of videos following. Fun stuff! Reading lots about pattr, autopattr and savemodes for pattrstorage right now!

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

Steffen Heidemann's icon

Still exploring… How about multiple pattrstorages in the same patch storing different objects values? Tried some things with exclude/include, but it didn't work as expected when also using the pattrstorages object. How does the pattr object know which pattrstorage to bind an object to, also: if the pattr has a scripting name, does the object it binds to need a scripting name as well?

EDIT: Do I see it correctly that two subpatches/bpatchers would be the way (or rather a way) to go? Is there a restriction of 1 pattrstorage per patch-level?

Max Patch
Copy patch and select New From Clipboard in Max.

double_UG's icon

subscribemode

I never used it

Max Patch
Copy patch and select New From Clipboard in Max.

Steffen Heidemann's icon

Cool, thx. Keen to learn, will definitely look into it. Went with the bpatcher object for an hour or two which has been fun as well!

EDIT: One pattrstorage per bpatcher seems to work.

Max Patch
Copy patch and select New From Clipboard in Max.