Forums > MaxMSP

Handling OSC messages – Is there a better approach than explicit route objects?

September 21, 2012 | 10:55 am

When handling OSC messages I’m stuck creating many route objects to filter the incoming messages. This soon gets a bit messy as indicated by this patch.

– Pasted Max Patch, click to expand. –

I’m working with the assumption that the messages can only handled with a switch case like scenario as they need to be explicitly known beforehand. However, if anyone has any suggestions for a more elegant and flexible method when filtering a large number of incoming OSC messages it would be most welcome.


September 21, 2012 | 12:52 pm

CNMAT’s [OSC-route] might help. Plenty of references to it on this site…


September 21, 2012 | 1:14 pm

By being based on route it pretty much uses the same method for filtering. I think I’m looking for something that doesn’t exist so I shall end my search and just use route.


September 21, 2012 | 6:20 pm

Are you looking for something like this:

http://cnmat.berkeley.edu/downloads/odot

See also:

http://cycling74.com/forums/topic.php?id=42211


September 21, 2012 | 8:40 pm

I read through the paper (briefly). There’s some nice ideas but not the one I am after. It’s not a problem, I can work around it.


Viewing 5 posts - 1 through 5 (of 5 total)