RGB LED's and Electret Mic: Beginner Questions

Hi!

I'm trying to build a simple system in which RGB LEDs react to audio input from the Electret mic.

My first question is:
Is there a way to analyze the frequency of the sound in arduino, so the LEDs are reacting to the frequency instead of the volume?

If not:

I'm not sure how to get started on analyzing the volume and assigning values to the RGB LEDs.

Thanks for your help.

Is there a way to analyze the frequency of the sound in arduino,

Yes look up the FFT.

Or use MSGEQ7 chip(s).

Paul