SiON MML with Voice

by Daniel.Aguilar.Fuentes
Im trying to play an MML with any other voice but I cant, thanks in advance
♥1 | Line 7 | Modified 2012-10-12 10:35:13 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // Im trying to play a mml string with any other instrument than default, any ideas?
            
            /*var tono:String = tonos[stIntrumento.value];

                var numtono:String = numtonos[stIntrumento.value];

                instrumento = presets["valsound."+tono+numtono];

                driver.setVoice(0,instrumento);

                var tdata:SiONData = new SiONData();

                tdata.setPCMVoice(0,instrumento);

                sdata= driver.compile(txtMelodia.text,tdata);

                sdata.setPCMVoice(0,instrumento);

                driver.play(sdata);*/
        }
    }
}