Rain Café
- Status
- active
- Built
- September 2026
- Stack
- Web Audio API, BBC Sound Effects archive recordings, synthesized fallback
- Source
- rain-cafe.js
The first paragraph of The Chupacabra has a man drinking coffee while soft salsa plays and rain thumps against the window. This is that room. The beds are real field recordings from the BBC Sound Effects archive: driving rain on a window, heavy rain outside, a quiet coffee-time chatter and a very busy café with clinking cups. Long loops crossfade so the seam never shows, and thunder and the espresso machine are recordings dropped in at random by the same scheduler that flashes the lightning.
The recordings load the first time you press play, about eight megabytes. Until they arrive, and if they fail, a fully synthesized version plays instead: noise and oscillators shaped into rain, droplets, a babbling crowd, clinks and a steam wand. The panel says which one you are hearing.
What is in the mix
- Rain. Inside, driving rain on a window with the room's own acoustic. Untick the window and it becomes heavy rain in the open. The rain slider sets the level and opens up the top end as it gets heavier.
- Thunder and lightning. Every minute or so a strike is placed at a random distance. The page flashes first, then a recorded thunder roll arrives after the delay the distance implies. Near strikes get the big rolls; far ones a distant rumble over mountains.
- The crowd. The café slider crossfades between a quiet room of coffee-time chatter and a packed café, cups and all.
- The counter. Every minute or two, one of three takes of an espresso machine being worked.
Credits
Recordings from the BBC Sound Effects archive, used under its licence for personal, educational and research use. Catalogue numbers:
- 07043376 Driving rain on window, interior acoustic
- 07038337 Heavy rain
- 07011340 Light chatter at coffee-time
- 07052025 Greece: very busy café, with lots of clinks and espresso machine
- 07043391, 07043393, 07043395 Thunder roll, with rain
- NHU05072099 Distant thunder over mountains
- 07011346 Espresso coffee machine, person preparing coffee
Using it
The speaker button sits at the bottom right of this page and of the story. Click it to start; the mix panel opens with it and shows whether you are hearing the recordings or the synthesized fallback. Right-click the button to show or hide the panel while it plays. The space bar toggles it too. If your system asks for reduced motion, the lightning is sound only.