I am trying to recreate the Pixelizer plugin by Joe’s Filters. This will be a work-in-progress. I’m planning to include several things into this class like different shapes for the block, color averaging, blur effect, random rotation, jitter, etc.
Here’s my first take on using the SoundMixer and ByteArray classes to create a simple sound visualization app. After reading tutorials on this topic, I discovered that there are a few basic things you need to get started.
Sound object to hold the sound
ByteArray object to hold the spectrum data
Renderer function to extract and draw the visualization
Timer object to constantly refresh the spectrum data:
I used a MovieClip with a gradient fill as my base color for the equalizer and a Sprite with bars (drawn using the Drawing API) as the mask for the colors. The gradient fill can be drawn programmatically but I’m too lazy to do that now.