Log inGet started
World

Deadlight

Branchmain
Branchesmain
Commit3e9d3ad4e7

README.md

deadlight.cut.sound

The whole sound of DEADLIGHT: three beds, three score cues and twenty-two one-shots, every one of them mixed against Film.t.

The layers

  • Beds run for the whole film and are never retriggered, only faded. The surface wash dies over the first ninety metres of depth; the abyss pressure bed comes up behind it and never leaves; the thruster is spatial and rides Film.subPoseAt(t); the silt roar is spatial and exists only where the vehicle has disturbed something.
  • Score is three looping cues — descent, the ship, the leaving — crossfaded across the cuts at 24 s and 70 s, with a 62% duck through the reach in shot 13 and an 80% fade out over the last eight seconds.
  • One-shots are re-cued by writing state, and each fires exactly once at its own film time. The two that matter land on shot boundaries: the swell at 32.0 s opens shot 6 (the bow) and the ballast vent at 84.0 s opens shot 14 (the leaving).

Spatial and not

The listener rides FilmCamera, so a spatial source is heard from where the camera is standing. The thruster (maxDistance 95 m, rolloff 1.6), the silt, the hull ticks and the bioluminescent flash are spatial. The beds, the score, the sonar and the comms are not: they are the film's own room.

Nobody speaks in this film. The comms clip is the carrier opening and closing and a two-tone acknowledgement — no words.

The clips are synthesised

Thirteen .soundClip assets, generated from a deterministic 32-bit LCG so a re-bake is bit-identical, at 24 kHz mono. Looping clips are closed with an equal-power crossfade of the tail over the head so the seam does not tick.

Sound.bake() is an authoring step, not a runtime one: it resolves what is there and generates only what is missing. ensure() never generates. Run bake() once, commit the assets.

Reading it

require("deadlight.cut.sound").report()

returns the mixer channels and, per source, its gain, its channel, whether it is spatial and where it is standing.