forked from: The simplest sample for SiON v0.60's SoundObject

by agenda23 forked from The simplest sample for SiON v0.60's SoundObject (diff: 1)
♥0 | Line 14 | Modified 2010-05-24 19:25:30 | MIT License
play

ActionScript3 source code

/**
 * Copyright agenda23 ( http://wonderfl.net/user/agenda23 )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/Rw3c
 */

// forked from keim_at_Si's The simplest sample for SiON v0.60's SoundObject
package {
    import flash.display.Sprite;
    import org.si.sion.SiONDriver;
    import org.si.sound.*;
    
    public class FlashTest extends Sprite {
        public function FlashTest() {
        		var driver:SiONDriver = new SiONDriver();
        		var drum:DrumMachine = new DrumMachine();
        		 
        		driver.bpm = 132;
          	driver.play();
          	drum.play();  
        }
    }
}