Musical Lights using mp3 input

I want to input a mp3 song, process it and drive 3 leds depending upon the music (kind of musical lights).
I know i'll hav to give the input audio signal a DC offset to get the complete signal and use the analog IN feature of arduino...but i'm confused on how to process the audio, and to add to the problem, i know very little about musical tones and all...
So how to process and on what frequencies to switch the lights for max appeal.....help me plz

You don't suppose that maybe this has been done before, do you? Google "Arduino Audio". It is not trivial, if you want the lights to flash in any meaningful way.

Just going to jump in here again and recommend the rMP3 module from Rogue Robotics. It plays its own music and it can do a visualiser with minimal trouble or coding experience from the user.

Mowcius

I want to input a mp3 song, ......I know i'll hav to give the input audio signal a DC offset to get the complete

Which do you want to do input an audio signal or input an MP3 digital file?

Input as in audio signal, from a 3.5mm jack....

and thanxs for helping...

This link is for audio input:-
http://interface.khm.de/index.php/labor/experimente/arduino-realtime-audio-processing/
However for flashing lights you probably don't need this but an envelope follower and filter:-
http://www.andregoncalves.info/ag_blog/?page_id=61

I use this chip and it works great .. 7 bands .. 2 pins .. few extra components.

http://www.bliptronics.com/item.aspx?ItemID=111

The only related parts I could not get at radio shack (see schematic) were the 33pf capacitors and an adapter to make it breadboard capable. (need very basic surface mounting skills)

33pf Capacitor
I got 50 here (shipped) for 3 bucks (the price of 2 packs of capacitors at radio shack).
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=320517060962&ssPageName=STRK:MEWNX:IT

Adapter Link:
I use this adapter so I can breadboard the tiny chip.
http://www.proto-advantage.com/store/product_info.php?products_id=2200001

heyy thanxs for the help, but can something like that be done in the arduino itself? something like Fast Fourier Transform (FFT) or something to analyze the input signal.

I've got the theory part but cant put it to coding, how to do FFT on arduino?

I use this chip and it works great .. 7 bands .. 2 pins .. few extra components.

http://www.bliptronics.com/item.aspx?ItemID=111

I like the look of that.

Mowcius

Do a search for FFT you will find posts like this.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1262541505

I have not used such an animal, as I use this chip in order to offload the process to a dedicated IC because of the large amount of other tasks I am having the arduino doing at the same time.

In any event, hope that helps.