27 #include <QMidiMessage> 30 #include <QElapsedTimer> 32 #include <QTextStream> 59 void addLine (quint64 milliseconds,
const QString &line);
void registerKeypress(int key, bool pressed)
Public slot: Register pressed or released key.
void flushKeypress()
Terminate collection of multiple keypresses/releases and send them to the logfile.
void signalNewLogMessage(QVariant str)
void receiveTuningCorrections(const QMap< int, double > &corrections)
Public slot: Receive tuning corrections.
Create a data log of keypress and tuning events.
void activateLogFile(bool on)
Switch logging on and off.
void receiveMidiEvent(QMidiMessage event)
Public slot: Receive MIDI event.
qint64 mTimeOfLastKeypress
Base class for managing log messages.
QString noteName(int key)
Note Name of a key.
void addLine(quint64 milliseconds, const QString &line)
Add a line to the logfile output.
LogFile()
Constructor of the LogFile, resets member variables.