I recently learnt of the mathematical model behind simple forced (undamped) oscillations, and typed the equations into Desmos with some parameters here, where something subscript F means something related to the forced oscillation and something subscript N means something related to the natural oscillation.
I got some nice waveforms such as this one:
and I thought I recognised this from a little research I once did on sound synthesis, where the original wave was modulated to make patterns like this one. Is this simple model a good basis for how the piano works? A hammer hits a string, which forces an oscillation, and the string also has a natural vibration, and it produces a complex sound. Is a perfectly tuned piano a masterful piece of craftmanship where each string and hammer is of a specific size/weight/tension/whatever such that each note's forced oscillation is a semitone in pitch below the next? i.e. would plugging something like this into a computer model produce authentic sound, if the parameters were appropriately tweaked (to include also damping of course)?
Thanks.