27 #include "../piano/piano.h"
66 std::vector<std::vector<float>>
R;
void init(const Piano *piano)
Initialize.
PianoType
Enumeration of piano types.
int mNumberOfKeys
Total number of keys.
double mConcertPitch
Concert pitch (A4)
OverpullEstimator()
Constructor, resetting the member variables.
piano::PianoType mPianoType
Piano type (upright/grand)
double getOverpull(int keynumber, const Piano *piano)
Compute the required overpull on the basis of the interaction matrix.
Class for estimating the overpull needed in a pitch raise.
void computeInteractionMatrix(double averagePull=0.22)
Compute the interaction matrix between the string.
std::vector< std::vector< float > > R
Response matrix.
int mNumberOfBassKeys
Keys on the bass bridge.