Chord.globalDuration VS actualDuration
Dear all,
- I would be grateful to get any insights about the difference between globalDuration and actualDuration (or globalTicks VS actualTicks in the C++ code)
- Are globalDuration and actualDuration here to stay? They appear to be new as of MS 3.5, but are not mentioned in the documentation
Thanks!
Comments
So for a triplet of 1/8ths in the space of one 1/4th you'd likely get "1/8" for one of them and "1/12" for the other?
Try it out and let us know what holds true ;)
Even better would be to have versioned url's (a bit like the handbook or the Qt docs).
In reply to These properties usually… by jeetee
Thanks for the speedy response, jeetee!
1. Sorry for failing to mention that I already tested with triplet of 1/4s, similar to your suggestion. actualDuration and globalDuration provided the exact same values: { numerator:1, denominator:6, ticks: 320 }.
(regular) duration.ticks was of course 480
2. Your thinking makes sense. But I'm too new in coding for MS to provide any useful opinion
In reply to Thanks for the speedy… by animikatamon
According to https://github.com/musescore/MuseScore/blob/3.x/mscore/plugin/api/eleme… it seems the difference is in relation to local time signatures
I've asked the developer that makes the release package to add this action to his release checklist. So likely the documentation will be updated with the 3.5.1 release, which is due in the coming days.