ActionScript mastermind André Michelle and me are working very often on beautiful experiments. On our hard-drives sleeps the brainpower of long after hours work and now we are finally at a point where we want to share our work with the community.
Popforge is our nifty sandbox for ideas and projects. It contains several packages already. The first project we release is the fantastic audio hack that André stumbled upon. We included also one example application that shows the power of this workaround. The fabulous 8bitboy — the first Flash media player with dynamic audio synthesis.
8bitboy was started in August ‘06. After a good 12h marathon we had our baby ready to play MOD files. The design has been contributed by Andre Stubbe later on. For the release of Popforge we are rewriting the 8bitboy. The 8bitboy is not complete yet since a couple of obscure effects (especially the extended ones) are missing. We are also implementig support for XM modules currently. IT and S3M may follow.
You are welcome to contribute. André has put a couple of examples online that will help you to understand. We have also filled our Wiki at Google Code with some information about our working environment and how to set up the projects. All the projects we release are IDE independent. You may use a command line compiler, FlashDevelop or the upcomming FDT3.0.
For the future we plan to release even more stuff that dozes on our disks. I smell some open-source for the ImageProcessing library, or the CubicVR 360° project. Besides of that we have a pixel-exact 3D engine with run-time generated BSP or a physics engine working with dynamic intersections to name a few more.
So at the end of the day we want you to share the love. Share it with your neighbours or office colleagues by opening up the 8bitboy and turning on the stereo enhancer and bass boost in the context menu.





Nice one guys ;)
I love it !
greetings from China ! Cong ~ lol
Are there any plans to release the audio code libraries with more permissive licensing? I’d quite like to use it, but I’m working in a commercial environment.
Thanks,
Ed
Guys,
First of all thanks for sharing the audio code. Just downloaded the svn.
Don’t know if this is the place for questions about issue around the use of the code.
But I’m getting the non-constructor error when I try to kick of the PlayWavefile.as example included.
It doesn’t want to set the swf var to the naked BIN SWF class in the SoundFactory.as.
var swf: ByteArray = ByteArray( new SWF() );
Received this error:
TypeError: Error #1007: Instantiation attempted on a non-constructor.
at de.popforge.audio.output::SoundFactory$/fromByteArray()
at de.popforge.audio.output::AudioBuffer/de.popforge.audio.output:AudioBuffer::init()
at de.popforge.audio.output::AudioBuffer$iinit()
at PlayWavfile/PlayWavfile::initAudioEngine()
at PlayWavfile/PlayWavfile::onLoaderComplete()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::onComplete()
Maybe I’m doing something wrong.
Hope you can help me out.
Thanks in advance.
Patrick
Guys,
You already replied a year ago on this…my problem is related to Beta version of flash.
http://www.flashforum.de/forum/archive/index.php/t-209210.html
Did the work around and it’s was working..now it’s really time for the upgrade to new version.
Thanks
Patrick
Hi I’m experiencing the same error as Patrick whereas I’m compiling with Flash CS3.
Furthermore, I get a warning about an uninitialized constant on line 40 of SoundFactory.as (initialization of the SWF class).
I’m using the head revision 215 and was just trying PlayWavFile.
Anyway I’m really impressed about what you did ! Thanks in advance.
Kodiak
Same here! When i try to compile it in flash cs3 i get the same error handling.
How can i solve this problem? Thankx
P Brouwer
That is because CS3 can not work with the [Embed] tag. Instead of embedding the swf.bin you could for instance just write the bytes directly in the file and initialize that byte array.
Or maybe you can add the swf.bin to your library. I am really not aware of Flash CS3 since I use the SDK only.
Many thanks joa! I have solved the problem by writing the bytes directly indeed. Thanks
Also trying to use the popforge library in CS3. Not sure I understand what you mean by writing the bytes directly in the file. Could you please enlighten me ;)
Well right now I would say wait for FP10 :) It is very simple
Yeah I heard about that, Adobe finally made some noice :) Anyway I got it to work in CS3 by following your directions and writing the bytes directly in the file. One question though: will we still be able to use the popforge library when fp 10 has arrived or is it no point then?
joa / PBrouwer — could you please post your work-around for writing the byteArray directly to the file? I’ve tried a bunch of different things but couldn’t get it to work. Sorry I’m not patient enough for Flash10… I’m also simply interested in how you would go about how you would go about that…
many thanks!
me too!
Please tell us how to write bytes directly to the file.
Hey Emok & Buff!
I have posted the workaround i.e a modified soundfactory class under issues on the popforge google code site.
http://code.google.com/p/popforge/issues/detail?id=2
Here´s the answer
http://www.signar.se/blog/as-3-charcodes/popforge-flash-workaround-fp-9/
hi,
will we likely see a flash 10 update to the popforge audio processing classes?
thanks
j
How I can use AudioBuffer to trigger a sample every __ MS ? Trying to make a simple metronome and I understand the basic principle but could use a little guidance. Are there any tutorials out there?