So what this setup hopes to achieve is just to serve as a sound meter. A way to read and caliberate the loudness of the sound read from the sensor. In this particular setup, the red, green and blue LEDs are triggered to come on when the sound levels are within some ranges we will set in the codes.
When there is sound but not loud enough, the green LED comes on
When there is sound and it is a little bit loud, the blue comes on
When there is sound and it is very loud, the red LED comes on.
This will continue to be the reaction over and over when you are speaking or playing some music.
Nice work snr
Thanks much😊