Anatomic

Flash, Actionscript, Papervision3D and assorted other nonsense. 
« Back to blog

Playing with graphics: making pretty patterns from sound with Actionscript 3

Bit of a big one to download but worth the wait - using code to produce interesting graphics based on data from a song.

(download)

Song used is Calvertron - Doggy Style (Zodiac Cartel Mix)

Loading mentions Retweet

Comments (2)

Jan 20, 2010
Simon said...
Awesome! Saw some similar results using AfterFX - using an expression to map keyframes to the peaks and troughs of a waveform, then using the data to control a particle generator.

A similar process or....?

Jan 21, 2010
Ian Thomas said...
Sounds very similar. This uses the graphics API and the computeSpectrum() function in Flash.

A ByteArray is created on each keyframe that contains a snapshot of the sound across both channels and then the graphics API is used to draw circles and lines based on the level of each particular byte.

The last bit of the puzzle is drawing that to a bitmap and applying a ColorTransform and a BlurFilter to give it a little fuzz.

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    twitter