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

Martin Peach martin.peach at sympatico.ca
Sat May 21 20:46:26 CEST 2011


On 2011-05-21 13:58, Matteo Sisti Sette wrote:
> Hi,
>
> Suppose that in an OSC tree I have a node called "foo" (child of the /
> root node) which has a few child nodes.
>
> So I place a [routeOSC /foo] object to get all messages that are
> addressed to /foo or to its child nodes.
>
> This will catch all of the following messages:
>
> /foo 123
> /foo/bar 123
> /foo/etc 123
>
> Now, how can I discriminate messages like the first one from messages
> like the others? I.e., messages directed to the /foo node and not to any
> descendant?
>
> I don't think I can accomplish this with [routeOSC], or can I?
>

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


Martin



More information about the Pd-list mailing list