Room and Receiver

Move a source and receiver, then hear the room.

@maruInstrumentExperimental
Demo
Room and Receiver interface

What it does

Place a sound source and a listener in a room, then strike. A struck resonator, like a small gong, plays from the source, and you hear it as it would sound from where the receiver stands. It is meant as a starting point you can copy and adapt for spatial sound in a game.

Built with

The 33 Maru DSP nodes it runs, by category.

Acoustics

  • 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…

  • Geometry@maru/acoustics-geometry

    2-D and 3-D point, segment, plane and polygon routines ported from libroom geometry.cpp…

  • 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…

  • Materials table@maru/acoustics-materials-table

    Generated, read-only pyroomacoustics materials.json tables (absorption and scattering names, categories, offsets, lengths, coefficients and centre frequencies), SHA-256 pinned…

  • 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…

  • 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_*…

  • Ray tracer@maru/acoustics-ray-tracer

    Budgeted shoebox ray energy with absorption, scattering and receiver directivity, in fixed histogram buffers.

  • RIR analysis@maru/acoustics-rir-analysis

    Budgeted response display, Schroeder curve, broadband T30 and measured octave-band T30 over shared FIR and RT60 leaves.

See all 33 in DSP

Guide and controls

What would you make with Room and Receiver?

Describe what you want to make. Build it with the Studio agent.

Goes well with.

Prototype

Maru

Place a sound in a room. Move the microphones.

Music tools on your computer.

Install and manage Maru and community plugins in one app, and play them in your DAW.

Chicken Synth, a cat keyboard, effects knobs and wavetable and MIDI panels