I took my touch piano a slight step forward today and created a musical distance sensor and LED show. Your body now acts as the keyboard using GHI distance sensor. I’ve also added sharp and flat notes to the scale. It will sound a little “less musical” as I’m not moving in any particular key. However, it could be imagined that an array of people with sensors and speakers could result in a coordinated musical ensemble.
This project can be found in my GitHub repository in the MusicalDistanceSensor solution.
The hardware setup is below:
Here is a picture of the hardware assembly: