Frequency spectrum

Hello everyone.

Here’s my deal: I have a streaming MP3 player that gets it’s feed from an XML file. Simple right?

Well, how can I make a frequency spectrum that “actually” responds to the frequencies being played in a certain track? Is it possible to make such a spectrum?

Please help.

Thank you all very much!