Animation help: Sound Levels?

I can’t figure out how to do an animation of the sound levels visualization.
I want to do an oscilloscope or wave form or frequency bar animations to music. If anyone knows how to do it in Flash XM please help?

Send me a PM.