Nesting Pattr Presets

MuShoo's icon

So I'm not sure I can explain this well. I'm very new to the pattr system.

I'd like to be able to nest presets - say I have a bunch of bpatchers, each with a pattrstorage in them. I can save a bunch of presets in these bpatchers, that works fine.

But then, I'd like to have another pattr on top of them, that is essentially saving banks of presets from the bpatchers.

The main pattr is set with the @greedy 1 flag, as it seems to be closer to what I want to do.

So, say I've got 4 presets going on in the bpatchers. Then I hit 'store' in the main pattr, and go to preset 2 of the main pattr. I rearrange and mess with the 4 presets in the bpatchers, and hit store again. Now, when I go back to preset 1 of the main pattr, none of my older settings have survived the transition.

Hopefully that makes sense. I've included a .zip file containing two patches that hopefully can help illustrate what I"m talking about.

2329.NestPattr.zip
zip
generalh's icon

Hello,
In the clientwindow of patch unselect subpatch var and it does the trick.
This param is the number of slots included in subpatch as i understood it.
Well more info would be nice..
Hth,
cheers
Hubert

MuShoo's icon

Thanks, Hubert! I actually just came up with my own solution (I don't think yours was exactly what I wanted - I probably didn't explain it very well.) I probably can't explain my solution very well either, but here it is as a patch anyway!

2331.SubPattr.zip
zip