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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins
  • 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
    Used by 2 plugins