vpx-js
vpx-js copied to clipboard
Implement Audio feedback (ROM)
Currently WPC-Emu use a audio sprite file to play the correct sounds. Goal is to support ROM audio for games which includes this metadata (see https://github.com/neophob/wpc-emu/blob/master/GAMES.md) - at the moment 7 games support audio
It's possible to play sounds from a web worker, right?
Definitive worth a try is Audio Worklet: https://webaudio.github.io/web-audio-api/#AudioWorklet.
Not sure about the other audio functions, for example the onaudioprocess handler lives in the DOM.
Step 1 will be implemented when https://github.com/vpdb/vpx-js/pull/173 is merged