Get type (whole, half, quarter,...) in plugin

• 6. Sep 2023 - 17:56

Hi,
is there a way to retrieve something similar to musicxml's type in a plugin (MuseScore 3.6.2) for both notes and rests? I can't find this attribute in the classes which kind of surprises me. I am aware that these are graphical attributes and for rest the duration may differ. On a related note, how to extract the number of dots from a rest? For notes i got it to work with note.dots.length

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