20 #ifndef TUNERKEYDATA_H 21 #define TUNERKEYDATA_H 52 pressed = newlyPressed = emitted =
false;
53 intensity = memory = pitch = previousPitch = 0;
54 sustainDampingFactor = 1;
55 releaseDampingFactor = 0;
62 #endif // TUNERKEYDATA_H void clear()
Function for clearing all fields in the TunerKeyData structure.
QVector< KeyData > KeyDataVector
Data of all keys of the keyboard.
Structure holding the tuner's data of a single key.
int key
Number of the key.
bool newlyPressed
Flag indicating a newly pressed key.
double releaseDampingFactor
Release damping of the key.
double memory
Psychoacoustic memory M(t)
bool emitted
Flag indicating first emitted tuning.
double sustainDampingFactor
Sustain damping of the key.
bool pressed
Flag indicating a pressed key.
KeyData()
Constructor, clearing all data.
double previousPitch
Previously emitted pitch.
double intensity
Intensity (volume) I(t)
double pitch
Actual pitch.
qint64 timeStamp
Time when the key was pressed.