Click here to download the revised versions of the patches that were demonstrated during class. Simply open the Max file and it will open the patch. There is no need to cut and paste the code.


Teacup interface: as you pick up a teacup, a sound starts to play triggered by reed switches connected to the digital inputs of Arduino. The sound stops when the teacup is put down.

To see the sound patch in action click here


This patch mixes two video signals in a similar manner as the layer modes mix different layers in Photoshop. The changes is layer modes are controlled by a switches connected to an digital in of Arduino


This patch zooms in and out of an images according to an analog value of a sensor connected to an analog input of Arduino