40 mConcertPitchParam(description.getDoubleParameter(
"concertPitch"))
The AlgorithmFactory class is a template class to be created with the actual Algorithm.
#define CHECK_CANCEL_THREAD
void msleep(double milliseconds)
Sleep function for staying idle.
virtual void algorithmWorkerFunction() overridefinal
double getEqualTempFrequency(int keynumber, double cents=0, double A4=0) const
Function returning the equal temperament.
static const AlgorithmFactory mSingleton
void showCalculationProgress(double fraction)
Transmit the current percentage of progress to the messaging system.
void updateTuningCurve(int keynumber, double frequency)
The Algorithm class is a basic abstract class for any algorithm.
ExampleAlgorithm(const Piano &piano, const AlgorithmFactoryDescription &description)
Piano mPiano
Copy of the piano.
const double mConcertPitchParam
const int mNumberOfKeys
The number of keys.