]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Convert all clefs, escape " in header fields, code simplification
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 2 Sep 2007 23:03:53 +0000 (01:03 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 6 Sep 2007 14:15:13 +0000 (16:15 +0200)
commit9d7e6b1904172ef4ea73cfb13ae0d3e369209b59
tree542033f2c82e653fb262bf8f72a15b588fe0ec7d
parent9de7bf74f5a467e0c92650d4a7746acc9f41e117
MusicXML: Convert all clefs, escape " in header fields, code simplification

-) Extend the ClefChange class to convert all different clefs (G,C,F,
   percussion,tab) to the corresponding lilypond clef names. MusicXML
   also allows a "None" key, which lilypond does not :-(
-) In the header fields and the lyrics, escape all quotes by \". Only
   wrap the whole string in quotes if it is necessary (string contains
   numbers, spaces, quotes, or starts with a period or comma). This makes
   it much easier to edit the lyrics later on.
-) Several coding style issued pointed out by Han-Wen

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
python/musicexp.py
python/musicxml.py
scripts/musicxml2ly.py