Pattrmarker in abstractions
I've been searching the forum for a resolution to a scope issue I'm having. I have a set of leds in two separate places (sub-abstractions), and they stay in sync using a pattrmarker system. These subabstractions are within an abstraction themselves.It works great when the upper abstraction is by itself, but as soon as I introduce copies of the abstraction into my main patch, the pattrmarker is accessing all the occurrences it finds, and this is not desirable. I want each main abstraction to be a silo unto itself within the main patch.
Pattrmarker is global, but I need to limit the scope to each main abstraction within the main patch.
Am I barking up the wrong tree, or is there another way to keep those leds in sync and in isolation across each of these separate silo abstractions within the main patch ?
I'll put together an example patch later this evening as a technology demonstrator, but until then, I would Love to hear some thoughts on this
There's a monster thread I found which might address this issue partially, or it might not at all. It's so lengthy, . . .
Try using pattrstorage and autopattr, then everything can have a unique name in the inspector and shouldn't clash with each other with using nested abstractions.