Share the love! Popforge arrives.

Popforge

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.

18 Comments

  1. Posted Jul 18, 2007 at 11:46 am | Permalink

    Nice one guys ;)

    I love it !

  2. Posted Jul 18, 2007 at 7:00 pm | Permalink

    greetings from China ! Cong ~ lol

  3. Ed
    Posted Jul 19, 2007 at 7:38 pm | Permalink

    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

  4. Patrick
    Posted Jul 31, 2007 at 1:00 pm | Permalink

    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

  5. Patrick
    Posted Jul 31, 2007 at 2:53 pm | Permalink

    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

  6. Kodiak
    Posted Oct 18, 2007 at 3:39 pm | Permalink

    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

  7. PBrouwer
    Posted Dec 15, 2007 at 4:10 pm | Permalink

    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

  8. Posted Dec 15, 2007 at 4:21 pm | Permalink

    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.

  9. PBrouwer
    Posted Dec 20, 2007 at 12:48 pm | Permalink

    Many thanks joa! I have solved the problem by writing the bytes directly indeed. Thanks

  10. Fredrik
    Posted May 15, 2008 at 9:57 pm | Permalink

    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 ;)

  11. Posted May 16, 2008 at 2:23 pm | Permalink

    Well right now I would say wait for FP10 :) It is very simple

  12. Fredrik
    Posted May 17, 2008 at 1:18 pm | Permalink

    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?

  13. Posted Jun 21, 2008 at 4:26 pm | Permalink

    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!

  14. Buff
    Posted Jun 25, 2008 at 2:30 pm | Permalink

    me too!
    Please tell us how to write bytes directly to the file.

  15. Posted Jun 26, 2008 at 1:16 am | Permalink

    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

  16. Fredrik
    Posted Jun 29, 2008 at 10:21 pm | Permalink

    Here´s the answer
    http://www.signar.se/blog/as-3-charcodes/popforge-flash-workaround-fp-9/

  17. j
    Posted Oct 27, 2008 at 1:49 am | Permalink

    hi,

    will we likely see a flash 10 update to the popforge audio processing classes?

    thanks
    j

  18. Richard
    Posted Oct 21, 2009 at 11:50 pm | Permalink

    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?

Post a Comment

Your email is never shared. Required fields are marked *

*
*