Synth Building Blocks

Lock-Free Bridge (Threading)

Not running Open in new tab
Details

Visualises the ring buffer between a DAW’s audio thread and its UI: one loop writes, another reads on a timer, and torn values show why the bridge must be lock-free. Single-threaded JavaScript stands in for the threads; no sound.

Audio Before you run it: plays sound.

For games or crowded controls, open the demo in a new tab for the most room.

  • Concurrency
  • Data Visualization

Playing a game or need more room? Open demo in a new tab