My midterm project is a cake that can sing with the rhythm. I used a sound sensor to try on several times. I adjusted the threshold in order to have the best interaction between sound and LEDs. The following is my prototype 1 and 2: Final work (day version+ night version)