Fade out mp3
HTML5 canvas how do I do that so I fade out with single mp3 sound.createjs
HTML5 canvas how do I do that so I fade out with single mp3 sound.createjs
I have this at the beginning of the frame of the slideshow:
createjs.Sound.on("fileload", handleFileLoad1);
createjs.Sound.registerSound("music1.mp3", "MySound1");
function handleFileLoad1()
{
createjs.Sound.play("MySound1");
}
but now several frames ahead I want to fade out the sound because I don't want a button. How do I do that?
assign a reference to your sound (when it's created) and start the fade when you want.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.