summaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2025-01-03 23:43:56 +0100
committerRoland Reichwein <mail@reichwein.it>2025-01-03 23:43:56 +0100
commit0399f008b22482c46d37fa15e6be205b85681011 (patch)
tree003060dce02839a145cf2e798d1a14e352faf212 /main.cpp
parent22cdfccb11679d6ae241653c9cb92c32f4fc1fde (diff)
Buffer position compensation for PCM, added active sensing detection
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index a58f7cd..7d423f6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -58,9 +58,12 @@ int main(void)
// Main signals
boost::signals2::signal<void()> signal_count_loops;
+ //
// Signal-Slot Connections:
+ //
midi.signal_note.connect([&](int channel, int note){note_click->receive_note(channel, note);});
note_click->signal_click.connect([&](){pcm.click();});
+ midi.signal_active_sensing.connect([&](){ui.slot_active_sensing();});
timer_500ms.elapsed.connect([&](){ui.draw();});
signal_count_loops.connect([&](){ui.count_main_loops();});