Browse  Forum  Clubs  Chat  News 

Chiptune Club -> That One Forum -> Flash AS3 Tracker

That One Forum Forum: Flash AS3 Tracker

NJB: Flash AS3 Tracker - Mar 15th 2009, 12:08AM Link | Report
I've been working on an idea for flash, simply put, using ActionScript 3's new sound capabilities to dynamically generate sounds on the fly. I'm trying to work it into a functional tracker-like system that can be added with little or no effort to games engines and would allow the user to specify a preset to emulate Game-boy, Megadrive, NES etc or to specify channels for their own "custom chip".

The advantage here would be that music would be generated from an array, drastically cutting down the size required for the music (look at midi vs wav/mp3/(insert generic sound format here) as an example) and reducing the download time for the game.

I've got as far as generating pretty decent white noise and triangle waves by modifying example code, but a quick look into modulation and I'm seeing the limits of my current programming ability.

Is there anyone here, with a little experience in either AS3 or programming sound modulation that would be interesting in collaborating on this thing? I plan on releasing it as an open-source tool if it's ever completed.

Thanks,
-Nick Boyd

Edit: Come up with a pretty good approximation for a square wave,
y=sinπx+(0.65sin3πx)/3)+((0.35sin5πx)/5)+((0.08sin7πx)/7)
having trouble implementing it in flash though, I'm just getting silence with this one at the moment.
Page: