Duplicating Presets

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

Hi, I want to make identical presets for each of four columns of toggles. (Although the presets would be identical, they could be called independently for each column.) It would look something like this, but with more rows.

I'd like to be able to save each preset once, rather than having to manually save each preset in a each column's preset object separately. (In the sample, I'd like to be able to save presets to the red preset object without having to resave them into each of the grey preset objects.)

Is there a way to do this? It seems that duplicating a preset object with presets in it doesn't work, since the preset object remembers the interface objects it originally applied to.

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

Hi UEBERGEEK
You can duplicating presets by writing in your HD and read it
In the following example i write the .maxpresets file in D:// .
The delay use is for future purpose when the maxpresets file goes heavy.
cheers

uebergeek's icon

Hi Tada,

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

Thanks for the patch! This is a cool way to automate the copying. But one glitch - it seems that when I recall the presets on the right, they still affect the boxes on the left, because that's what was saved by the preset object on the left. This happens even though I explicitly patch each preset object to the boxes I want affected. (Here's your patch as I modified it:)

What I'd like to do is, for example, save a preset in Column 1 where the top toggle in Column 1 is "on," then be able to recall it in Column 2 so that the top toggle in Column 2 turns on. Do you know if that's possible?

tada's icon

Hi Uebergeek
I will try tolook at the patch when i have the time
maybe today

tada's icon

Hi Uebergeek
Because i feel like i am missing some points in what you want to do exactly
(for instance...can you save presets in the second preset(GUI)?)
i give you the duplicating presets patcher without the "glitch".
I have used coll object for store/recall data..
As you can see the preset object is used only for store/recall the numbers associated with the data.
hope this helps!

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

Giorgos

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

Great, thanks!
Yep, that's what I'm trying to do. I noticed that the coll loses its contents when I quit Max, so I added save/read from text file. This seems to work.

Now, to scale it to 4 columns and 16 rows... :-)

Thanks again!

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

I'm glad it helped..
you can also use the attribute @embed 1 which stores data with the patcher..simple!
As for the 4x16 ..the only thing you have to change is number of unpack outlets
and number of pack inlets and voila!

uebergeek's icon

Yep, many patch cords!

Thanks for the @embed tip ... hadn't noticed that attribute. Thanks again!