Element Analyser Feedback

• Aug 22, 2022 - 14:21

This topic is created to collect and discuss issues and ideas about the Element Analyser plugin.


Comments

> (...) what does Non-Null element mean? How does an undefined element appear?
The data model of the plugin API is pretty flat. You don't find objects like Note,Chord, ... But the API offers one main object class: Element.
That object represents many different things, all with their own specificities.
E.g. an element of type "Chord" has note children, while an object of type "Note" hasn't any note children, but has a pitch.
This is where undefined/null properties appear.

On a element an element of type "Chord", the notes property will be an array of elements of type "Note".
On a element an element of type "Note", the notes property will be undefined/null.

> (...) Wish I know more to debug freezed QML(waited 30mins)
This is usually an infinite loop.

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