]> git.donarmstrong.com Git - lilypond.git/commit
Finally fix ties in MIDI
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sat, 12 Dec 2009 16:02:12 +0000 (17:02 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 22 Dec 2009 15:44:55 +0000 (16:44 +0100)
commit39f277e901d5da3dbe3b1516bc1358dad5c447ab
treecd416f863a5114e09ea0a1d74fa074b1dd78e8a1
parent1b1a4563926c6b08890273825f32960f7d90ddea
Finally fix ties in MIDI

Fix the memory corruption issues I had by renaming the data structure
(shadowing was causing the corruption!).

Also fix the Issue found by Hu Haipeng that a note ending in one
voice would terminate all ongoing ties in all other notes, since so
far the code never checked whether the starting note of the tie was
still going on.

Also, use the correct moment comparison (remove if the end moment is
lower **or equal** to the moment that has just been processed).
lily/tie-performer.cc