vpx-js icon indicating copy to clipboard operation
vpx-js copied to clipboard

Implement Audio feedback (ROM)

Open neophob opened this issue 6 years ago • 3 comments

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

neophob avatar Nov 04 '19 09:11 neophob

It's possible to play sounds from a web worker, right?

freezy avatar Nov 04 '19 09:11 freezy

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.

neophob avatar Nov 04 '19 12:11 neophob

Step 1 will be implemented when https://github.com/vpdb/vpx-js/pull/173 is merged

neophob avatar Nov 19 '19 22:11 neophob