I have the following code. I am sending, via network and OSC protocol, the values 0 and 1. My goal is that when the value 1 is received, trigger the green bang and start playing the wav file. When 0 is received, trigger the red bang and terminate execution.
How to do this?
