A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.
the Sound.play does not work when the fileload event. does it because the audio has not been decoded from ArrayBuffer? if so, is there any event after The audio decoded
my code is given below:
loader.addEventListener('fileload', e => {
Sound.paly('bgm')
res(e)
})
Can you provide a sample? The fileload definitely fires after the buffer is decoded. I am marking as "can not reproduce" unless you can provide reproduction steps.
the Sound.play does not work when the fileload event. does it because the audio has not been decoded from ArrayBuffer? if so, is there any event after The audio decoded my code is given below:
== I'm sorry about My English