Music Quiz
Runs a music quiz night: one press plays the voice, a sound effect and a song clip, with a gameshow screen for the room.
How it's built
- javascript
- web-audio
- cloudflare-workers
- service-worker
- offline-first
- cloudflare-r2
- indexeddb
- broadcast-channel
- accessibility
- ffmpeg
- python
- elevenlabs
On the operator's laptop
- Operator consoleone press runs the voice, a sound effect and the song clip
- Web Audio mixerlevels matched · limiter at -0.1 dB · fades timed on the sound clock
- Ready checksongs, artwork, screen, mutes and volumes, before the quiz starts
- Works offlineservice worker · songs kept in the browser
a second window · BroadcastChannel
On the projector
- Contestant screengameshow stage · countdown ring · answer reveal with artwork
- Calm by designnothing flashes; no brightness change repeats faster than once a second
HTTPS
On Cloudflare
- Worker with a password doorthe real quiz: nothing served before sign-in · hidden from search
- Private R2 storethe real quiz's songs, never at a public address
- Public demofive public-domain classical clips · no password
In plain words
- The quiz runs on one laptop. One button press plays the voice, a sound effect and the song clip, in time.
- A second window shows the contestant screen on the projector. The two windows talk to each other directly.
- The real quiz's songs sit behind a password. The public demo uses five public-domain classical clips.
