[PD] split off first path component of osc messages

Lorenz Schori lorenz.schori at gmx.ch
Tue Jun 28 12:36:37 CEST 2005


hi list

i'd like to use osc for controlling a rather big number of abstracts.  
because the "voice numbers" are contained in the path part of the osc  
messages i currently have to do something like

[OSCroute /0 /1 /2 /3 /4 /5 /6 ...]

is there a way to split off the first path part of an osc message? e.g.

[OSCfirstpathcomponent]
|                     |
<number or symbol>    <rest of osc message>

like this i could clean up my patches and feed the stuff to nqpoly4  
easily.

cheers
lorenz




More information about the Pd-list mailing list