Sound waves to graphics

Do you know programs like winamp, windowsmedia, itune when you play can get sound visuallisation.

Heres an example
How do you do that? In that detail?

Can i open a sound file through something like itune, and somehow record the sound visualisation? Is there a program that can do this?

If you can’t do effects in such details can you still do it using 3d vector graphics?

thanks if you can help out!