Sound sensor

Now we can get to know the sound sensor with a simple challenge
Sound sensor
The sound sensor can be used to control switch statements. If you setup your switch statement correctly using a sound sensor you will be able to build this simple drum partner.
To do this you must build a program which beeps when it detects a loud tap/clap. It will require you to use a single loop block and switch statement which is controled by a sound sensor. Good luck!