creative-cognition

Case studies

OpenSource component library ccglib

creative-cognition ltd has started ccglib as a means of releasing custom generic Flex components under the MIT license.

SimpleOscilloscope sound waveThe first component to be released is SimpleOscilloscope which uses flash.media.SoundMixer.computeSpectrum to plot an animated wave form of the currently playing sounds. The simple wave drawing code has been wrapped into a re-usable and styleable Flex component.

Styles which control the component instance include waveThickness, leftColour, rightColour, leftAlpha, rightAlpha, waveSeparation, waveDrawMode. In addition the following animated filtering styles are available: alphaDecay, redMultiplier greenMultiplier, blueMultiplier, blurX, blurY, scrollX, scrollY. The wave form automatically adjusts to fill the given width and height.

Links