pattrstorage - priorities issue

ch's icon

Hello,

Isn't it possible to set priorities of some items that are within abstractions, from the top level patcher?
I'm probably missing something here...

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

Here is an example patch showing what I would like to achieve :

(this example uses embedded bpatchers instead of abstractions, but that's the same issue)

Thanks,

Charles

Ben Bracken's icon

You are just missing a colon. You want something like, 'priority A::A_number $1' and 'priority A::B::B_number $1'.

One thing, setting the priority of 'A' or 'B,' which are patchers, doesn't really make any sense, at least to me.

-Ben

ch's icon

...ok! :)
Thanks for pointing out my typo mistake.

Patchers' priorities make sense to me. I think that if A got a lower priorities than B, its items will be restored first, even if all the items in A and B got the same priorities. At least I expect it. gonna give it a try.

thanks
Charles

Ben Bracken's icon

One can set the topmost patcher's priority, but subsequent patchers within the hierarchy will always be restored top down. From the ref:

"Priority is only respected within a single level of the patcher hierarchy. Data in parent patchers will always be restored before data in nested patchers."

-Ben

ch's icon

Yes, sorry, the A and B of my example patch were not a good example for that.
In my last post I was thinking of A and B as two patches at the same level.
Charles