Howto parse chords symbols from a plugin ?

• Feb 24, 2019 - 13:33

Hello

I'm trying to parse chords symbols from a plugin in Ms V3.0. All documentation i have found is about Ms 2.0.
It seems I can't use cursor.segment.annotations array in Ms 3.0 : undefined.
When I try to add an Harmony using :
var h = newElement(Element.HARMONY);
// console.log("Harmony : " + Object.keys(h))
h.root = 65
h.id = 1
h.base = 66
cursor.add(h)
I'm not able to find back my "h".

Somebody can help me to parse Chords Symbols from a plugin running under Ms 3.0 ?

Best regards


Comments

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