Merge pull request #770 from redtide/ds-image
Support DecentSampler ui bgImage
This commit is contained in:
commit
d4cc44c9b1
1 changed files with 5 additions and 0 deletions
|
|
@ -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 << "<control> image=" << image << '\n';
|
||||
|
||||
pugi::xml_node globalNode(rootNode.child("groups"));
|
||||
os << "<global>\n";
|
||||
emitRegionalOpcodes(os, globalNode);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue