Depends on #8 and #6, though I can get started with temp buttons/sounds.
[x] Load sounds - probably as buffers into Web Audio API since we can play them with less latency than from Audio Elements
[x] Generate buttons (and load button icons if provided)
[x] Play each sound when appropriate button is pushed
[x] Record time of sound start
[x] Play back sound at the appropriate time
For now, the sounds will not be spatialized. If we have time, we can try placing them at the center of the stage or maybe in stereo from virtual speakers on either side. But it's probably not worth it.
Depends on #8 and #6, though I can get started with temp buttons/sounds.
For now, the sounds will not be spatialized. If we have time, we can try placing them at the center of the stage or maybe in stereo from virtual speakers on either side. But it's probably not worth it.