AMBIENT HTML5: Music for tiny airports in 256 bytes
summary
Recreates Brian Eno’s Ambient 1 as a self‑contained Web Audio generator that fits in 256 bytes and a 38‑byte HTML shell, and it actually runs. Uses a ScriptProcessorNode to synthesize samples on the main thread, encodes seven note frequencies as ASCII characters scaled by ten, builds simple attack‑and‑decay envelopes, and spaces loop lengths with a compact formula tangent(index mod 7) so seven asynchronous loops almost never align, producing hours of evolving ambient sound.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:49The demoscene movement
- 2:11Ambient music inspiration
- 4:11Designing the system
- 5:35Web Audio API implementation
- 8:04Soundscape generation
- 9:54Encoding frequencies
- 12:52Finalizing the project
- 15:07Conclusion
related talks
38mMaking Waves with the Web
44mBeats in the Browser - Coding Music with JavaScript
07mGenerative Music In The Web Audio API
40mBeats in the Browser - Coding Music with JavaScript
45mArt.js
37mMaking HTML Make Music – Heydon Pickering
40mLiveJS: Making Music with JavaScript
26mBeats in the Browser - Coding Music with JavaScript
