summaryrefslogtreecommitdiff
path: root/src/dgxmlparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dgxmlparser.cc')
-rw-r--r--src/dgxmlparser.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dgxmlparser.cc b/src/dgxmlparser.cc
index 0d3cdcd..c8bfcae 100644
--- a/src/dgxmlparser.cc
+++ b/src/dgxmlparser.cc
@@ -333,6 +333,8 @@ bool parseInstrumentFile(const std::string& filename, InstrumentDOM& dom, LogFun
dom.version = "1.0";
res &= attrcpy(dom.version, instrument, "version", logger, filename, true);
res &= attrcpy(dom.description, instrument, "description", logger, filename, true);
+ dom.percussive = "true";
+ res &= attrcpy(dom.percussive, instrument, "percussive", logger, filename, true);
pugi::xml_node channels = instrument.child("channels");
for(pugi::xml_node channel : channels.children("channel"))