]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: No crash on note without <duration>, escape lyrics with parentheses
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 7 Sep 2007 14:55:44 +0000 (16:55 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 7 Sep 2007 14:55:44 +0000 (16:55 +0200)
commit3e027eeb9e1052974372b390e08c0ce2e992bbbd
treee0671809a14e565e8fc199b5a21bd6c074a635ea
parent9c38bae54ca897e769174786659886382a405786
MusicXML: No crash on note without <duration>, escape lyrics with parentheses

If lyrics syllables contain parentheses ( or ), we also need to wrap that
syllables in quotes.

It seems that some scanning applications write out some notes without a
<duration> child element. Work around this case and use a default value
instead of crashing. The user has to adjust the .ly file anyway.
python/musicxml.py
scripts/musicxml2ly.py