From 55e8a6a963abce921343fdbb7d01fee7cfd1741f Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 16 Jul 2023 18:57:50 +0200 Subject: Add support for non-percussive instruments, responding to note-off events. --- src/instrument.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/instrument.h') diff --git a/src/instrument.h b/src/instrument.h index c06ccdc..2520ce5 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -55,6 +55,7 @@ public: const std::string& getName() const; const std::string& getDescription() const; const std::string& getGroup() const; + bool getPercussive() const; void setGroup(const std::string& group); @@ -85,6 +86,7 @@ private: std::string _group; std::string _name; std::string _description; + bool _percussive{true}; VersionStr version; -- cgit v1.2.3