Docs

The interface

Pages, sketches and curves, live and rebuild parameters, help on every control, presets, touch and MIDI learn, the Audio and MIDI page — a tour of the window.

The interface is the same in the standalone application (--ui) and in the plugin’s editor. It shows every parameter of the instrument, organised the way a piano is built, and in front of them a Simple page of eleven musician’s controls that move groups of them without hiding them.

The interface, Strings page: the C4 string, its partials, and per-key losses, string length and unison spread over the keyboard

Layout

  • Top bar — the preset menus: Instrument (grouped by family; it shows the instrument loaded), one menu per listening group, Microphones and Room, and Touch, how velocities become hammer speeds. Loading a listening preset keeps the instrument; loading an instrument keeps the listening set-up and the touch. Then a name box with Save to write your own, and Defaults to go back to the default instrument. See presets.
  • Left — the pages: Simple, Player, Microphones, Hammer, Tuning, Strings, Dampers, Noises, Soundboard, Frame & rim, Room, and MIDI; in the standalone application, also Audio and MIDI. A search box filters every parameter by name or path.
  • Centre — the page: a sketch of the part of the piano it covers, drawn from the current settings (the felt’s depth, the pedal’s curve, the strike point and the unison spread follow the sliders), the per-key curves of its laws, then its parameters.
  • Bottom — the status: rebuild in progress or how long the last one took, voices, and the audio thread’s CPU load (peak of the last second).

Each page here in the docs matches one in the interface — see the parameter reference.

The Simple page

The first page has eleven sliders from −1 to +1, in a musician’s words: tone (soft – bright), touch (even – contrasted), sustain, resonance, note endings, unisons, action noises; the instrument’s size and tuning; the lid and the space around the piano. Each moves a group of physical parameters on top of the preset: at 0 the preset plays as it is, and the other pages go on showing its own values. A double click or the arrow resets one, All back to the preset resets them all, and they are saved with the preset. See Simple for what each one moves.

Live and rebuild

A green mark next to a parameter means live: the engine applies it while you play. The others shape the precomputed instrument; changing one starts a rebuild in the background — once the edits pause for 0.15 s, then about a tenth of a second — and the new instrument is swapped in without cutting the notes you are holding. Drag a rebuild slider while playing and you hear the piano change under your fingers.

A changed value’s name turns brighter, and an arrow beside it puts the default back.

Help on every control

Point at a parameter, its name or its value: the part of the sketch it acts on lights up, and a tooltip on the name gives a line of help, the path and the default. Change the value — drag, click, type or reset it — or click the name, and a side panel opens with what it is on a real piano, in plain words, and how the model does it — the equation, where the default value comes from, the document that measured it.

MIDI learn

A parameter can follow a controller of your keyboard. Click the MIDI cell at the end of a parameter’s row, move a knob or fader over part of its travel, and it is mapped over the parameter’s whole range (click again to learn another, right-click to remove; Esc cancels). Live parameters are then driven sample-accurately on the audio thread, even with the window closed; rebuild parameters rebuild once the controller pauses. The MIDI page lists the mappings and sets the value at CC 0 and at CC 127 of each. The map belongs to your controllers, not to the instrument: the standalone application saves it apart from presets (midi.toml in the configuration folder), the plugin with the project. In the plugin, the live parameters are left to the host’s own controller mapping and automation. See MIDI & automation.

Audio and MIDI (standalone)

The standalone application has one more page, Audio and MIDI, for what the plugin leaves to its host: where the sound goes, which keyboard it listens to, how hard it works the CPU. Every choice applies at once and is saved to play.toml in the configuration folder (see personal defaults); options given on the command line still win at the next start.

Audio and MIDI

Setting What it does
Audio backend Automatic, or one of those the system has: the PipeWire graph node (Linux: audio and MIDI ports), PipeWire, JACK, ALSA, WASAPI, ASIO, Core Audio
Output the system default, or a device (with the graph node: the playback ports to connect to)
Channels the stereo pair on an interface with more than two outputs (not with the graph node)
Buffer 64 to 2048 frames, 256 by default; with the graph node it is the period it asks the graph for, applied at the next start
MIDI input the first keyboard, or a given port
MIDI channel every channel, or one of 1–16
Invert the sustain pedal for a keyboard whose pedal sounds held when it is up
MIDI mirror graph node only: another MIDI input that receives every note the piano plays

The channel and the pedal setting apply to the keyboard, not to MIDI files. Refresh the lists reads the devices and ports again after you plug one in. Changing the backend or a sound card’s device restarts the audio and rebuilds the instrument at the new sample rate (about a tenth of a second); if the new choice fails, the page says why and goes back to the previous set-up. With the graph node, a new output, input or mirror only reconnects its ports.

Performance

  • Voice threads — the voices and the soundboard can be computed on other cores. The sound stays the same bit for bit; two threads take about a third off the load and its spikes, four about 60 %. The extra threads spin briefly after each block, so each one occupies a core while you play. (The plugin stays on one thread: the host already spreads its tracks over the cores.)
  • CPU quality — Full, the default, is the whole model with shortcuts judged inaudible (silent partials and resting parts are skipped). Balanced keeps sympathetic resonance below 2 kHz, phantom partials up to C3 and 96 voices, about a third less work in dense music. Light leaves out sympathetic resonance, phantom partials, the frame and the rim, and computes one polarisation per string: about a third of the cost of Full, for laptops and ARM machines. Overkill takes no shortcut at all, even inaudible ones, and computes at the output’s rate: the reference the others are measured against, about three times the cost of Full. Balanced and Light override those parameters while they are on; your presets keep their own values. Balanced and Light have not been compared by ear yet.
  • Sample rate — an output above 48 kHz (88.2 to 384 kHz, common in Windows shared mode) gets the piano computed at 44.1 or 48 kHz and upsampled: half the load or less, the same sound up to 20 kHz, about 0.4 ms more delay. Tick Compute at the output’s rate above 48 kHz (--full-rate) to compute it at the output’s rate instead: twice the load at 96 kHz, nothing more to hear. The plugin always computes at the host’s rate.

Changing any of them rebuilds the engine (about a tenth of a second).

Application

  • Theme — as the system, dark or light.
  • Start with the last sound — on by default: the player opens with the instrument and listening set-up it had when it was closed (kept in last.toml, saved once the sound has stayed unchanged for two seconds). A listening or touch preset given at start is laid over it; an instrument preset replaces it.
  • Serve the instrument to AI assistants (MCP) — starts a Model Context Protocol server on http://127.0.0.1:7426/mcp: an assistant such as Claude can list, read and change the parameters, load presets and read the status while you play, through the same controller as the interface. It listens on this computer only and has no authentication, so any program on the machine can reach it while it runs. Unticking it stops the server at the next start. Details in the README.