My favorites | Sign in
Project Logo
             
Show all Featured downloads:
standingwave2-2.0.3.zip
People details
Project owners:
  joseph.berkovitz

StandingWave is an AS3 code library designed for high level control of Flash Player 10's SampleDataEvent API for streaming audio output. It is based on a subset of the audio engine used by the Noteflight Score Editor.

The goal of StandingWave is to encapsulate the following kinds of objects, permitting them to be easily chained together and combined to produce complex, dynamic audio output:

For example, the following code snippet plays a synthesized sine wave with a calculated amplitude envelope:

   var source:IAudioSource = new SineSource(new AudioDescriptor(), duration, freq);
   source = new EnvelopeFilter(source, attack, decay, sustain, hold, release);
   new AudioPlayer().play(source);

There are no fundamental musical concepts embodied in StandingWave, but it may be straightforwardly extended with such, for instance by reading MIDI files or by writing utility classes to manage tones, scales, instruments, and so forth.









Hosted by Google Code