We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am trying to delay an OSC message that I am sending to SuperCollider everytime I receive a char over Serial from Arduino so that it is only sent to SuperCollider every 3200ms instead of 60 times per second as in draw(). I am also using the char from Arduino to trigger a video to play in Processing. The videos are triggered on char conditions in if statements inside of draw().
The problem is that in delaying the OSC message, I am also delaying the video playback. I tried placing the OSC message in its own if statement, and then in a function named soundEvent() that I called inside of draw.
Anyone have any ideas?