Accessing Fingering from QML

• Oct 22, 2020 - 09:40

Hi
I'm looking to access fingerings on one note.
This is how I tried, and all I can get is Staff text and Harmony.

var score = curScore;
var m;
m = score.firstMeasure;
while (m) {
    var segment = m.firstSegment while (segment) {
            var element;
            element = segment.elementAt(0);
            if (element && element.type == Element.CHORD) {
                // The annotations
                var aCount = 0;
                var annotation = segment.annotations[aCount];
                while (annotation) {
                    debug2("annotation", annotation)
                    annotation = segment.annotations[++aCount];
                }
            }
            segment = segment.next;
        }
        m = m.nextMeasure;
}

How can I reach the fingerings (read, create, delete them) ?

Thanks


Comments

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