This is a piano type project that I made with an Arduino Uno, HC-SR04 Ultrasonic sensor, and Piezo buzzer.
Feel free to make any changes to this code.
I am by no means good at coding. I just put this together for fun.
Thanks for looking, and happy creating!