diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-07-16 18:57:50 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-07-17 12:10:05 +0200 |
commit | 55e8a6a963abce921343fdbb7d01fee7cfd1741f (patch) | |
tree | 5425fe51527927b5430c55ee19064b89c12f6819 /src/instrument.cc | |
parent | 6c9b69b0471fe72c8793d671f267ead3634ef3ac (diff) |
Add support for non-percussive instruments, responding to note-off events.
Diffstat (limited to 'src/instrument.cc')
-rw-r--r-- | src/instrument.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/instrument.cc b/src/instrument.cc index b7bcdd9..59537ea 100644 --- a/src/instrument.cc +++ b/src/instrument.cc @@ -115,6 +115,11 @@ const std::string& Instrument::getGroup() const return _group; } +bool Instrument::getPercussive() const +{ + return _percussive; +} + void Instrument::setGroup(const std::string& g) { _group = g; |