]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Fix small issues detected with Recordare sample MusicXML files
authorReinhold Kainhofer <reinhold@kainhofer.com>
Mon, 17 Sep 2007 14:32:21 +0000 (16:32 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 3 Oct 2007 16:39:36 +0000 (18:39 +0200)
commita183ac5b6a45731e06d46581227f1d9b832eace4
tree552ab326fa3234f3cd662858231e9b5a58889101
parent2202b5cffadbc16e5842726451792f61c1966ede
MusicXML: Fix small issues detected with Recordare sample MusicXML files

-) Open the .ly output files using utf-8 encoding so that special characters
   like Umlaute, ©, » «, etc. can also be written out. Otherwise, python
 will simply exit the script.
-) Fix line break issues with sys.stderr.write (line break explicitly needed
   in contrast to print)
-) Fix extraction of creator from the XML. In particular, don't look only at
   the very first creator tag, but loop through all of them. Now, a score
 can have a composer, a lyricist, etc.
-) Extract lyrics syllables only for notes, but not for rests. In lilypond
   a rest can have lyrics attached, in lilypond, the lyrics are assigned to
 notes only. All lyrics assigned to rests in MusicXML will be lost!

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