diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-11 11:43:58 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-11 11:43:58 +0100 |
commit | 171aa5502cfcac1abc5315c8792521790195e4a9 (patch) | |
tree | 4c8e944938501ba2ef3d0a7e0d5980d07b588221 /UI.h | |
parent | 3c7b85d8355c64dec5b4ce011753196d53774103 (diff) |
Add notes and temperature monitor
Diffstat (limited to 'UI.h')
-rw-r--r-- | UI.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; }; |