Docs

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

soundboard 1.7 × 1.3 mkeyboard · bass ← → treblelid open 35°Lz 0.4 mRz 0.4 mClose miking · cardioidsupright (mics_upright): 0.4 m in front of the boardlid open 35°Lz 2 mRz 2 mConcert set-up · omnisupright (mics_upright): 2 m in front of the boardLz 1 mRz 1 mAudience microphones (1 m above the board, in front of it), lid closed down onto the case · omnisupright (mics_upright): 1.6 m in front of the boardLz 1.5 mRz 1.5 mThe default instrument: lid removed, two omnis 1.5 m above the board · omnisupright (mics_upright): 1.5 m in front of the boardaudience
The soundboard (copper) with its two bridges, the keyboard at the bottom, treble on the right — the audience sits on that side, where the lid opens. Each microphone is labelled with its height above the board. Close microphones hear a detailed, dry piano; distant ones let the board blend and the room take over. Each set-up also places a pair for an upright, in front of its standing board (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

soundboardhingelid 35°concert mic, 2 m: above the reflectionat 1 m: in the lid's beambass sidetreble side · audiencedirectoff the lid
The lid, hinged on the bass side 0.25 m above the board and open at 35° as in the concert set-up, reflects part of the sound towards the audience (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

piano ↑omni · a = 1room heard at 0.0 dBcardioid · a = 0.5room heard at -4.8 dBgain(θ) = a + (1 − a)·cos θroom = a² + (1 − a)²/3
The piano is in front (up). 1 is an omni, 0.5 a cardioid: on axis both hear the piano the same, but the room's reflections and reverberation come from every direction, and the cardioid hears them with a third of the energy.

In the application

The Microphones page of the Unsampled Piano interface
The Microphones 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

Microphones and lid

Positions relative to the board

rebuild
soundboard.mics_relative
default off

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

in the model

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

rebuild
soundboard.lid_angle
060default 0 °

How far the lid is open (0: removed). An open lid reflects the sound towards the audience side and shadows the mics behind it.

in the model

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

rebuild
soundboard.lid_hinge_height
0.050.6default 0.25 m

Height of the lid's hinge above the soundboard.

in the model

z of the hinge line (m).

Lid reflection

rebuild
soundboard.lid_reflection
01default 0.85

How much sound the lid reflects.

in the model

Pressure reflection coefficient of the lid image.

Sound through the lid

rebuild
soundboard.lid_transmission
01default 0.1

How much sound passes through the lid to a microphone behind it.

in the model

Gain of the direct path when the lid shadows it.

Microphone gain

rebuild
soundboard.mic_gain_db
-3020default 0 dB

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

in the model

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)

rebuild
soundboard.mic_pattern
01default 1

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

in the model

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)

rebuild
soundboard.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.

in the model

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

rebuild
soundboard.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.

in the model

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.