Pattr & Autopattr in the same Preset?

Emanuel's icon

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?

Greetings
Emanuel

Emanuel's icon

.. 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!

Jan M's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Best jan

Emanuel's icon

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!

seejayjames's icon

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.

Emanuel's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Emanuel's icon

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:
http://www.maxforlive.com/library/device.php?id=590