summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-07-16 18:57:50 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-07-17 12:10:05 +0200
commit55e8a6a963abce921343fdbb7d01fee7cfd1741f (patch)
tree5425fe51527927b5430c55ee19064b89c12f6819 /src/instrument.h
parent6c9b69b0471fe72c8793d671f267ead3634ef3ac (diff)
Add support for non-percussive instruments, responding to note-off events.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h2
1 files changed, 2 insertions, 0 deletions
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;