Adding a spectrum analyzer next to audio

I’ve seen these on a few flash sites like http://www.webdiod.com/

When the music plays, a spectrum analyzer shows beside the audio moving up and down like on WinAmp or Windows Media Player.

Is there a tutorial on how to create these?

Thanks