]> git.donarmstrong.com Git - lilypond.git/commit
MusicXMl: Fix fretboard assignment to voices.
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Oct 2007 15:00:18 +0000 (17:00 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 26 Oct 2007 15:00:18 +0000 (17:00 +0200)
commitc76eb56deebde56cb0add2c4f05e8f1261283d5c
tree6740f347badc6438d228170d91055c39af5439aa
parentcdbacc2ea24b8b6e658afd11c0c6af025fb5999f
MusicXMl: Fix fretboard assignment to voices.

Instead of assigning <harmony> elements to every voice or only the very
first voice (in the frist case, we'll have duplicated frets, in the
second one the fretboards will often be inserted at the completely
wrong position), simply insert the fretboard into the next note that
we encounter in the MusicXML file.

I suppose we could also do something similar for text markup (i.e.
<direction><words>...</word></direction>), but there we need to
distinguish direction elements with words-only subelements and with
dynamics subelements.
python/musicxml.py