linux + piano keyboard support

This commit is contained in:
2026-06-24 20:52:16 -05:00
parent 5bd347de83
commit 6913736476
5 changed files with 14 additions and 4 deletions

View File

@@ -50,7 +50,7 @@ private:
float mu_ = crossSectionalArea_ * rho_; // linear mass density
float waveVelocity_ = std::sqrt(stringTension_ / mu_); // transverse wave velocity
float L_ = 1.0f; // length of string at a given frequency
float gain_ = 0.3f;
float gain_ = 0.5f;
// f0_ = waveVelocity_ / (2.0f * stringLength_); // fundamental frequency of a non-stiff string
// f1_ = f0_ * std::sqrt(1.0f + stiffness_); // fundamental frequency of the stiff string