From 39ec820c931b07bc0cec98add36f106a5965e137 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 4 Jan 2025 13:48:34 +0100 Subject: BPM detect --- config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 5d2a1d0..e52e9f5 100644 --- a/config.h +++ b/config.h @@ -14,6 +14,7 @@ const int default_bpm = 120; const int pcm_latency_us = 100000; const int click_latency_frames = 10000; const int default_mode = 0; // 0 = note, 1 = clock, 2 = internal +const int default_output = 1; // 0 = off, 1 = on class Config { @@ -26,6 +27,7 @@ public: boost::signals2::signal signal_channel; boost::signals2::signal signal_note; boost::signals2::signal signal_bpm; + boost::signals2::signal signal_output; int get_midi_channel(); void set_midi_channel(int channel); @@ -39,6 +41,9 @@ public: int get_mode(); void set_mode(int mode); + int get_output(); + void set_output(int output); + void recover(); void persist(); @@ -47,4 +52,5 @@ private: int m_midi_note; int m_bpm; int m_mode; + int m_output; }; -- cgit v1.2.3