Lighting LEDs to sound detection

To start, I want to say that I do not have any code written yet, as I do not know where to start. I use C++, but I'm still learning. I want to create a board that will have a sound input, change the voice input into a different output with a potentiometer (forgive me if the spelling is off). When I talk into the connected mic, I want to light the LEDs, and have them turn off when I stop talking. What commands and functions should should I use to accomplish this? Is there a certain library that I need to use / #include? Thanks in advance for any and all help.

Maybe this will help.

Google “arduino sound detection” for more pages.