Acoustics
Room geometry, materials, image-source and ray-traced impulse responses, and room convolution. 17 nodes. Filter them in Explore.
- Directivity
@maru/acoustics-directivity
Analytic cardioid-family directivity (omni, figure-eight, hyper-, sub- and cardioid with the p parameter), angle functions, direction vectors, cartesian/spherical conversion…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Geometry
@maru/acoustics-geometry
2-D and 3-D point, segment, plane and polygon routines ported from libroom geometry.cpp…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Materials
@maru/acoustics-materials
Acoustic material records from the pyroomacoustics absorption (91) and scattering (8) tables: name-to-id lookup, flat-curve detection, octave-band resampling of coefficients…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Materials table
@maru/acoustics-materials-table
Generated, read-only pyroomacoustics materials.json tables (absorption and scattering names, categories, offsets, lengths, coefficients and centre frequencies), pinned…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Octave bands
@maru/acoustics-octave-bands
Antoni octave-band weighting (pyroomacoustics AntoniOctaveFilterBank, pyfar window): band layout, index-exact bin edges, G_b(n) windows, exact G^2 spectral band…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Physics
@maru/acoustics-physics
Speed of sound from temperature and humidity, temperature inversion, the octave-band air absorption table (7 bands, 6 humidity/temperature rows) and the shared DEFAULT_*…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Ray tracer
@maru/acoustics-ray-tracer
Budgeted shoebox ray energy with absorption, scattering and receiver directivity, in fixed histogram buffers.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- RIR analysis
@maru/acoustics-rir-analysis
Budgeted response display, Schroeder curve, broadband T30 and measured octave-band T30 over shared FIR and RT60 leaves.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- RIR assembly
@maru/acoustics-rir-assembly
Budgeted restartable shoebox RIR assembly over ISM, fractional-delay trains, octave weighting and zero-phase high-pass.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- RIR builder
@maru/acoustics-rir-builder
Image-source RIR builder (pyroomacoustics rir_builder.cpp): Hann-windowed sinc LUT, ranged f64 accumulate plus exact float32 emulation, delay_sum, fractional_delay…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Room convolver
@maru/acoustics-room-convolver
Room Acoustics long-IR convolver (): two filters/partitioned-convolution two-stage zero-latency convolvers (128-tap head, 128-frame partitions, spread 2048/4096-frame tail)…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Rounding
@maru/acoustics-rounding
numpy-compatible roundHalfEven (ties to the even integer, signed zero preserved) and C-style truncToward0 helpers used by the acoustics leaves.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- RT tail
@maru/acoustics-rt-tail
Seeded Poisson late response weighted by ray energy histograms and shared octave FIRs.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- RT60
@maru/acoustics-rt60
RT60 theory (Sabine, Eyring) and inverse Sabine band absorption targets, plus Schroeder-integral RT60 measurement from an impulse response…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Shoebox ISM
@maru/acoustics-shoebox-ism
Bounded, resumable shoebox image-source model (pyroomacoustics image_source_shoebox): L1-ball walk up to order 17 (7175 images), per-band wall attenuations, per-mic directions…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Vec3
@maru/acoustics-vec3
Stride-3 Float64Array vector helpers (set, copy, add, sub, scale, dot, cross, norm, distance, normalize) replacing pyroomacoustics' Eigen Vector3f operations.
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental
- Wall
@maru/acoustics-wall
Planar 3-D polygon wall state: Newell normal and Gram-Schmidt in-plane basis (replacing upstream's SVD), area, segment intersection codes, reflection, side, same-as…
Acoustics- JavaScript: Available
- WebAssembly: Not checked
- C: Builds
- Native macOS: Not checked
- Native Windows: Not checked
- Native Linux: Not checked
- Rust: Not checked
- GPU: Experimental
- Cortex-M: Experimental