# 声学腔体模式可视化

矩形房间的三维简正模式分析——观察每个声学本征模式的声压波节/波腹分布，以及房间形状和听音位置如何影响频率响应。

> 标准页面: https://elysiatools.com/zh/visualizations/acoustic-cavity-modes

- **分类:** Physics

## 概述

Interactive 3D normal-mode analysis of a rectangular room — distinct from the existing helmholtz-resonator (a single-cavity Helmholtz resonator, lumped-element), standing-wave (1D string/tube), and sound-attenuation/resonance-phenomenon cases; this is the only case treating the full 3D eigenmode structure of an enclosure, the foundation of architectural and studio acoustics. The model implements the Morse–Ingard rigid-wall eigenfunctions: pressure p_{n,m,l}(x,y,z) = cos(nπx/Lx)·cos(mπy/Ly)·cos(lπz/Lz) with eigenfrequencies f = (c/2)·√((n/Lx)²+(m/Ly)²+(l/Lz)²), classified by how many indices are nonzero into axial (one — bouncing between one pair of walls, strongest), tangential (two — skimming four walls), and oblique (three — involving all six walls, weakest but densest at high frequency) modes. It detects modal degeneracy (different index triples sharing one frequency, the hallmark of bad room shapes like cubes), computes the Schroeder frequency f_s = 2000·√(RT60/V) marking the modal-to-diffuse transition, and evaluates the exact and Weyl-asymptotic modal density N(f) ≈ (4π/3)V(f/c)³ + (π/4)S(f/c)² + (1/8)Le(f/c). The steady-state response at a listener is the modal sum of Lorentzians Σ_k ψ_k(r₀)ψ_k(r_s)/√[(f²−f_k²)²+(f·Δf)²] with half-width Δf ≈ 2.2/RT60. Three visualization panels: (1) A Three.js 3D room rendered as a wireframe box with a 14×12×8 voxel grid sampling the pressure eigenfunction — red cubes for positive-pressure antinodes, blue for negative, transparent near nodal surfaces (p≈0) — with an animate toggle oscillating the field in time cos(ωt), hand-rolled spherical-camera orbit controls (drag to rotate, scroll to zoom, pinch on touch), and draggable listener (green) and source (gold) markers raycast onto the listener's z-plane. (2) Frequency-response plot of |P(f)| at the listener position with the Schroeder frequency (gold dashed) and current-mode frequency (red dashed) marked, reshaping live as the listener moves between nodes (peaks vanish) and antinodes (peaks swell). (3) Mode-list bar chart color-coded by type (axial red, tangential gold, oblique blue), with degenerate modes visibly clustered, and the current mode highlighted with its (n,m,l) label. Adjustable parameters: room dimensions Lx/Ly/Lz (1–20 m each), mode indices n/m/l (0–6), reverberation time RT60 (0.1–3 s, driving mode Q), and a pressure-animation toggle. Five room presets: Studio (golden-ish 7:5:3), Cube (bad — triple degeneracy), Golden ratio (1.618:1:0.618), Shoebox (15:8:6), and Concert hall (20:15:10, low Schroeder). Real-time diagnostics: mode frequency, type (axial/tangential/oblique), wavelength, room volume, Schroeder frequency, quality factor Q, count of modes below the current one, and modal-vs-diffuse region classification. Educational content covers the wave equation with rigid-wall boundary conditions, the cosine-product eigenfunctions and their nodal/antinodal surfaces, the axial/tangential/oblique classification, the Schroeder frequency as the modal-to-diffuse transition, modal degeneracy and room-proportion design (Bolt, Sepmeyer, golden ratio, Bonello criterion), and applications to recording studios (bass traps, non-parallel walls), concert halls (shoebox acoustics), home audio (subwoofer/listening-position trade-offs), and architectural finite-element simulation. Multi-language support (zh, en, es, fr, de, ru, pt).

## 相关内容

- [零级反应 - Zero-Order Reaction](https://elysiatools.com/zh/visualizations/zero-order-reaction): 零级反应动力学和浓度随时间变化的交互式可视化
- [一级反应 - First-Order Reaction](https://elysiatools.com/zh/visualizations/first-order-reaction): 一级反应动力学和指数浓度衰减的交互式可视化
- [二级反应 - Second-Order Reaction](https://elysiatools.com/zh/visualizations/second-order-reaction): 二级反应动力学和双分子碰撞动力学的交互式可视化
- [阿伦尼乌斯方程 - Arrhenius Equation](https://elysiatools.com/zh/visualizations/arrhenius-equation): 温度对反应速率影响的交互式可视化 - 探索活化能、指数因子和速率常数的关系
- [可逆反应 - Reversible Reaction](https://elysiatools.com/zh/visualizations/reversible-reaction): A ⇌ B 可逆反应动力学的交互式可视化 - 探索正逆反应速率、平衡常数和浓度随时间的变化
- [连续反应 - Consecutive Reaction](https://elysiatools.com/zh/visualizations/consecutive-reaction): A → B → C 连续反应动力学的交互式可视化 - 探索中间物浓度峰值、决速步和所有物种的完整演化
- [链式反应 - Chain Reaction](https://elysiatools.com/zh/visualizations/chain-reaction): 自由基链式反应聚合的交互式可视化 - 探索引发、增长、终止步骤，链增长动画和分子量分布
- [勒夏特列原理 - Le Chatelier's Principle](https://elysiatools.com/zh/visualizations/le-chateliers-principle): 勒夏特列原理的交互式可视化 - 探索浓度、压强和温度变化如何影响化学平衡，配合分子动力学动画展示平衡移动过程
