]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Correctly convert nested staff/part groups
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 28 Oct 2007 20:44:03 +0000 (21:44 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 28 Oct 2007 20:44:03 +0000 (21:44 +0100)
commit37a2149cc30fdf7c1661c18376c55ee7eaf14167
tree77f3ba3042bdd8bf9a65fb150075a98bae6abfaa
parenta6b06bf30f640efa35c5ac51bbb5b6cfc09de668
MusicXML: Correctly convert nested staff/part groups

In MusicXML, part group nesting is done simply by inserting
start/stop markers in the list of parts, where the part groups
might even overlap. In Lilypond, we want the real hierarchy (so
that we can assign group names etc.). To achieve this, we need
to loop through all parts, trying to detect the correct start/stop
markers. What makes things even more complicated is the fact
that the group IDs don't have to the unique in the whole score,
just unique enough to describe overlapping part groups. The other
issue are overlapping part groups, which we need to split up into
a part, which fits into the hierarchy and the remaining part, which
we simply ignore.
input/regression/musicxml/08g-OverlappingPartGroups-Finale.xml [new file with mode: 0644]
input/regression/musicxml/14c-StaffChange-Finale.xml
python/musicexp.py
scripts/musicxml2ly.py