3 unstable releases
Uses new Rust 2024
| 0.4.0 | Mar 11, 2026 |
|---|---|
| 0.3.1 | Feb 7, 2026 |
| 0.3.0 | Jan 2, 2026 |
#2243 in Math
790KB
16K
SLoC
WASM bindings for Room Acoustics Simulator
This module provides WebAssembly bindings to run room acoustics simulations in the browser. It supports:
- Rectangular and L-shaped room geometries
- Multiple sources with directivity and crossover filters
- Multiple solver methods:
- Direct field computation (free-field propagation)
- Image Source Method (ISM) with 1st, 2nd, 3rd order reflections
- Modal analysis for low frequencies
- Hybrid modal/ISM with Schroeder frequency crossover
- BEM (Boundary Element Method) for accurate wave-based simulation
- Frequency response and spatial slice visualization
- Impulse response generation
- Binaural rendering
The BEM solver uses pure Rust linear algebra (no BLAS) for WASM compatibility.
Dependencies
~15MB
~279K SLoC