snd = new Sound("jfbepop.mid"); snd.play(0,3000); // play from 0 to 3 seconds snd.volume = 0.5; // 50% volume