From: Reinhold Kainhofer Date: Sat, 9 Feb 2008 12:45:21 +0000 (+0100) Subject: MusicXML: Oops, forgot to remove debug output X-Git-Tag: release/2.11.40-1~3^2~20^2^2~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c2dafbe5ed00a5ee95c461a4264e88f041dc5bdf;p=lilypond.git MusicXML: Oops, forgot to remove debug output --- diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index b7460dced4..d826574784 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -1042,6 +1042,8 @@ def musicxml_accordion_to_markup (mxl_event): """ middle = mxl_event.get_maybe_exist_named_child ('accordion-middle') if middle: + # By default, use one dot (when no or invalid content is given). The + # MusicXML spec is quiet about this case... txt = 1 try: txt = string.atoi (middle.get_text ()) @@ -1077,8 +1079,8 @@ def musicxml_accordion_to_markup (mxl_event): command += "\musicglyph #\"accordion.accDiscant\"" command = "\\markup { \\normalsize %s }" % command + # Define the newly built command \accReg[H][MMM][L] additional_definitions[commandname] = "%s = %s" % (commandname, command) - print additional_definitions needed_additional_definitions.append (commandname) return "\\%s" % commandname