Pitch to Color LED help

Hi, I am at a very beginner level to the arduino, but I know a little about program encoding. I was wondering if someone knew of the codes to be able to make the arduino read a pitch signal and then coordinate that to turn on a programmed LED color. Is there a simple code or way to do this?

What sort of pitch signal? Do you mean a synthesiser control voltage (CV, 1-volt-per-octave)? Or a MIDI signal? Or do you want to detect the pitch of an audio signal?

Any pitch signal from any source. A microphone, synthesiser, midi, anything. the easiest possible way.

Any pitch signal from any source.

To get the signal into the arduino you will need extra hardware. For a MIDI you will need an interface. This shows MIDI being channelled to solenoidal but the could easily be LEDs.
http://www.thebox.myzen.co.uk/Hardware/Glockenspiel.html
Where as to input audio you need hardware something like this:-
http://interface.khm.de/index.php/labor/experimente/arduino-realtime-audio-processing/
For a microphone you need an amplifier in front of the audio input circuitry.