]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Fix regression when adding expressions like octave shifts
authorReinhold Kainhofer <reinhold@kainhofer.com>
Fri, 14 Sep 2007 16:58:35 +0000 (18:58 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Wed, 3 Oct 2007 16:39:06 +0000 (18:39 +0200)
commit96bbfd1af93dc31101d0b3eb0399387f43544a3b
tree0efc4bc21b0eb4bbf667f4a49ed9bc1511175070
parent94882ec3a3565a8198bf8028855f99cb907befdd
MusicXML: Fix regression when adding expressions like octave shifts

Octave shifts in lilypond (like in MusicXML) are not associated with a
particular note but their position in the measure. So far, I simply
inserted them like a note, but unfortunately that reset the current
starting position in the measure (needed to find the correct position
for chords). So I added a method dedicated to inserting such commands
without resetting the position (of course, pending multi-bar rests
still need to be inserted before the music command).

Signed-off-by: Reinhold Kainhofer <reinhold@kainhofer.com>
scripts/musicxml2ly.py