This is I project where I built a sound-level detector which turned the screen ON and OFF with two loud claps spaced about 0.5 seconds apart.
My goal was this to function like the Clapper from the old TV commercials (lights turned on or off after two claps). My main challenge was making sure the machine only responded to two claps – not three or more. Thus, I had to challenge myself to have the machine ignore continuous noises.