Create an AudioContext only after user input.
REPRODUCTION NOTES / 12
How NOCTURNE FM
was made.
Signature technique: Generative Web Audio sequencer and oscilloscope. The page is one dependency-light HTML document with embedded styles and scripts; this guide is a second self-contained document using the same visual language.
Build sequence
Schedule a restrained pentatonic sequence.
Analyze the output waveform into Canvas.
Expose a clear mute control and static state.
Reproduce it
Copy the parent index.html, preserve the semantic landmarks, then isolate the render loop from the content layer. Keep canvas and 3D surfaces aria-hidden; the story must remain complete without them. Cap device pixel ratio at 2 for expensive scenes, listen to prefers-reduced-motion, and test the final composition at 375px before publishing.
Why this technique
Generative Web Audio sequencer and oscilloscope is not decoration here: it carries the site's central metaphor. That alignment between subject and mechanism is what keeps a technical showcase from becoming a demo reel.