diff --git a/src/sfizz/import/foreign_instruments/DecentSampler.cpp b/src/sfizz/import/foreign_instruments/DecentSampler.cpp index a5785eb1..e20f3ab7 100644 --- a/src/sfizz/import/foreign_instruments/DecentSampler.cpp +++ b/src/sfizz/import/foreign_instruments/DecentSampler.cpp @@ -58,6 +58,11 @@ std::string DecentSamplerInstrumentImporter::convertToSfz(const fs::path& path) return {}; } + pugi::xml_node uiNode(rootNode.child("ui")); + const char* image = uiNode.attribute("bgImage").as_string(); + if (image[0] != '\0') + os << " image=" << image << '\n'; + pugi::xml_node globalNode(rootNode.child("groups")); os << "\n"; emitRegionalOpcodes(os, globalNode);