How to program a graphical spectrum analyser in a MP3 palyer(like the one in Winamp)? Are there any APIs to find out the pitch of the output every second, so that, i may draw the graph for the mp3 song?

------------------
Sai