]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Convert fretboards from MusicXML to Lilypond
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Oct 2007 14:38:08 +0000 (16:38 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Oct 2007 14:38:08 +0000 (16:38 +0200)
commitc84481ad23d3c527489d491bc589ca99de504c1c
tree3e5546519374ff44e919dacf5993bab04b43cf53
parent58c74821c78d1ab4550807bb00d3687314acfaba
MusicXML: Convert fretboards from MusicXML to Lilypond

In MusicXML, fretboards are inside <harmony> elements, assigned
to a particular staff, while in lilypond the \fret-diagram is a
text markup assigned to a particular note. So we run into the same
problems as we do with dynamics (i.e. we need to find a proper
note to assign the element to, which is not very robust). For
single-voice harmony, this works quite well so far.
input/regression/musicxml/17b-Fretboards-Finale.xml [new file with mode: 0644]
input/regression/musicxml/17c-ChordsFrets-Finale.xml [new file with mode: 0644]
python/musicexp.py
python/musicxml.py
scripts/musicxml2ly.py