]> git.donarmstrong.com Git - lilypond.git/commit - python/musicexp.py
MusicXML: Implement the symbol attribute of time signatures
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 30 Nov 2008 16:46:04 +0000 (17:46 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 30 Nov 2008 20:25:20 +0000 (21:25 +0100)
commit16a8f58411d86538db19153ee6f365e9f469df78
treecacb789f73696f408bd35b3aee14dfa64c9c0762
parentcfd222c4b788b8d9ef1ed9b7a2eb036a6ad4aeac
MusicXML: Implement the symbol attribute of time signatures

-) Fix time keeping (i.e. use the cached value for the current time sig
   and thus the current measure length!): revert to
   self.get_named_attribute ('time')
-) Implement single-digit time signatures
-) Implement C vs. numeric time signatures; Change the signature style
   to '() only if a C or C/ would be printed (i.e. 2/2 or 4/4).
   By default, MusicXML uses numeric signatures (style '()), while
   LilyPond's default is 'C, so we have to add some manual overrides
   in those cases of 2/2 or 4/4 where no symbol is given in the
   MusicXML file
input/regression/musicxml/11f-TimeSignatures-SymbolMeaning.xml [new file with mode: 0644]
python/musicexp.py
python/musicxml.py
scripts/musicxml2ly.py