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
  1. 1 Trackback(s)

  2. Mar 22, 2008: redblind - i make stuff for the internizzle » Blog Archive » SoundMixer.computeSpectrum() - Part II

Post a Comment