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

Parameters
Room
Enabled
rebuildroom.enabledThe hall around the piano: wall reflections and reverberation.
Image sources for the early reflections, a 16-line feedback delay network for the tail.
Absorption high
rebuildroom.absorption_highHow much the walls absorb the high frequencies (≈ 4 kHz). Higher: a darker reverb.
Mean absorption coefficient α at high frequency.
Absorption low
rebuildroom.absorption_lowHow much the walls absorb the low frequencies (≈ 125 Hz). Lower: longer, boomier reverb.
Mean absorption coefficient α at low frequency.
Piano directivity Q (0: from the piano)
rebuildroom.directivityHow 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.
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
rebuildroom.orderHow many wall bounces are computed as distinct echoes before the reverb takes over.
Image-source order; each order gets its own wall low-pass.
Piano position x
rebuildroom.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.
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)
rebuildroom.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.
Shoebox [x, y, z] (m). Sabine T60 = 0.161·V/(S·α), air absorption added in the high band.
Tail gain
rebuildroom.tail_gainLevel of the reverb tail (1: physical).
Scales the FDN output, set by default so the reverberant energy is (r/r_c)² times the direct, r_c = 0.057·√(V/T60).