# Audio Architecture & Licensing Credits (`AUDIO_CREDITS.md`)

## Overview
The **Abhijeet Chakraborty — Horological Monograph (`ARCHIVE // 2010 — ∞`)** uses a **100% procedural Web Audio API sound synthesis engine** (`assets/js/audio.js`). All mechanical ticks, escapement impulses, brand chimes, gear-train whirrs, warm horological room tone, and the ending cathedral bell are generated mathematically in real time in the browser.

- **External Audio Files Required:** None (`0 KB` network payload).
- **Copyright & Licensing Status:** **100% Original Procedural Synthesis (Zero Third-Party Audio Samples)** — completely free of copyright restrictions, attribution requirements, or licensing risk.

---

## Synthesized Sound Layers

| Layer | Synthesis Method (`assets/js/audio.js`) | Trigger & Choreography |
| :--- | :--- | :--- |
| **1. Mechanical Escapement Tick / Tock** | Short white-noise burst shaped by a steep exponential decay envelope (`18 ms`), routed through a resonant dual-bandpass filter (`3,200 Hz` for *tick*, `2,650 Hz` for *tock*) + subtle metallic transient click (`1,100 Hz` sine ping). | Unlocked upon the user's **"Tap to Begin"** gesture in Scene 1. Pulses at 1 Hz at rest and scales proportionally (up to `4×`) with scroll velocity as the chronograph winds. |
| **2. Horological Brand Chimes (`01` – `10`)** | 3-partial inharmonic brass bell synthesis (partial ratios `1.0 : 2.756 : 5.404`, modeled on antique repeater pocket-watch gongs) with `2.4 s` exponential decay and stereo panning. | Strikes as the hour hand reaches each of the 10 venture markers (`2010` → `2024`). The fundamental pitch ascends across a warm Dorian/pentatonic gold scale from Brand `01` (`C4 / 261.6 Hz`) to Brand `10` (`E5 / 659.3 Hz`). |
| **3. Gear-Train Scroll Whirr** | Pink-filtered noise routed through a velocity-modulated lowpass filter (`180 Hz – 620 Hz`) with soft amplitude follower. | Responds smoothly to scroll velocity while winding through the chronology; muted automatically when `prefers-reduced-motion: reduce` is active. |
| **4. Warm Horological Room Tone** | Ultra-low-gain procedural brown-noise bed filtered at `140 Hz` with subtle slow LFO warmth (`0.08 Hz`). | Provides subtle atmospheric depth while sound is enabled; automatically suspends when the browser tab is hidden (`visibilitychange`). |
| **5. "The Unfinished Hour" Deep Bell** | 5-partial resonant bronze bell (`0.5 : 1.0 : 1.183 : 1.506 : 2.0`, root `C3 / 130.81 Hz`) routed through a procedurally generated stereo impulse-response convolver reverb (`4.2 s` decay). | Strikes once when entering Scene 3 (*"The Unfinished Hour"*) as the hands sweep past 12 toward `∞`, and on **Rewind Chronograph**. |

---

## Accessibility & Browser Policy Compliance
1. **Autoplay Compliance:** `AudioContext` is instantiated and resumed strictly inside a user-initiated event handler (`click` / `keydown` on **"Tap to Begin"** or the header **Sound Toggle**).
2. **Persistent User Preference:** Mute/unmute state is persisted in `localStorage` under the key `ac_horology_sound`.
3. **Reduced Motion Respect:** When `window.matchMedia('(prefers-reduced-motion: reduce)').matches` is true, continuous scroll whirr and rapid tick acceleration are disabled automatically.
4. **Tab Visibility:** Audio processing suspends immediately on `document.hidden` to conserve CPU and battery.
