Andre Michelle : ActionScript 3 Compute Spectrum

Andre Michelle has put together a nice example of how to take a sound, compute its spectrum, and then visually render it.

You can view the entire example here.

(make sure to check out the rest of his site, for some really amazing demos and examples).