[Musicxml Export] - Triple and Quadruple Dots not exported correctly

• Sep 16, 2020 - 23:59
Reported version
3.5
Type
Performance
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

When I was transcribing a contemporary piano piece into braille, I met this problem. In this short example, both triple and quadruple dotted quarters are exported as halves into Musicxml. The durations are correct, triple dotted C 32 and quadruple dotted 31, but the types are wrong, and there are no dots under the type line.


Comments

The cause for this issue is not in the MusicXML code. I have traced it and found the cause in TDuration::setVal(int ticks), which only support two dots instead of four. In the function there is a magic constant "4", which should actually be 2 to the power of MAX_DOTS.
Will prepare a separate pull request for this, as it is hard for me to judge the impact of that fix. PR should also include an updated MusicXML test file.

Fix version
3.5.1