From: Reinhold Kainhofer Date: Wed, 3 Dec 2008 23:45:58 +0000 (+0100) Subject: MusicXML: Use numericTimeSignature instead of TimeSignature style='() X-Git-Tag: release/2.12.0-1~13^2~32^2~23^2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9add568b62e398cc5cc7ae00797a055480cd17c1;p=lilypond.git MusicXML: Use numericTimeSignature instead of TimeSignature style='() --- diff --git a/python/musicexp.py b/python/musicexp.py index d53815b03c..cab3c8d67f 100644 --- a/python/musicexp.py +++ b/python/musicexp.py @@ -1485,8 +1485,12 @@ class TimeSignatureChange (Music): # signatures anyway despite the default 'C signature style! is_common_signature = self.fractions in ([2,2], [4,4], [4,2]) if self.style: - if (self.style != "'()") or is_common_signature: + if self.style == "common": + st = "\\defaultTimeSignature" + elif (self.style != "'()"): st = "\\once \\override Staff.TimeSignature #'style = #%s " % self.style + if (self.style != "'()") or is_common_signature: + st = "\\numericTimeSignature" # Easy case: self.fractions = [n,d] => normal \time n/d call: if len (self.fractions) == 2 and isinstance (self.fractions[0], int):