Note object and Tied properties is undefined

• Oct 15, 2018 - 16:58

I modified a Note Names plugin to detect and not display a note name which tied to a previous note.
I used Tied properties from Note object (https://musescore.org/en/plugin-development/note-object).


function nameChord (notes, text) {
for (var i = 0; i < notes.length; i++) {
if (notes[i].tied == 2)
return
}
}

This is not work as expected because Tied properties is "undefined".


Comments

Do you still have an unanswered question? Please log in first to post your question.