Today i am going to show you how to create a simple audio visualiser. Using the SoundMixer class we can sample whatever audio is currently playing and it’s a doddle to use:
var bytes:ByteArray = new ByteArray(); var fft:Boolean = false; var stretch:int = 0; SoundMixer.computeSpectrum(bytes, fft, stretch);
