Another variation of Sound Spectrum.
code:
PLAIN TEXT
Actionscript:
package
{
import flash.display.Shape;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.MouseEvent;
import flash.geom.ColorTransform;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundLoaderContext;
import flash.media.SoundMixer;
import flash.net.URLRequest;
import flash.text.TextField;
import [...]
After a long time I had some time to experiment. I played with SoundMixer computeSpectrum. following is a very basic sound spectrum. click to play. it may will take some time to load the sound. enjoy!
Sound is downloaded from http://incompetech.com
here is the code.
PLAIN TEXT
Actionscript:
package
{
import flash.display.Shape;
import flash.display.Sprite;
[...]