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
Fix #302281: Wrong default beaming of 32nd notes in 9/8 and 12/8 #5818
Conversation
|
It is #302281, not #984327. And commit title too (and foremost actually) |
Signed the CLA. |
Having that "fix #302281..." in there triggers the corresponding issue in musescore.org to get marked fixed when the PR gets merged |
Thanks. I can confirm that these changes do actually work and fix the issue. Maybe you might go a step further and also align the lines above too, add spaces as needed (lines 28, 31, 34, 37, 40) and change all to decimal (line 31)? Oh, also extend to have a setting for 4/2 (something I seem to have overlooked when adding that in #5166 and #5498). |
It's weird that (in lines 28, 31, ...) both 272 and 273 exists. Should I replace 273 (0x111) by 272 (0x110)? |
Oh, I found the definition in |
Hmm, OK, those separate commit help reviewing now, and it does look good to me (but the titles might get improved, no need to keep them all identical and just add the additional changes to the body) In the end though I guess it should be only one commit. |
The original 5/4 beaming does not split the 16th notes and leads a 12-notes group and 8-notes group. Such long groups look weird. |
OK, sounds good |
libmscore/groups.cpp
Outdated
{ Fraction(4,4), | ||
Groups( { { 4, 0x200}, { 8, 0x110}, {12, 0x200}, {16, 0x111}, {20, 0x200}, {24, 0x110}, {28, 0x200} }) | ||
{ Fraction(3,2), | ||
Groups( { { 4, 0x200}, { 8, 0x110}, { 12, 0x200}, { 16, 0x111}, { 20, 0x200}, { 24, 0x110}, { 28, 0x200}, { 32, 0x111}, { 36, 0x200}, { 40, 0x110}, { 44, 0x200} }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is better to keep number of spaces equal before the first number and after the last one, so if adding a space before the first one it is probably better to add one at the end of a group as well (or to remove both leading and trailing space). It looks like the code wasn't consistent about that previously but if changing this anyway it would be better to make it in a cleaner way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing it the way @emfomy did it was less of a change.
Main point though is to sort of align this better, so differences are easier to spot
It is not necessary to put |
Got it. I was under the misapprehension that the title of commits should have |
cae7a13
to
9b2d183
Compare
Is there anything I need to do for this issue? |
Yes, squash them into one commit please, keeping the 1st commit message |
Squashed. |
OK, looks good to me and ready to get merged |
Resolves: https://musescore.org/en/comment/984327
The default note group for a thirty-second note in 12/8 is incorrect.
The 7th and 8th beat incorrectly groups as the same group.