-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MU4] Fix #329470: Wrong/missing transpositioning on MusicXML import #10586
Conversation
@lvinken: please review |
src/importexport/musicxml/internal/musicxml/importmxmlpass1.cpp
Outdated
Show resolved
Hide resolved
src/importexport/musicxml/internal/musicxml/importmxmlpass1.cpp
Outdated
Show resolved
Hide resolved
src/importexport/musicxml/internal/musicxml/importmxmlpass1.cpp
Outdated
Show resolved
Hide resolved
src/importexport/musicxml/internal/musicxml/importmxmlpass1.cpp
Outdated
Show resolved
Hide resolved
Warn (in Debug" mode) if the mandatory element "chromatic" is missing or 0. If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
9cefbe1
to
a5e0156
Compare
Warn (in Debug mode) if the mandatory element "chromatic" is missing or 0. If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
As indeed diatonic is optional but chromatic is required, the code change is correct. I apparently overlooked the possibility of missing diatonic, which led to an invalid interval in my implementation. Thanks for fixing this. Note that a missing chromatic would be caught by the schema validation. A testfile would be a nice addition, to prevent this requirement from being missed in future. |
OK, I'll drop the check for the mandatory "chromatic", as it is caught elsewhere already. |
a5e0156
to
e0fcf2f
Compare
I see a |
Warn (in Debug mode) if the mandatory element "chromatic" is missing or 0. If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
375a833
to
083790f
Compare
0204097
to
015f7cc
Compare
If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586 ToDo: get the mtest to work
ee2dea6
to
10217ab
Compare
If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
As far as I'm concerned this PR is ready for getting merged ;-) |
Looks good to me, thanks. |
2b9cd54
to
7ce5528
Compare
Export the volta text to the MusicXML ending element, allowing custom text such as "1-3". Backport of #10623, plus 2 more mtest fixes
If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
If the optional element "diatonic" is missing, calculate it from "chromatic".
but disable the failing ones. Additionally fix one test and sort them alphabetically.
7ce5528
to
8e524e3
Compare
If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
If the optional element "diatonic" is missing, calculate it from "chromatic". Backport of musescore#10586
If the optional element "diatonic" is missing, calculate it from "chromatic".
Resolves: https://musescore.org/en/node/329470
Same issue in 3.x.
Also adds/enables all (most?) available MusicXML unit tests (commenting out those that fail, working on those is out of score of this PR).