Skip to content

Commit

Permalink
Skip note if it is tied with the note before
Browse files Browse the repository at this point in the history
  • Loading branch information
nozomu-y committed Nov 5, 2022
1 parent e261316 commit 34a6312
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions movable-do.qml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ MuseScore {
var tonalPitch = tpcToTonalPitch[String((parseInt(notes[i].tpc) - movableDoOffset + 35 + 1) % 35 - 1)]
name = tonalPitchToMovableDo[tonalPitch][notationIndex]

if (notes[i].tieBack !== null)
// skip if the note is tied
continue
text.text = name + oct + text.text
}
}
Expand Down

0 comments on commit 34a6312

Please sign in to comment.