Forums > MaxMSP

Pattr & Autopattr in the same Preset?

March 11, 2011 | 6:16 pm

Hi there,
I know how pattrstorage and autopattr work, but still have a question:

Is it possible to save the contents of several "Pattr" plus contents of an "Autopattr" in the "Preset" object at the SAME TIME?


March 11, 2011 | 9:29 pm

.. to be precise: …"save the contents in the same "Preset"". The only way I have found is to have two presets, one binding to pattrstorage, and one saving the autopattr part. clumsy!

March 12, 2011 | 12:21 am

the purpose [autopattr]is to expose other objects to the [pattrstorage]. What exactly do you want to save about the [autopattr] inside the preset?

– Pasted Max Patch, click to expand. –

Best jan

March 12, 2011 | 4:28 pm

Jan, thanks for your input. the question was, if I could store multiple pattrstorage into one preset, which is per se the wrong question. I misinterpreted something here: the preset acts just as an interface to pattrstorage when bound to it. So I will use bpatchers for multiple pattrstorage and then have a master pattrstorage with @greedy 1. Question is solved, thanks!

March 12, 2011 | 11:11 pm

You can also have two presets: a visible one that stores a dummy number box (so it doesn’t store other patch elements), and the "real" one that’s bound to [pattrstorage], hidden. The first preset will send its store value (int) which you can use with "store $1" to the real preset. Likewise, it sends a recall value, which you can send to the real preset to recall.

The advantage of this seemingly unnecessary bit is that the recall integer that comes out of the first [preset] can be run through [line] to provide interpolation floats for the real [preset]. This lets you still use the handy [preset] UI but you get interpolation possibilities too.

March 15, 2011 | 5:58 pm

@seejayjames, yes, thanks, this is similar to the following possibility:

– Pasted Max Patch, click to expand. –

March 15, 2011 | 6:30 pm

One question remains, I have 16 pattrstorages in bpatchers, which have parametermode enabled and thus save in the live set. Its possible to save the pattrstorage on the first level to disk. Is it possible to save the pattrstorages of the bpatchers into a master and then to disk as well? Having 16 pattrstorages to manually save to disk is somewhat clumsy. I could not get the pattrstorage of the first level to store all the contents of the bpatcher pattrstorages, because the patch would not work any more when set to @greedy 1.
The patch i mention is this one over here:

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