dynamic routings

jirko's icon

is there a way to route with dynamic arguments,
something like [route] , but with a set message for the argument we want to route?

thanks!

pm's icon

The [route] object in Max6 does that.
Also you can have a look at [osc-route] on maxobjects.com

Roman Thilenius's icon

"set foo" - [prepend] ?

spectre's icon

Or perhaps a custom [js] script within a [p], which creates a certain number of inlets/outlets based upon the messages sent to it? Just a thought.

Luke Hall's icon

Here's a little abstraction that uses [route] and [thispatcher] to re-script connections and outlets, it's from my pre-javascript days. I did start a javascript project to do something like this but I shelved it, I think due to javascript's inability to differentiate between float and integer arguments. Anyway, I hope it's useful.

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

lh.route.maxpat:

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

lh.route.maxhelp: