David A. Windham thumbnail

audiovisual actionscript

popforge
Popforge is an Actionscript 3 code sandbox started by Andre Michelle and Joa Ebert…. it’s hosted at google code…. they did the roland909 and 8bitboy – the amiga sound emulator….
roland909
and they’ve also got this great cubic vr processor for flashplayer9… and it’s one of the very few free non javascript dependent vr scripts..nice work all around… and they’ve got something to do with hobnox which looks like some serious business.
hobnox
mi145
[kml_flashembed movie=”http://davidawindham.com/org/first.swf” height=”550″ width=”800″ /]
speaking of digital audio.. that’s a composition written and played by my bro you’re listening to.

var s:Sound = new Sound();
var sc:SoundChannel;
var ba:ByteArray = new ByteArray();
var array:Array;
s.load(new URLRequest("jazz_sax.mp3"));
sc = s.play(0,1000);
this.addEventListener(Event.ENTER_FRAME, spectrum);
var a:Number = 0;
function spectrum(event:Event)
	{ a = 0;

	graphics.clear();

    SoundMixer.computeSpectrum(ba,true,0);

    for(var i=0; i < 556; i=i+3)

    {

    a = ba.readFloat();

    var num:Number = a*360;

    graphics.lineStyle(num/19,0x999999|(num << 5));

    graphics.drawCircle(stage.stageWidth/2.5,stage.stageHeight/2.5,i);

              }

              }