A theremin is an electronic musical instrument that can be played without physical contact. The Raspberry Pi utilizes basic image processing algorithms to generate various tones through its on board audio jack. Check out the video here -



For step by step instructions on how to create this, check out https://www.mathworks.com/matlabcentral/fileexchange/58428-creating-a-visual-theremin-using-raspberry-pi-and-simulink


Summary of Functionality:

This project will:

  1. Mark the centroid of a green object with red crosshairs on the live stream from your Pi camera
  2. Generate sound through the Raspberry Pi's audio jack
  3. Change the frequency and gain of the audio based upon the x and y coordinates of the green object on the screen1