Howto parse chords symbols from a plugin ?
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
The annotations array has not yet been ported into the MS3 plugin framework
In reply to The annotations array has… by jeetee
Seems it will be in 3.0.5 as part of the fix for #283179: (some of the) missing objects/properties in the plugin framework
In reply to Seems it will be in 3.0.5 as… by Jojo-Schmitz
Thanks for your anwser. I'm trying now 3.0.5, annotations array is still missing :-(.
I'll wait for 3.0.6 :-)
In reply to Thanks for your anwser. I'm… by Jean-Michel B
Or 3.10. But are you sure? I can see that annotations have been added in 3.0.5
In reply to Or 3.10. But are you sure? by Jojo-Schmitz
No, I'm not sure. MS3 is very unstable. I regret having to change version too early. MS2 is'nt able to read back MS3 files, so I am "dans la merde" ...
In reply to No, I'm not sure. MS3 is… by Jean-Michel B
It works just fine for me
In reply to No, I'm not sure. MS3 is… by Jean-Michel B
If you are experiencing some sort of problem with MuseScore 3, please start a new thread and attach your score and steps to reproduce the problem. We can't fix what people don't report. but we've fixed hundreds of reported issues so far, no reason yours couldn't be next!