My Website's Soundtrack Is Written in TypeScript
The music button on this site doesn't play an audio file. It builds a three-minute synthwave track live in the browser with the Web Audio API. Here's how it works, from detuned oscillators and synthesized drums to the lookahead scheduler that keeps the timing tight.