]> git.donarmstrong.com Git - lilypond.git/commit
fix handling of grace notes to shorten preceding tied notes correctly
authorAdam Spiers <lilypond@adamspiers.org>
Mon, 14 Jan 2013 00:21:45 +0000 (00:21 +0000)
committerAdam Spiers <lilypond@adamspiers.org>
Sun, 27 Jan 2013 14:25:12 +0000 (14:25 +0000)
commitf0fec10de9806000860febabccb9d9e66a4abf9b
tree1fce0c23a4d42811a28762c899e6afe5abfae4d7
parentd4047469357aa91fc32ef9915995cc3a9bc31d2d
fix handling of grace notes to shorten preceding tied notes correctly

In Note_performer::process_music(), when a grace note was encountered,
the immediately preceding Audio_note (or Audio_notes if the grace note
followed a chord) was/were shortened, but it failed to check whether the
Audio_note is part of a tie.  Ensure that any note being shortened in
this way is the head of a tie, if it is part of a tie.

https://code.google.com/p/lilypond/issues/detail?id=3091
input/regression/midi-grace-after-tie.ly [new file with mode: 0644]
lily/note-performer.cc