Entropy Piano Tuner  1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
KeyIndexScaleEngine Class Reference

#include <keyindexscaleengine.h>

+ Inheritance diagram for KeyIndexScaleEngine:
+ Collaboration diagram for KeyIndexScaleEngine:

Public Member Functions

 KeyIndexScaleEngine (int maxKeys, int keyOffset)
virtual void autoScale (int maxNumSteps, double &x1, double &x2, double &stepSize) const overridefinal
virtual QwtScaleDiv divideScale (double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize=0.0) const overridefinal

Private Attributes

const int mMaxKeys
const int mKeyOffset

Detailed Description

Definition at line 26 of file keyindexscaleengine.h.

Constructor & Destructor Documentation

KeyIndexScaleEngine::KeyIndexScaleEngine ( int  maxKeys,
int  keyOffset 

Definition at line 22 of file keyindexscaleengine.cpp.

Member Function Documentation

void KeyIndexScaleEngine::autoScale ( int  maxNumSteps,
double &  x1,
double &  x2,
double &  stepSize 
) const

Definition at line 28 of file keyindexscaleengine.cpp.

QwtScaleDiv KeyIndexScaleEngine::divideScale ( double  x1,
double  x2,
int  maxMajorSteps,
int  maxMinorSteps,
double  stepSize = 0.0 
) const

Definition at line 35 of file keyindexscaleengine.cpp.

Member Data Documentation

const int KeyIndexScaleEngine::mKeyOffset

Definition at line 36 of file keyindexscaleengine.h.

const int KeyIndexScaleEngine::mMaxKeys

Definition at line 35 of file keyindexscaleengine.h.

The documentation for this class was generated from the following files: