Hi guys, hope you can help.
So I am receiving packets via OSC that are one of 32 different messages, generally receiving multiple different messages at once, using routeOSC. These then get sent to one of 32 individual subpatches, one for every outlet on the routeOSC object.
The issue is that there's a ton of cpu load because of all these subpatches (readsf~ and dac~ in each, as well as a bunch of random/makefilename/other objects), and I don't actually need all 32 at once - probably half that number, max. I've been trying to work out a way of routing the messages coming out of routeOSC so that they go to a subpatch that isn't currently being used, but I can't figure out how to check whether a subpatch is 'free' or not. Any thoughts would be warmly received!