6.30.2006

Sound Visualizer in Actionscript 3.0 (Flash Player 9 required)

I've been wanting to do this for a long time.
After looking at Lee Brimelow's Flash 9 Sound Spectrum and playing with some recently-developed BitmapData filter effects, I came up with this little sound visualizer. Actionscript 3.0 is exciting new stuff.
The jist of this is catching byte data through the SoundMixer's computeSpectrum method and using those values to drive some kind of animation. Here the color and height of the small rectangles are determined by the sound data received from the ByteArray. The blur color effect is acheived by applying two filters (every other frame), a ColorMatrix and a Blur, to the BitmapData that draws what's on the screen on that frame. More experiments to follow.


4 Comments:

At 9/16/07 10:08 AM, Anonymous Anonymous said...

Wow! That`s awesome. Thank you!

 
At 12/21/07 10:08 PM, Anonymous drew said...

totally rad!

 
At 12/30/07 5:19 AM, Anonymous Anonymous said...

This helped me damn much! Thanks for sharing your knowledge.

 
At 4/19/08 4:16 AM, Anonymous Ares said...

Amazing work, man!

It's so handy that you posted the fla, keep rockin' the AS :)

Greets from Croatia

 

Post a Comment

Links to this post:

Create a Link

<< Home