Skip to content

Processing of ties when importing MusicXML #186

@mrhso

Description

@mrhso

The current code has the following logic:

when (noteNode.getSingleElementByTagNameOrNull("tie")?.getAttribute("type")) {
"start" -> isInsideNote = true
"stop" -> isInsideNote = false
else -> Unit
}

However, if a note value is represented by no less than 3 notes, there will be more than one tie:
Image

<tie type="stop"/>
<tie type="start"/>

Therefore, all tie tags should be read.

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