Arduino Code for LEDs

Ask me is you want the schematic of the used circuit. (Its very simple-
Microphone (with an appropriate Amplifier), Leds, and resistors).