SnesJs icon indicating copy to clipboard operation
SnesJs copied to clipboard

Issues playing back audio

Open inglesuniversal opened this issue 4 years ago • 1 comments

console show deprecated audio scripting

audio sounds choppy on chrome

console.log warning:

[Deprecation] The ScriptProcessorNode is deprecated. Use AudioWorkletNode instead. (https://bit.ly/audio-worklet)

inglesuniversal avatar Nov 21 '21 08:11 inglesuniversal

The ScriptProcessorNode is indeed deprecated, but my Javascript NES-emulator also uses it and audio sounds fine there. It being choppy is probably because it is simply not able to quite run at full speed.

the fact that full speed is basically nearly impossible to get with Javascript without trickery is also why I really haven't worked on this anymore (as evident by the readme and this reply being a year late). Note that another JS-based SNES-emulator (among other systems) is also being worked on and does seem to run at full speed, but is still in early stages (like not having audio yet): JSmoo.

angelo-wf avatar Nov 27 '22 22:11 angelo-wf