]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Use \skip in lyrics instead of ""
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 2 Sep 2007 23:47:14 +0000 (01:47 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Thu, 6 Sep 2007 14:20:46 +0000 (16:20 +0200)
In lyrics, use \skip4 to indicate a note has not syllable attached. So far,
I had "", which caused lilypond to print out several warnings "cannot align
on self: empty element".
As lilypond seems to ignore the time attached to a \skip (but requires some
time indiation), I simply use 4.

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

index d77f301bdce0e9fa0a6a83055ec5ce4f3844b851..3f44e71c4fa80c8153b372a34aee5b6f6c7a7e71 100644 (file)
@@ -705,7 +705,7 @@ def musicxml_voice_to_lily_voice (voice):
                 note_lyrics_processed.append (l.number)
         for lnr in lyrics.keys ():
             if not lnr in note_lyrics_processed:
-                lyrics[lnr].append ("\"\"")
+                lyrics[lnr].append ("\skip4")
 
 
         mxl_beams = [b for b in n.get_named_children ('beam')