Microphones
Where the two microphones stand, what they hear, and the lid between them and the board.
There is no “stereo width” knob in Unsampled Piano, because there is no stereo trick: the left channel is what a microphone at one point in space hears, the right channel what a second one hears. Each microphone sums the sound of every soundboard mode by the Rayleigh integral — the board pushing the air, patch by patch, each patch arriving with its own delay and distance — plus the lid’s reflection, the sound of the frame and the rim, and the knock of the action heard directly, then the room.
Move a microphone and the balance between bass and treble, the attack and the sense of distance all change, exactly as they would at a real piano. Changing a position rebuilds the radiation weights, which takes a fraction of a second.
Set-ups
The Listening presets are microphone set-ups you can combine with any instrument: loading one keeps the instrument, loading an instrument keeps the set-up.
Microphones · from above, to scale
mics_upright, not drawn): the last line says how far.Positions are in metres, in the soundboard’s own coordinates: x along the strings from the
keyboard end, y across from the treble side, z above the board. With mics_relative on, x
and y are fractions of the board’s length and width instead, so a set-up follows the board
when you change instrument — the listening presets use that. mic_gain_db levels the set-up:
close microphones hear the piano about 13 dB louder, so the close preset turns itself down.
An upright has its own pair, mics_upright, used instead of mics when the board stands
(soundboard.vertical). Its coordinates are the board’s too, standing: x down from the
board’s top, y across with the bass at y = b (the listener’s left), z in front of the
board. Each listening preset places both pairs, so it suits either kind of piano: the close
pair 40 cm in front of the board, over the same parts of the bridge, the concert pair 2 m in
front and a little above the top, the audience pair 1.6 m in front at the height of the top.
The lid
Lid · section across the keyboard
lid_reflection = 0.85). At 1 m up, where the concert pair first stood, a microphone sits in that beam (and lost 10 dB at 2–4 kHz in the middle register, docs/presence.md); at 2 m it is above it. Each patch of the board gets an image path through the lid whenever the reflection reaches a microphone; a microphone behind the lid only gets lid_transmission. No diffraction is modelled.lid_angle = 0 takes the lid out of the model altogether: no reflection, no shadow. That is
the default instrument, and the audience, lid closed set-up.
Pattern
Microphone pattern · mic_pattern
In the application

Parameters
Microphones and lid
Positions relative to the board
rebuildsoundboard.mics_relativeMicrophone positions given as shares of the soundboard's length and width instead of metres, so that a microphone set-up follows the board when the instrument changes size.
x and y are multiplied by the board's a and b when the instrument is built; the height stays in metres. The listening presets use it.
Lid angle
rebuildsoundboard.lid_angleHow far the lid is open (0: removed). An open lid reflects the sound towards the audience side and shadows the mics behind it.
The lid is a reflecting rectangle hinged on the bass side (y = b), opening towards y < 0. Each board cell gets an image path through it when the reflection hits the lid; mics behind it get the transmitted share. No diffraction.
Lid hinge height
rebuildsoundboard.lid_hinge_heightHeight of the lid's hinge above the soundboard.
z of the hinge line (m).
Lid reflection
rebuildsoundboard.lid_reflectionHow much sound the lid reflects.
Pressure reflection coefficient of the lid image.
Sound through the lid
rebuildsoundboard.lid_transmissionHow much sound passes through the lid to a microphone behind it.
Gain of the direct path when the lid shadows it.
Microphone gain
rebuildsoundboard.mic_gain_dbLevel of the microphone set-up, on top of the instrument's own output gain: close microphones hear the piano louder, so a close set-up turns itself down.
Gain (dB) applied to the radiated sound when the instrument is built, kept apart from output_gain_db so that a listening preset and an instrument preset combine.
Mic pattern (1 omni, 0.5 cardioid)
rebuildsoundboard.mic_patternPick-up pattern of the microphones, aimed at the piano: 1 hears all around (omni), 0.5 is a cardioid, which hears the room about 5 dB less than the piano in front of it.
Pattern a + (1 − a)·cos θ. The direct sound arrives on axis; the room's reflections and tail come from every direction and are heard with the random-incidence efficiency a² + (1 − a)²/3 (1/3 for a cardioid).
Left mic x (along)
rebuildsoundboard.mics[…]| Left mic x (along) | [0][0] | 0.45 |
| Left mic y (across) | [0][1] | 0.35 |
| Left mic height | [0][2] | 1.5 m |
| Right mic x (along) | [1][0] | 1.15 |
| Right mic y (across) | [1][1] | 0.85 |
| Right mic height | [1][2] | 1.5 m |
Where the two microphones stand: the first gives the left channel, the second the right. Close to the board the sound is detailed and dry; further away the board blends and the room takes over.
[mic][x, y, z] in metres. Board coordinates: x along the strings, from the keyboard end of the board towards the tail; y across, from the treble side (0) to the bass side; z above the board. Each mic hears every board mode by the Rayleigh integral (plus lid image, frame and rim), then the room's reflections. Changing them rebuilds the radiation weights.
Upright: left mic x (down)
rebuildsoundboard.mics_upright[…]| Upright: left mic x (down) | [0][0] | 0.7 |
| Upright: left mic y (across) | [0][1] | 1 |
| Upright: left mic in front | [0][2] | 1.5 m |
| Upright: right mic x (down) | [1][0] | 0.3 |
| Upright: right mic y (across) | [1][1] | 0.45 |
| Upright: right mic in front | [1][2] | 1.5 m |
Where the two microphones stand when the piano is an upright: in front of its soundboard. Each listening set-up places them for both kinds of piano.
Used instead of soundboard.mics on a vertical board: x down from the board's top, y across (bass at y = b, the listener's left), z in front of the board; fractions of a and b with mics_relative.