This main part combine the first two Sub-patches. With the camera feed filtered by a pixel difference (like described here), I send to Arduino either the value "1" or "2". The value "2" turns the air pump on as the "1" turns it off, as shown on the Arduino code.
By sending different time-scaled air streams into the water, the motions of the performer thus become a language that is similar to Morse code.
Patches used
- Arduino: File:Relay_Pump.ino
- Max MSP: File:Talking_To_Pyrocystis.maxpat