All work

Sound Lab

Sound made from physics, shaped live and sent to games

Sound Lab's Firearm model for a 9 mm pistol: physics numbers, a 3D view of the shooter and listener, and a layered waveform

The problem

Games and apps need a lot of sound effects, and sample libraries only give you the takes someone else recorded. Changing a door from wood to steel, or moving the listener further away, means finding a different file.

The aim was to model the thing itself, so every sound can be reshaped by changing what it is made of and where you hear it, and every one sounds like it belongs in the same place.

What I built

  1. Every control is a real quantity with a unit: rainfall in mm/h, door thickness in mm, hinge pin friction, string tension. There are no vague 'punch' knobs.
  2. Each model renders its own layers dry, then one shared mixer adds air absorption, the ground reflection and the space: outdoor echoes or a solved room.
  3. Renders are deterministic for a seed and vary a little between seeds, which gives a game several variations of the same event.
  4. The engine is plain JavaScript with no DOM and no audio libraries, so the same code runs in the page, in workers, in AudioWorklets and from the command line.
  5. The piano is an instrument that plays live from the computer keys or MIDI; the other models render offline in a fraction of a second.

What it does

Built with Vanilla JavaScript (ES modules), Web Audio + AudioWorklets, Web Workers, WebGL 3D scene, Node.js (offline renders), 2026.