From 2c164125496c718dec7185a1933912880d8c5308 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Mon, 3 Sep 2007 01:47:14 +0200 Subject: [PATCH] MusicXML: Use \skip in lyrics instead of "" 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 --- scripts/musicxml2ly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index d77f301bdc..3f44e71c4f 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -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') -- 2.39.5