Alexander

Results 4 comments of Alexander

I believe I have figured that out. "The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page."

Solution for me: ```javascript document.documentElement.addEventListener( "mousedown", function(){ mouse_IsDown = true; if (audio_ctx.state !== 'running') { audio_ctx.resume(); }}); document.documentElement.addEventListener( "keydown", function(){ if (audio_ctx.state !== 'running') { audio_ctx.resume(); }}); ```

> Do you think we need this on jsnes.org? I think I do, sir, since it seemed like an annoying thing to me as I was really puzzled at first...

No worries sir, I'll give you ROM that use all registers. I compiled 3 YM tracks that use envelopes and noise, use joypad to select track and start to play....