regexp filter /z message
hi
on touchosc, i used the z fonction for have contact information.
when i active the z fonction, i have a message like this : (for an XYpad)
/control/xypad (Xpos) (Ypos)
/control/xypad/z 0/1
the fonction is apply on all graphic object.
if i don't want used the z message (like on fader) it's necessary to filter it with object osc-route /z at the end. but it's necessary to do it on all object receive.
i search to filtered the ...../z message on the roots, certainly with a regexp object. but i don't find the way...
a short exemple
thanks
f
Can't you just use something like this:
hi
yes i know this way but i don't like to used this kind of process because i have lot of receive from touchosc and necessitate to repeat the route /Z at the end for each grahic object receive.
i'd like to filter it (filter message whose contain /z) at the roots and just used /z whose i can process
how make to filter a message like :/control/xypad/z $1
it's stupid by touchosc to don't have possibility to define by graphic object if yes or not the z message is send...
thanks
f
Is this better?
hi patrick
thanks... it's this kind of stuff...
i repply the patch because you send it with a space in the regexp equation and don't run correctly.
here the correction
best
f