[PD] routeOSC: how to distinguish messages addressed to a node from messages addressed to any descendant

Matteo Sisti Sette matteosistisette at gmail.com
Sat May 21 21:40:22 CEST 2011

On 05/21/2011 08:46 PM, Martin Peach wrote:

> Try
> [routeOSC /foo]
> |
> [routeOSC /*]


I didn't know about the wildcard.

However, this still can't handle messages other than mere floats 
addressed to /foo.

For example:

/foo 1 2 3

You get only "1" out of the right outlet of your second routeOSC.

Also, messages like this:

/foo somesymbol 1 2 3

(which btw are valid osc messages, or aren't they? this is dubt, not 

although they produce the desired output ("somesymbol 1 2 3") from the 
right outlet of your second routeOSC, will cause an error to be printed 
to the console:

error: * routeOSC: invalid message pattern somesymbol does not begin with /

More information about the Pd-list mailing list