I have pushbutton data coming in from TouchOSC . I have established communication, and can parse the messages, but can't seem to figure out how to throw out the messages that represent the a multi-button release state.
i.e. when a button is pressed it sends out /multi1/1 1. when released it sends /multi1/1 0.
I want to ignore any message that has the 0. at the end. I'm using the button as a trigger, and don't want to process double hits every time.
Is there a rexexp or something that will essentially discard the msgs that end in 0. ? Or am I looking at this the wrong way?
(I don't really want to use any externals to do this.. I already have the basic parsing down for most of the data coming in. It's just the pushbuttons... especially multipush. Wish I could just send a single message with them