AS3 Spectrum Analyzer Class with 16 presets

Sound Spectrum Analyzer class.

Features:

  • Easy implementation in every project.
  • Easy creation and customization of a spectrum.
  • Very fast performance.
  • You can use 2 or more different Spectrums active at the same time.
  • Almost infinite spectrum models (your imagination is the limit).
  • Slow shrinking spectrum bars.
  • Time based controlled render.
  • Bar dopping peaks.
  • Can change properties on runtime.
  • Small filesize (from 4.70kb).
  • 3 types of bars display:
    • Paralel – Values for each channel are separated in two parts;
    • Interpolated – Values for each channel are interpolated with each other;
    • Symmetric – Values for each channel are symmetric to each other;
  • ...and more!
Product includes:
  • Class packages for the Spectrum Analyzer application to be created.
  • A collection of 15 presets included for easy use and deployment.
  • ASDoc documentation for advanced use.
  • Example and preview files.
  • Basic usage example.

Basic usage example steps(for preset based spectrum):

1. Import necessary classes:

import spectrumAnalyzer.frequencyAnalyzer.BarSpectrum;
import spectrumAnalyzer.presets.PresetManager;
import spectrumAnalyzer.presets.collection.*;

2. Define a variable for the spectrum:
var mySpectrum:BarSpectrum;
3. Set the spectrum preset:
mySpectrum = PresetManager.setPreset(Alternative);
4. Add the spectrum to the display list and activate it:
addChild(mySpectrum);
mySpectrum.activate();

Basig usage steps(for custom made spectrum):



1. Import necessary classes:
import spectrumAnalyzer.frequencyAnalyzer.BarSpectrum;
2. Create the spectrum:
var mySpectrum:BarSpectrum = new BarSpectrum(32, 3, 45, 1, 0xFFD700, BarSpectrum.PARALEL, 24);
3. Add the spectrum to the display list and activate it:
addChild(mySpectrum);
mySpectrum.activate();

Please don’t forget to rate it!

by
by
by
by
by
by