The Synthesis ToolKit in AS3

March 22nd, 2009  |  Published in Uncategorized  |  2 Comments

I am currently porting The Synthesis ToolKit in C++ to ActionScript (not using Alchemy…). At this moment, 5 instruments are ported and >10 more is coming.

The performance is not yet optimized so real-time sound generation is not ready, and I don’t know if as3 is fast enough to do that… Anyway here below a early demo generates the ByteArray first and feeds it to the sound during playback.

Updated 2009-09-19: More instruments are ported and added to the demo.

Note that every element’s loudness is different, adjust your speaker so that your ears wouldn’t hurt :)

http://get.adobe.com/flashplayer

Download link can be found in STK in AS3 in Google Code.

Tags: ,

Responses

  1. ina says:

    February 13th, 2011 at 11:29 pm (#)

    Have you had a chance to optimize the performance, esp. for use in dynamic sound generation?

  2. Andy Li says:

    February 14th, 2011 at 11:05 am (#)

    I’ve been thinking of porting it to haxe and make use of fast memory access. It shouldn’t be too difficult, however I’m too busy on other works, hope I can start working on it again in this year.

Leave a Response

*