Two more computeSpectrum() experiments. At the time I built these Nine Inch Nails had just released Ghosts, their experimental instrumental album. It is released under a Creative Commons license, so I created these visualizations.

The first uses one of my last tests as a mask over images that were included in the Nine Inch Nails download package. The images shift and blur in response to the volume of the music.

The second uses Papervision3D. I created a matrix of cubes that respond individually to a specific band in the sound spectrum. This was my first time using the GreatWhite branch (2.0 alpha).

Check out them out below by clicking on the thumbnails. There are preloaders this time.

computeSpectrum02 computeSpectrum03

Catetgories: code, design

I’ve been playing with SoundMixer.computeSpectrum() quite a bit lately. It’s really fun and really easy. SoundMixer.computeSpectru() computes and returns a sound spectrum in a bytearray. Each floating point value represents a band. With this you can create cool equalizer visualizations that respond to the music or sound playing. I’ve built a wrapper around computeSpectrum() that makes it even simpler and easier. More on that later.

Click one of the images below to launch a demo. Loading is kinda long for the mp3.

soundSpectrum00 soundSpectrum01

Catetgories: code, design