OSC-route dynamic setting

M B's icon
Hello. 
I am stuck with an apparently simple operation that's been bugging me for some time now. Can't get to dynamically set OSC-route (CNMAT) to listen to some ID-specific incoming data. Can't think of a clean workaround, any idea is welcome. 
Thanks.



stuck_osc_route.maxpat
Max Patch

Source Audio's icon

I would not use cnmat objects at all, but that is another topic.
Read the OSCroute help file, check
Changing the arguments to OSC-route
where it says :

"You can change the address prefix associated with each outlet with the "set" message:"

vichug's icon

well that’s not really another topic, [opensoundcontrol] and [osc-route] objects are kind of deprecated ; you should be able to do what you want with the [route] object, ditching [opensoundcontrol] altogether, and using [combine] to change the adresses if needed.