SiON練習
SiONムズイ><
/**
* 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);
}
}
}