The simplest sample for SiON v0.60's SoundObject
/**
* Copyright keim_at_Si ( http://wonderfl.net/user/keim_at_Si )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/rvZi
*/
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();
}
}
}