My favorites | Sign in
Project Logo
                
Search
for
Updated Mar 14, 2009 by creacog
SimpleOscilloscope  

# sound-wave visulisation component

Introduction

Flex component that draws a simple animated sound-wave of the currently playing audio.

Details

uk.co.creacog.ccglib.flex.controls.soundviz.SimpleOscilloscope

Add ccglib-rn.swc (where n is the latest release) available from the downloads page to your project lib folder. Then simply insert an instance into your MXML as you would any other.

The component may be customised using the following styles:

  • waveThickness
  • leftColour
  • rightColour
  • leftAlpha
  • rightAlpha
  • waveSeparation
  • waveDrawMode

In addition the following filter styles may be applied so long as the alphaDecay is set to something other than 0 (the default). These filters implement the same techniques described by Lee Brimelow's Advanced Filter Effects tutorial on gotoandlearn.com, only here they are implemented as simple style settings applied to the SimpleOscilloscope instance.

  • alphaDecay
  • redMultiplier
  • greenMultiplier
  • blueMultiplier
  • blurX
  • blurY
  • scrollX
  • scrollY

For full details, download the asdoc files from the document-rn.zip file.

To view the component within a test bed application and try out all the styles to find settings that suit you, visit http://creative-cognition.co.uk/ccglibTestBeds/SimpleOscilloscopeTestBed/

Note: Right-click that page to view the application source.


Sign in to add a comment
Hosted by Google Code