In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

SiON練習

SiONムズイ><
Get Adobe Flash player
by coppieee 04 Sep 2009
    Embed
/**
 * Copyright coppieee ( http://wonderfl.net/user/coppieee )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/1QcC
 */

//SiONムズイ><
package 
{
	import flash.display.Sprite;
	import flash.events.Event;
	import org.si.sion.events.SiONEvent;
	import org.si.sion.SiONData;
	import org.si.sion.SiONDriver;
	import org.si.sion.utils.SiONPresetVoice;
	
	public class Main extends Sprite 
	{        
		public function Main():void 
		{
			var driver:SiONDriver = new SiONDriver();
			var mml:String;
			mml = "%t c8 r16 g8 g8 g8 r8 g4 a2 e4 g2";
			var data:SiONData = driver.compile(mml);
			var voices:SiONPresetVoice = new SiONPresetVoice();
			
			driver.play(data);
		}
	}
}