Skip to content

Cursor stops early when final note is tied #129

Description

@MohamedLashuel

When the final note of a piece is tied into by a previous note, the cursor will not move into it and stop at the earlier note. An example of this can be seen among the official examples playlist here, but I did come across it on my own on the latest version of ly2video.

The description of the function getNoteIndices states:
"If the (leftmost) grob at a given moment is found to have no corresponding MIDI event (e.g. when the grob is on the right-hand side of a tie), it is skipped."

The returned list from getNoteIndices is used to get the list of note X positions - since the right-hand tied notes are not included, it seems that ScoreImage does not know it has to go to those notes' X value.

I managed to diagnose the issue but don't know how to solve it, since it seems the synchronization of note X positions and MIDI ticks is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions