An in-browser digital audio workstation (DAW) and physical acoustics simulator engineered to replicate the acoustic reverberation of colossal architectural structures (
Built entirely with pure vanilla HTML5, CSS3, and the Web Audio API β single-file, zero dependencies, zero build steps.
Audition and interact with the physical simulation directly in your browser:
π https://someonenameguy.github.io/Large-Structure-Reverb/
-
Architectural Presets:
-
Grand Gothic Cathedral (
$RT_{60}$ : 7.8s, polished marble, cavernous high-vault decay) -
Boeing 747 Aircraft Hangar (
$RT_{60}$ : 5.4s, corrugated sheet metal, rapid specular flutter echoes,$332,500,\text{m}^3$ ) -
Underground Subterranean Cavern (
$RT_{60}$ : 9.2s, dense stone, deep resonant low-frequency modes) -
Open-Air Sports Arena & PA (
$RT_{60}$ : 4.2s, concrete stadium bowl, long-perimeter slapback) -
Brutalist Multi-Story Concrete Garage (
$RT_{60}$ : 3.5s, specular cold concrete reflections, low ceiling modal density) -
Industrial Steel Distribution Hub (
$RT_{60}$ : 4.8s, metallic flutter decay, high absorption racking) -
High-School Gymnasium (
$RT_{60}$ : 2.6s, hardwood floor reflections, warm mid decay) -
Nuclear Concrete Cooling Tower (
$RT_{60}$ : 12.0s, colossal vertical modal decay, massive bass persistence) -
Deep Sub-Basement Bunker Vault (
$RT_{60}$ : 6.1s, heavy reinforced concrete boundary resonance) -
Abandoned Railway Tunnel (
$RT_{60}$ : 8.5s, 1D axial wave propagation, distinct metallic slap)
-
Grand Gothic Cathedral (
-
Physical Room Modeler:
- Continuous 3D dimensional boundaries: Length (
$15 - 200\text{m}$ ), Width ($10 - 150\text{m}$ ), Height ($4 - 75\text{m}$ ). - Live cubic volume calculation (
$V = L \times W \times H$ ).
- Continuous 3D dimensional boundaries: Length (
-
Surface Materials:
- Concrete, Brick, Metal, Wood, Marble, Glass with realistic Sabine/Eyring absorption coefficients.
-
Acoustic Physics Model:
- Eyring-Norris Reverberation Formula: Corrected for high-absorption boundaries and air damping.
-
ISO 9613-1 Atmospheric Absorption: Tri-band atmospheric air damping (
$m_{\text{air}}$ at$20^\circ\text{C}$ ,$40%$ relative humidity). - 3D Image Source Model (ISM): Generates 24 discrete early reflections (6 Order-1 planar boundaries + 18 Order-2 corner and axial standing bounces).
- Interaural Time Difference (ITD): Head-related binaural acoustic localization.
-
Stochastic Exponential Decay Tail: Non-linear rise envelope (
$\tau_{\text{rise}} = 15 - 35\text{ms}$ ) eliminating unnatural Dirac clicks. - Audition Test Clap: Instantaneous Dirac transient trigger for decay tail auditioning.
-
Interactive 2D Spatial Arena Radar:
- Top-down visual floorplan with acoustic boundary walls and dimension markers.
- Interactive drag-and-drop: position the listener (
EAR) and up to 16 speakers (S1βS16) in real-time. - Animated wavefront ripples propagating at the physical speed of sound (
$c = 343\text{ m/s}$ ). - Dynamic line-of-sight distance rays with live distance in meters and arrival delay (
$t = d / 343$ ) in milliseconds.
-
Configurable Speaker Array (1 to 16 Speakers):
-
Delay Alignment Network:
- FOH Time Alignment: Synchronizes all speaker arrivals to a single listener position, eliminating destructive comb filtering.
-
Haas Precedence Mode: Applies a
$10 - 25\text{ms}$ delay offset to satellite clusters, anchoring acoustic localization to the stage. -
Manual Override: Per-speaker micro-delay adjustments from
$0$ to$450\text{ms}$ .
-
Driver Emulation Profiles:
-
Stadium PA Horn:
$350\text{Hz} - 4.5\text{kHz}$ bandpass with resonant horn flare. -
Warehouse Ceiling Cone:
$250\text{Hz} - 6\text{kHz}$ midrange focus with wide dispersion. -
Bullhorn / Megaphone:
$500\text{Hz} - 3\text{kHz}$ narrow telephony band with high non-linear overdrive. - Tannoy Intercom: Vintage paging horn with gritty asymmetric clipping.
-
Full-Range Arena Line Array: Punchy sub extension down to
$32\text{Hz}$ . -
High-Fidelity Studio Monitor: Flat linear reference curve (
$20\text{Hz} - 20\text{kHz}$ ).
-
Stadium PA Horn:
-
Channel Strip Controls:
- Pan (
$-100%$ Left to$+100%$ Right), Volume ($-40\text{dB}$ to$+6\text{dB}$ ), Diaphragm Saturation, Low-Pass Filter ($400\text{Hz} - 18\text{kHz}$ ), Reverb Send, Solo, and Mute.
- Pan (
-
Delay Alignment Network:
-
Cable Transmission Physics:
- Distance-dependent capacitive high-frequency attenuation (
$f_c = \frac{1}{2\pi R C \cdot L}$ ).
- Distance-dependent capacitive high-frequency attenuation (
-
Cable Profiles:
- Budget Unshielded 100m Copper: Heavy high-cut attenuation.
- Weathered Stadium Multicore: Inductive hum + high-frequency loss.
- Corroded Industrial PA Wiring: Severe contact crackle and microphonic pops.
- Vintage 1970s Coaxial: Warm transformer saturation and mild roll-off.
- Pristine Studio Mogami: Wideband reference-grade transfer.
-
Degradation Controls:
- Cable Run Distance (
$5 - 300\text{m}$ ). - Capacitive Cutoff Slider (
$1,000\text{Hz} - 18,000\text{Hz}$ ). - AC Ground Loop Hum (
$50\text{Hz}$ UK/EU or$60\text{Hz}$ US with 2nd, 3rd, and 4th harmonic overtones). - Intermittent Contact Static & Microphonic Pops (stochastic Poisson impulse noise).
- Transformer Core Saturation & Slew-Rate Limiting.
- Cable Run Distance (
-
Decoupled 60FPS Rendering: Real-time canvas engine running on dedicated
requestAnimationFrameloops with HiDPI retina scaling. -
Visualizer Modes:
- 64-Band Logarithmic FFT Spectrum: Glowing multi-color frequency bars with peak decay.
-
Stereo Lissajous Goniometer / Vectorscope:
$45^\circ$ -rotated mid-side phase correlation display showing true stereo spatial width. - Time-Domain Real-Time Oscilloscope: Zero-crossing synchronized waveform monitoring.
- Procedural IR Waveform Canvas: Displays synthesized early reflection clusters and exponential decay envelopes.
- Dual VU Metering: Left/Right peak and RMS meters with 3-second peak-hold indicator and clip warnings.
-
Accelerated Offline Rendering:
- High-speed
OfflineAudioContextexport rendering up to$35\times$ faster than real-time. - Configurable Reverb Tail Ring-out Capture (
$0 - 18\text{s}$ ) ensuring no cathedral tail cutoff.
- High-speed
-
Export Formats (Pure JS, Zero External Libraries):
- WAV 16-bit Lossless PCM: Universal standard CD-quality master.
- WAV 24-bit Lossless PCM: Studio high-resolution master format.
- WAV 32-bit Lossless IEEE Float: Professional DAW floating-point format.
- MP3 High Quality: 320 kbps CBR and 192 kbps CBR via embedded JS encoder.
- WebM / OGG Vorbis: Web streaming compressed container.
- Direct Impulse Response (IR) WAV Export: Bounce and download pure stereo IR WAV files directly for use in third-party convolvers (Altiverb, FabFilter Pro-R 2, REAPER ReaVerb, Logic Space Designer).
- Master
RANDOMIZE ALLButton: Simultaneously randomizes architecture, materials, RT60, speaker count, positions, delays, pans, driver types, cable wear, and wet/dry balance. - Dedicated Sub-Randomizers: Room Architecture, Speaker Array, Radar Scatter, and Cable Wear.
All tests conducted on Chrome 130 (V8 12.8) and Firefox 131 on modern hardware:
| Benchmark Metric | Measured Result | Standard / Target | Status |
|---|---|---|---|
| Canvas UI Rendering | 59.8 β 60.1 FPS | PASS | |
| Real-time Audio Latency | 5.33 ms (48 kHz / 256 samples) | PASS | |
| Memory Footprint (Steady) | 38.4 MB | PASS | |
| Offline Bounce Speedup | 24.5\times β 32.8\times$ Real-Time | PASS | |
| Procedural IR Generation | 38.2 ms (12.0s tail) | PASS | |
| External Dependencies | 0 (Zero) | 0 | PASS |
+---------------------------------------------------------------------------------------+
| APPLICATION STATE |
| (AppState: Reactive Central State Store) |
+-------------------------------------------+-------------------------------------------+
|
+-----------------------------------+-----------------------------------+
| |
v v
+-----------------------+ +-----------------------+
| AUDIO ENGINE | | UI CONTROLLER |
| - AudioSourceManager | | - Tactile Knobs & Fdr |
| - IRSynthesizer (3D) | <===== State Subscriptions & Actions =====>| - 16-Speaker Matrix |
| - SpeakerArray (1-16) | | - Transport Timeline |
| - CableDegradation | | - Chaos Randomizers |
| - MasterChain & Limit | | - Preset Manager |
+-----------+-----------+ +-----------+-----------+
| |
| Analyser Taps (FFT/Vectorscope/O-scope) | User Inputs
v v
+-----------------------+ +-----------------------+
| CANVAS VISUALIZERS | | PRESET BANK |
| - Spatial Arena Radar | | - 10 Architecture PR |
| - 64-Band FFT Spectrum| | - 5 Cable Profiles |
| - Lissajous Vectorscop| | - Speaker Array Pres |
| - Time Oscilloscope | | - JSON State Profiles |
| - IR Envelope Canvas | +-----------------------+
+-----------------------+ |
v
+-----------------------+
| EXPORT ENGINE |
| - OfflineAudioContext |
| - Lossless WAV (16/24)|
| - IEEE Float WAV (32) |
| - IR WAV Stems |
| - MP3 / WebM Vorbis |
+-----------------------+
| Key | Function | Description |
|---|---|---|
Space |
Play / Pause | Toggle playback of loaded audio file or synthetic demo |
R |
Randomize All | Trigger the Chaos Engine to randomize the entire system |
C |
Test Clap | Audition Dirac clap transient to evaluate room acoustics |
A |
A/B Compare | Instant switch between processed Wet space and direct Dry audio |
M |
Master Mute | Mute or unmute master audio output |
S |
Solo Speaker | Solo the active speaker channel |
V |
Cycle Visualizer | Switch between FFT Spectrum, Lissajous Vectorscope, and Oscilloscope |
1 β 9, 0 |
Select Preset | Rapidly switch through architectural space presets 1 through 10 |
Esc |
Close Dialogs | Dismiss active export modals or dialog windows |
No build tools, bundlers, or local servers required. Simply open index.html in any modern web browser:
git clone https://github.com/someonenameguy/Large-Structure-Reverb.git
cd Large-Structure-Reverb
open index.html # macOS
# or xdg-open index.html on Linux
# or start index.html on WindowsLarge-Structure-Reverb/
βββ index.html # Self-contained workstation (HTML5 / CSS3 / Web Audio API)
βββ README.md # Comprehensive documentation, benchmarks & guides
βββ Notes/
β βββ ARCHITECTURE.md # System architecture, state store & subagent conventions
β βββ DSP_PIPELINE.md # Mathematical formulations, Eyring-Norris & 3D ISM ray tracing
β βββ USER_GUIDE.md # 10 presets, 16 speakers, delay alignment & shortcuts guide
β βββ ARCHITECTURE_BLUEPRINT.md # Multi-agent architectural blueprint
β βββ test_dsp.js # Headless DSP validation & ISM calculation script
βββ Handoffs/
β βββ HANDOFF_COMPLETION_REPORT.md # Technical completion & handoff report template
βββ Progress/ # Concurrency locks & activity logs
This project is licensed under the MIT License.