summaryrefslogtreecommitdiffhomepage
path: root/UI.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-11 11:43:58 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-11 11:43:58 +0100
commit171aa5502cfcac1abc5315c8792521790195e4a9 (patch)
tree4c8e944938501ba2ef3d0a7e0d5980d07b588221 /UI.h
parent3c7b85d8355c64dec5b4ce011753196d53774103 (diff)
Add notes and temperature monitor
Diffstat (limited to 'UI.h')
-rw-r--r--UI.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/UI.h b/UI.h
index b1dd7dd..02b0822 100644
--- a/UI.h
+++ b/UI.h
@@ -9,6 +9,7 @@
#include <boost/signals2.hpp>
#include "Touchpad.h"
+#include "Temperature.h"
using clock_type = std::chrono::high_resolution_clock;
@@ -46,6 +47,7 @@ public:
// slots
void count_main_loops();
void count_midi_events();
+ void count_midi_notes();
void slot_active_sensing();
void slot_midi_note(int channel, int note, uint64_t timestamp);
void slot_note_bpm(int bpm);
@@ -56,6 +58,7 @@ private:
IntervalCounter m_main_loops;
IntervalCounter m_midi_events;
+ IntervalCounter m_midi_notes;
std::chrono::time_point<clock_type> m_active_sensing_timestamp;
@@ -66,5 +69,6 @@ private:
int m_clock_bpm;
Touchpad m_touchpad;
+ Temperature m_temperature;
};