Forums > MaxMSP

Pattrstorage and Sendbox – Create/Delte Objects – Any Insights?


Sym
March 4, 2014 | 2:41 pm

Hey I’m just trying to figure out how I can establish a working preset management for an existing Patch where I let the user create or remove certain objects.

As an example the user can create new Envelopes, that are created by sending a Scripting command to Thispatcher. When saving the Preset all 3 Envelopes should be stored and recalled. When loading another Preset with only 1 Envelope, the other two should be removed and the patcher should load only the stored value for the first.

Could anyone point me into a direction how to achieve this? Or is this even possible?


March 4, 2014 | 5:27 pm

why do you need this ? it’s very possible, using [thispatcher]



Sym
March 4, 2014 | 11:28 pm

Hey Vichug, thanks for your response but you misunderstood my question.

I’m aware of the possibility of creating/deleting objects via thispatcher, this is what my question is based on. What I’m wondering is, when creating a modular environment based on this, is it possible to have pattrstorage not only save the values inside each created object but also if they exist?

For example I create 1 envelopes and save a respective preset in the main patcher. Afterwards I create 2 others and save another preset. Is there a way to change the patcher when reloading a preset to only show the 1 or the 3 envelope-objects via the pattrstorage preset system?


Viewing 3 posts - 1 through 3 (of 3 total)