musescore/MuseScore — pull request #978 by MarcSabatella (2014-06-16 19:39:02+00:00)
Title: fix #26381: playback of NoteEvents for tied notes

Fixes both problems mentioned in http://musescore.org/en/node/26381:

1) for ornaments on first note of tie, extend only the last NoteEvent
2) play ornaments on subsequent notes of tie

This code also accounts for NoteEvent length adjustments on tied-into notes, which will come in handy when swing playback is implemented.