From f8c4935e8a54d0cc831402ace3643765f1f17fe3 Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Thu, 30 Aug 2007 11:16:02 +0200 Subject: [PATCH] The output of some OMR applications contains spaces in lyrics, or a lyrics syllable starts with a comma or a peroid. Thus we need to wrap all lyrics in quotes just to be sure lilypond doesn't barf. --- python/musicxml.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/musicxml.py b/python/musicxml.py index 0d4813d..0430661 100644 --- a/python/musicxml.py +++ b/python/musicxml.py @@ -336,11 +336,11 @@ class Lyric (Music_xml_node): elif text == "_" and continued: return "__" elif continued and text: - return text + " --" + return "\"" + text + "\" --" elif continued: return "--" elif text: - return text + return "\"" + text + "\"" else: return "" -- 1.5.2.3