Skip to content

Instantly share code, notes, and snippets.

@jpcima
Created April 14, 2020 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpcima/2481d1efdb7489d64ef9757453642b3d to your computer and use it in GitHub Desktop.
Save jpcima/2481d1efdb7489d64ef9757453642b3d to your computer and use it in GitHub Desktop.
diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp
index 0870905f..6135ae9a 100644
--- a/src/sfizz/Synth.cpp
+++ b/src/sfizz/Synth.cpp
@@ -901,6 +901,9 @@ std::string sfz::Synth::exportMidnam(absl::string_view model) const
///
string_writer writer;
doc.save(writer);
+fprintf(stderr, "===== MIDNAM export\n");
+fprintf(stderr, "%s\n", writer.result.c_str());
+fprintf(stderr, "===== MIDNAM export END\n");
return std::move(writer.result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment