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:
Wow! That`s awesome. Thank you!
totally rad!
This helped me damn much! Thanks for sharing your knowledge.
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