From 9add568b62e398cc5cc7ae00797a055480cd17c1 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Thu, 4 Dec 2008 00:45:58 +0100 Subject: [PATCH] MusicXML: Use numericTimeSignature instead of TimeSignature style='() --- python/musicexp.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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): -- 2.39.5