Capella (.cap) import does not handle breve notes correctly

• Nov 2, 2021 - 21:34
Reported version
3.1
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

When importing scores containing breves, they are imported as whole notes, and the measures are reported as corrupted.

Example files can be found in the zip file at https://imslp.org/wiki/Special:ImagefromIndex/219056/ab03
File 9 and 16 are both good examples.

I've attached number 9 here, both the .cap file and the rendered pdf.
The errors are in the tenor voice in bar 1, and in the alto voice in bar 8.

Tested in OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (32-bit): 3.6.2.548021803, revision: 3224f34


Comments

Frequency Few Once
Severity S4 - Minor S3 - Major

Just curious: why the 32-bit version of MuseScore on a 64-bit version of Windows 10?

Looks like a very stupid typo in the code:

            case TIMESTEP::D_BREVE:     len = Fraction(2,2);   break;

Should be:

            case TIMESTEP::D_BREVE:     len = Fraction(2,1);   break;
Title Capella import does not handle breve notes correctly Capella (.cap) import does not handle breve notes correctly

Capalle .capx imports seems to not have that issue

Fix version
4.0.0