playground
playground copied to clipboard
Audio can play event keeps pausing sound on play
When I load a sound in the application object
forceAudioFallback: true,
create() {
/* things to preload */
this.loadImage("rejects","orientation")
this.loadSound("UR-FullExtreme-Voice")
this.loadData("cuepoints")
},
then play the audio file in a state
create(){
this.app.music.play('UR-FullExtreme-Voice', 0)
console.log('playing');
},
The audio does not play
it seems that https://github.com/rezoner/playground/blob/master/src/SoundAudio.js#L55
pauses the audio file
maybe you should remove the listener after use for loading.
I think the audio engine should be replaced - and
I am using this one as it doesn't require to preload sounds before playing them http://playgroundjs.com/libs/sound-on-demand
I need to create audio cue points/ annotation at certain time in the song currentTime position. I'm was hoping Audio Api would be a bit more useful.