# Synthesizing piano

The sound of the piano is something very complex. There are various elements to consider such as action, hammer, soundboard, sympathetic resonance, tuning age and even room reverb.
Some companies (such as Yamaha, Roland, Viscount and Modartt) have succeeded in realizing a realistic piano tone using physical modeling synthesis.

How did they achieve that amazing result? Where can I explore or even just get started with physical modeling? Searching online, I could only find incomplete scientific papers. Thanks in advance.

• Unless you're able to dig up any relevant patents, you're probably out of luck. All semi-convincing piano models are proprietary. Maybe just do your own research and start from scratch with a simple model that you then make more realistic step by step? A simple model would be one that just simulates the two strings per hammer, maybe using commutative excitation synthesis. Then add stiffness to the strings and coupling to the soundboard. And then try to understand what's still missing and model that. Commented Nov 30, 2022 at 19:36
• It's not physical modeling, but if memory is cheap, you can sample all 88 notes of a piano with various key velocities, from $pp$ to $fff$. You can even have multiple samples of the same note, same key velocity, and randomize which one is selected to playback. Of course the PCM sample playback has to be truncated gracefully when the key is released (MIDI Note-Off). These guys have an extensive library of sampled piano notes for PCM sample playback. I have used them in my research to extract wavetables out of. Commented Nov 30, 2022 at 22:11
• @robertbristow-johnson unfortunately, the ringing of not struck but open strings is important for realistic piano sound. Commented Dec 1, 2022 at 9:26
• @robertbristow-johnson Unfortunately, sampling 22 keys with 5 or 6 velocity layers only one time may take up even 10 GB, imagine sampling 88 keys with tens of velocity layers and more than one time... It would take up Terabytes of memory for just one instrument. And you can't custom parameters like string lenght, soundboard impendance, string types, hammer hardness... it would be impossible to achieve effects such as sympathetic resonance or damper pedal harmonics and you can't get extended keyboard (for instance, instead of A0 to C8, C-1 to G9 like MIDI). Physical modeling can do all of this. Commented Dec 1, 2022 at 17:36