From 171aa5502cfcac1abc5315c8792521790195e4a9 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 11 Jan 2025 11:43:58 +0100 Subject: Add notes and temperature monitor --- UI.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'UI.h') diff --git a/UI.h b/UI.h index b1dd7dd..02b0822 100644 --- a/UI.h +++ b/UI.h @@ -9,6 +9,7 @@ #include #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 m_active_sensing_timestamp; @@ -66,5 +69,6 @@ private: int m_clock_bpm; Touchpad m_touchpad; + Temperature m_temperature; }; -- cgit v1.2.3