Docs

Room

The hall around the piano — its size, walls and reverberation, the early echoes as image sources, and how much the piano beams its sound.

The microphones do not stop at the direct sound: they also hear the room. The model places the piano and its microphones in a shoebox hall and computes what reaches them in two parts — the first echoes exactly, the late reverberation statistically.

The room · from above, and at the microphone

40 × 28 × 16 mT60 2 s low · 1.59 s highechogram · left microphone · dB0-20-400 ms47 ms93 ms140 ms187 msdirect12 × 8 × 5 mT60 1.1 s low · 0.75 s highechogram · left microphone · dB0-20-400 ms20 ms40 ms60 ms80 msdirect8 × 6 × 3.5 mT60 0.31 s low · 0.23 s highechogram · left microphone · dB0-20-400 ms20 ms40 ms60 ms80 msdirect
Top: the room from above, to scale, the piano (copper) and its two microphones (blue). The wavefront from the piano and those of its images in the walls expand together; inside the room, the images' wavefronts are the reflections — that is the image-source method the model uses for the early echoes, each order with its own wall filtering. Bottom: what the left microphone receives — the direct sound, each reflection up to the second order at its delay, then the reverberant tail of a 16-line feedback delay network, decaying at the Sabine rate (the air absorbs more of the highs). The two microphones, 0.86 m apart, share that tail below 88 Hz and each hear their own above it, as a spaced pair does in a hall.

Early reflections

Each wall reflection is the sound of an image of the piano mirrored in that wall, arriving later and weaker; reflections of reflections are images of images. The model computes them up to order (3 by default), each with its own wall filtering: walls absorb more of some frequencies than others (absorption_low around 125 Hz, absorption_high around 4 kHz). For the reflections the piano is a point source 10 cm above the board’s centre; piano places the board in the room, and near a wall its echoes come early and strong.

Reverberation

After the first echoes, a 16-line feedback delay network takes over and builds the dense tail. Its decay follows Sabine’s formula, T60 = 0.161·V / (S·α), with the air absorbing more of the highs; tail_gain scales it (1 is physical: the reverberant energy is set from the room’s critical distance).

The two microphones do not hear the same tail at every frequency. In a hall’s diffuse sound, two microphones d metres apart pick up nearly the same pressure at low frequencies and unrelated pressures higher up; the change happens near 76/d Hz. The model does the same: below that corner the tail is common to both microphones, above it each gets its own, independent mix of the network (about 90 Hz for the default pair, 0.86 m apart). The bass of the reverberation stays centred, its highs spread wide, as with a spaced pair in a real hall. The measurements are in docs/room_level.md.

Directivity

A piano does not radiate evenly. A grand with its lid open beams its sound towards the audience side; an upright against a wall spreads it. Since the room is driven by the sound the microphones hear, directivity (a factor Q) says how much of it the piano sends everywhere else: the higher Q, the less it fills the room. 0 lets the instrument decide — 3 for a grand with its lid open, 2 with it closed or removed, 2 for an upright against a wall, 1.5 standing free.

The Room listening presets are these halls; Dry turns the room off and leaves the piano alone with its microphones.

In the application

The Room page of the Unsampled Piano interface
The Room page of the interface, default instrument. Its sketch is drawn from the current settings; hover a parameter to light up the part it acts on, click its name for the help shown below.

Parameters

Room

Enabled

rebuild
room.enabled
default on

The hall around the piano: wall reflections and reverberation.

in the model

Image sources for the early reflections, a 16-line feedback delay network for the tail.

Absorption high

rebuild
room.absorption_high
0.0373.7default 0.37logrange ≈

How much the walls absorb the high frequencies (≈ 4 kHz). Higher: a darker reverb.

in the model

Mean absorption coefficient α at high frequency.

Absorption low

rebuild
room.absorption_low
0.03273.27default 0.327logrange ≈

How much the walls absorb the low frequencies (≈ 125 Hz). Lower: longer, boomier reverb.

in the model

Mean absorption coefficient α at low frequency.

Piano directivity Q (0: from the piano)

rebuild
room.directivity
08default 0

How much the piano beams its sound towards the microphones rather than all around: the more it does, the less it fills the room. 0 (default) sets it from the piano: a grand with its lid open beams the most, an upright standing free the least.

in the model

Directivity factor Q: the room is driven by an omnidirectional source 1/Q as powerful as the level at the mics suggests. 0: 3 for a grand with its lid open, 2 with the lid closed or removed, 2 for an upright against a wall, 1.5 standing free.

Order

rebuild
room.order
08default 3range ≈

How many wall bounces are computed as distinct echoes before the reverb takes over.

in the model

Image-source order; each order gets its own wall low-pass.

Piano position x

rebuild
room.piano[…]
Piano position x[0]6 m
Piano position y[1]13 m
Board height[2]0.9 m

Where the piano stands in the room: near a wall, its reflections come early and strong.

in the model

Position [x, y, z] (m) of the soundboard's corner (0, 0) in the room; z is the board's height. The reflections treat the piano as a point source at the board's centre.

Room length (x)

rebuild
room.size[…]
Room length (x)[0]40 m
Room width (y)[1]28 m
Room height[2]16 m

Length, width and height of the room. Larger rooms: later reflections, longer reverb.

in the model

Shoebox [x, y, z] (m). Sabine T60 = 0.161·V/(S·α), air absorption added in the high band.

Tail gain

rebuild
room.tail_gain
0.110default 1logrange ≈

Level of the reverb tail (1: physical).

in the model

Scales the FDN output, set by default so the reverberant energy is (r/r_c)² times the direct, r_c = 0.057·√(V/T60).