This project is somewhat of a mix between a basic piano and a theremin. I enjoy playing the piano as a hobby, and I wanted to incorporate that into my work through physical movement and audio. In this, there are five tones ascending a musical scale that can be played by moving the orange paper note horizontally across the screen. This can be done in any order or rhythm, and the volume can be controlled by moving the note up and down.
One of the challenges I faced was getting the computer vision to sync up correctly with a certain object. For this, I used the color tracking patch, where I selected the orange color of the note that the program would follow. I found that uniformly colored objects under bright, white lights were fairly easy to track. Another obstacle was getting the tones to change pitch and volume smoothly, which just took some tweaking to fix.
The Max patch