#pragma once #include #include "config.h" #include "BPMDetect.h" // Generated from MIDI notes // Configured via channel and note to listen to class NoteClick { public: NoteClick(Config& config); // signals boost::signals2::signal signal_click; boost::signals2::signal signal_bpm; // slots void receive_note(int channel, int note, uint64_t timestamp); private: Config& m_config; BPMDetect m_detect; };