dobejaminROOM / THE ECHO MACHINECurrent experiment

One click.
A map of the echo.

Runs offline, without a microphone.

Start with one wall.

Move the right wall and follow the orange path to its delayed spike. Move the ear too: drag it, or focus the plan and use arrow keys.

TOP VIEW · METRES
WHAT ARRIVES AFTER A CLICKPRESSURE / DIRECT = 1

Model, arithmetic & sources

Rectangular room: point source at (1, 2, 1.5) m, depth 6 m, height 3.2 m; ear height 1.5 m. Sound travels at 343 m/s. Mirrored sources give single-bounce path lengths. Time zero is direct arrival; direct pressure = 1. Reflected pressure = √(1 − energy absorption) × direct length / reflected length. Absorption is an illustrative, frequency-independent constant. There are no higher-order bounces, scattering, diffraction or air loss; this truncated response cannot give a room's RT60.

The chart shows exact arrivals. Audio splits fractional arrivals between adjacent samples, slightly filtering high frequencies. Fixed gain (0.16), without separate normalization, lets reflections change loudness and tone. The audible click is a 2 ms burst; the download is the response to a one-sample impulse at the same gain: 48 kHz, 16-bit mono WAV. The melody is synthesized locally; no fetching or uploading.

Pyroomacoustics: image sources and convolution · MathWorks: mirrored reflection paths · MIT: impulse responses of linear, unchanging systems · Implementation & verification