← Instruments

A piano that is played, not replayed.

MathStruct Piano does not play back recordings. It computes the sound of hammers, strings and dampers while you play, from measurements of a real concert grand. Touch it softly or hard, hold the pedal, let notes ring into each other: it answers like an instrument, because it is modelled on one.

  • Free & open source
  • Windows · macOS · Linux
  • In development
hold to sustain · release to damp
One key, one hammer, two strings — simulated live in your browser. Press and hold to play; let go and the damper stops the string.
Listen

Hear it for yourself.

These pieces are played by the plugin from the score, with no recording of a piano in them. They are renders of the piano as it is today — strings and dampers, but not yet the soundboard or the room — and they are refreshed every time the sound improves.

  • Rendered by the plugin · 1:34

    Satie — Gymnopédie No. 1

    Slow, quiet chords: listen to how each one fades.

  • Rendered by the plugin · 1:34

    Chopin — Prelude in E minor, Op. 28 No. 4

    A soft melody over repeated left-hand chords, with the pedal.

  • Rendered by the plugin · 1:34

    Bach — Prelude in C major, BWV 846

    Even broken chords across the middle of the keyboard.

  • Rendered by the plugin · 1:19

    Joplin — Maple Leaf Rag

    Fast, loud and bright: the hammer working hard.

  • Rendered by the plugin · 0:57

    Ballad voicings

    Jazz chords with long pedal.

  • Played live

    A pianist plays it

    A recording of a real performance on a keyboard, through the plugin.

    Coming soon
  • Comparison

    Side by side with the recorded piano

    The same notes: the original recording, then the model.

    Coming soon
See it

One window, every key in view.

The piano's window shows what the instrument is doing: which keys you hold, which notes are still sounding, which strings are free to ring under the pedal, and how loud it is. A redesign with a Play view and a note-by-note Edit view is under way.

The editor today: Tuning, string sustain and output level; the meters; the 88 keys, which light up as they sound and show which strings are free to ring.
The editor today. Tuning, string sustain and output level; the meters; the 88 keys, which light up as they sound and show which strings are free to ring.
Play view. The redesigned editor: the controls you need while playing, the pedals and the keyboard.
Edit view. Choose a note, then one of its strings, and shape its tuning and decay.
What it does

Everything a piano does, one part at a time.

A piano turns the speed of your finger into ringing strings and wood. We build it the same way, part by part. Now marks what is in the piano today; Coming is on the way. The roadmap has the order.

  • Strings Now

    Measured from a real grand

    Every note's overtones, their pitch and how long each one rings were measured from recordings of a concert grand, key by key, so the piano keeps the character of that instrument.

  • Touch Now

    Soft is soft, hard is hard

    How fast you press a key sets how hard the felt hammer meets the strings. The contact lasts a few thousandths of a second, as on a real piano, so notes start without a click.

  • Dampers Now

    Notes stop like a piano's

    Let go of a key and its damper falls onto the strings and stops them within a second or two; the top notes have no damper and ring on, as on the recorded piano.

  • Sustain pedal Now

    Hold the pedal, the notes ring

    With your keyboard's sustain pedal down the dampers stay up and released notes keep sounding, exactly where the pedal says.

  • Brighter when loud Coming

    Harder felt, brighter tone

    Piano felt gets stiffer the harder it is struck, so loud notes are brighter as well as louder. Fitted to all sixteen touch levels of the recorded piano.

  • Unisons Coming

    Two or three strings per note

    Most piano notes have two or three strings tuned a hair apart. Their slow beating gives the long notes their living shimmer.

  • Resonance Coming

    Strings that answer

    With the pedal down, the strings you are not playing start to ring along — the halo around pedalled chords. Soft and sostenuto pedals come with it.

  • Body & room Coming

    Soundboard, lid and microphones

    The wooden soundboard that gives the piano its body, the lid, and where the microphones stand — chosen by you.

What you can adjust

Few knobs, each one real.

Every control changes the physics, not an effect on top of it. Your settings are saved with your project; your music program's own controls for the plugin show them too.

ControlWhat it does
Tuning The pitch of A above middle C, 440 Hz unless you change it — match other instruments or a recording. Now
String sustain How long notes ring, from shorter to longer than the real piano. (Different from the sustain pedal.) Now
Output level The volume going into your music program, with meters that warn you before the sound distorts. Now
Presets Save your settings and load them again, in any project. Coming
Touch and tone Hammer hardness, how bright the piano sounds, how much the strings resonate. Coming
Note by note Pick a note, then one of its strings, and adjust its tuning and how long it rings — like a piano technician. Coming
Get the piano

For Windows, macOS and Linux.

One download per system, with the plugin formats that system's music programs use. Installing is copying one file into the right folder.

Not available yet. The piano plays and is being tuned; the first download comes when it has been checked in real music programs on all three systems. Watch the releases page to hear when it is out.

  • Windows

    Windows 10 or 11, 64-bit

    CLAP · VST3

    Coming soon
    How to install
    1. Download and unzip the file.
    2. Copy the plugin into C:\Program Files\Common Files\CLAP (or \VST3).
    3. Restart your music program and look for “MathStruct Piano”.
  • macOS

    macOS 12 or later, Apple silicon or Intel

    CLAP · VST3 · AU

    Coming soon
    How to install
    1. Download and open the file.
    2. Drag the plugin into the Plug-Ins folder shown in the window.
    3. Restart your music program and look for “MathStruct Piano”.
  • Linux

    64-bit x86, a recent distribution

    CLAP · VST3

    Coming soon
    How to install
    1. Download and unpack the file.
    2. Copy the plugin into ~/.clap (or ~/.vst3).
    3. Restart your music program and look for “MathStruct Piano”.

Works as a plugin inside a music program such as Bitwig Studio, Reaper, Ardour, FL Studio, Studio One or Logic Pro (AU). A standalone app that needs no music program is planned.

Questions

Before you play.

What do I need to play it?

A computer, a music program that loads plugins (most do: Bitwig, Reaper, Ardour, FL Studio, Studio One, Logic …), and ideally a MIDI keyboard with a sustain pedal. A standalone app that needs no music program is planned.

What is a plugin, and what do CLAP, VST3 and AU mean?

A plugin is an instrument that runs inside your music program. CLAP, VST3 and AU are the three common plugin formats; the download contains the ones your system uses, and your music program picks the one it understands.

Is it a sample library?

No. A sample library plays back recordings of each note. This piano computes its sound while you play, from a physical description of strings, hammer and dampers. It is small to download, every note can be shaped, and notes interact the way they do on a real piano.

Will my computer be fast enough?

It is built to run on one core of an ordinary current computer, with all 88 keys sounding at once. Quality settings for slower machines, down to a Raspberry Pi, are planned.

What does it cost?

Nothing. It is free and open source (MIT licence). The piano model is fitted from the Salamander Grand Piano recordings by Alexander Holm (CC BY 3.0), credited inside the plugin.

Where can I report a problem or ask a question?

On the project's GitHub page, under Issues.

Documentation

Curious how it works? It is all written down.

The documentation explains the piano from the ground up — fourteen pages from a single vibrating string to the hammer, the pedals and the room — together with the specification, the design decisions and the roadmap. No engineering needed to play it; all of it there if you want to know.