Detect articulation on a note, without changing the selection
Is there a way to find articulation attached to a chord object, without changing the current selection? This is my usual method for doing it but won't work nicely in my current situation. segment.annotations
, unlike it says in the documentation, doesn't return articulation outside of fermatas and possibly breaths/pauses.
Comments
confirm
> staccato
failed annotations
> fermata
curScore.selection.elements[0].parent.parent.annotations[0]
> pause
failed annotations
failed s=segment.next
failed cursor.next
In reply to confirm > staccato failed… by msfp
tiny imperfections like these blemish the curScore.endCmd() undo function.
In reply to tiny imperfections like… by msfp
hopefully we get an
element.children
list to accompanyelement.parent