{"author_name":"Wiering","cat":"MiniLD","comments":[{"author_name":"","time":"September 14, 2009 10:23 pm","epoch":1252984980,"text":"You are a god. I have been meaning to do this for ages.","spam":"N"},{"author_name":"","time":"September 14, 2009 10:28 pm","epoch":1252985280,"text":"Oh wow!  I&#8217;ve been idly thinking of doing that for a long time now, only as3 instead of Haxe.  Probably very easy to port to as3 from Haxe (or I can just load up a separate swf).","spam":"N"},{"author_name":"","time":"September 16, 2009 6:35 am","epoch":1253100900,"text":"I just finished porting sfxr to as3, with some bonus features too. Like your&#8217;s, you can use it as a library in your as3 projects to save on space, but I also ported the app.","spam":"N"},{"author_name":"DrPetter","time":"September 16, 2009 11:42 am","epoch":1253119320,"text":"Cool. Now will you do complete flash playback code for musagi songs please? \ud83d\ude09","spam":"N"},{"author_name":"","time":"September 17, 2009 1:45 pm","epoch":1253213100,"text":"Haha, the bit.ly link for this page is OMGv1.","spam":"N"}],"epoch":1252981320,"likes":0,"metadata":{"p_key":"72412","p_author":"Wiering","p_authorkey":"29","p_urlkey":"108234","p_title":"sfxr for Haxe","p_cat":"MiniLD","p_event":"LD15","p_time":"1252981320","p_likes":"0","p_comments":"5","p_status":"UPD5","us_key":"29","us_name":"Wiering","us_username":"wiering","event_start":"1251417600","event_key":"1","event_name":"LD15"},"text":"<p>I just finished porting sfxr to Haxe, but as a library instead of an app. Instead of generating a WAV file in sfxr and storing it in your SWF, you can now generate it while your program is loading, or the moment you need it. Why? To save space in the final SWF and to provide more flexibility, like being able to vary a sound a little depending on something in the game.<\/p>\n <p><a href=\"http:\/\/www.wieringsoftware.nl\/ld\/sfxrhx\/\">http:\/\/www.wieringsoftware.nl\/ld\/sfxrhx\/<\/a><\/p>\n <p>There are several ways to use it:<br \/>\n &#8211; you can start with making a sound in sfxr and save it as a .sfs file and use the load() function<br \/>\n &#8211; generate random sounds in your program and simply save the random seeds of the ones you like, use create(), randomize() and mutate()<br \/>\n &#8211; if you need to fine-tune a sound, you can also edit the individual parameters in your program<br \/>\n &#8211; use generate() to create the wave file in memory<br \/>\n &#8211; finally, use play() at any time to play it<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/haxe\/\" rel=\"tag\">haXe<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/sfxr\/\" rel=\"tag\">sfxr<\/a><\/p>","time":"September 14th, 2009 9:22 pm","title":"sfxr for Haxe"}