five-on-it / apps/client/src/renderer/sound-board
apps/client/src/renderer/sound-board
The sound board (?sound-board, from the main menu's galleries), for swapping sounds: every sound of the bank (audio/bank.ts) with its bus, what it plays now (its placeholder, or its file) and where a file goes to replace it (apps/client/audio/sfx/…), a button to play it (a loop until stopped); every radio station with its items, each to listen to; and what is wrong with the bank or a station (a file that matches no sound, a station's fault). A file dropped in plays after the dev server's reload. At the settings' volumes. No server needed. window.__soundBoard() tells the end-to-end tests what it shows and what it played.