Page 36 of *Behind Bars* has two examples, but neither was possible without manual beam slope adjustment. With this change, the default when beaming over a rest is the example in the last two measures, and simply moving the rests a few spaces produces the example in the first two.
Rest are no longer considered for beam concavity. They are still considered for pattern recognition, though I'm not sure it should. In my opinion, rests should be moved to accommodate the slope, not define it. (Side note: the pattern recognition code is a little buggy; groups of 6 only consider falling patterns, groups of four special-case a pattern it shouldn't).
Also, it's hard to define what should be the slope for beams that begin or end in a rest - it's not mentioned in BB.
In any case, beams can be made horizontal again by simply checking the Horizontal property.
This is only half fixed. Beams retain their slope, but rests are not moved to fit (beam length is changed instead, which is incorrect according to Behind Bars).
Comments
see https://github.com/musescore/MuseScore/pull/2254
https://github.com/musescore/MuseScore/pull/2254
Page 36 of *Behind Bars* has two examples, but neither was possible without manual beam slope adjustment. With this change, the default when beaming over a rest is the example in the last two measures, and simply moving the rests a few spaces produces the example in the first two.
Rest are no longer considered for beam concavity. They are still considered for pattern recognition, though I'm not sure it should. In my opinion, rests should be moved to accommodate the slope, not define it. (Side note: the pattern recognition code is a little buggy; groups of 6 only consider falling patterns, groups of four special-case a pattern it shouldn't).
Also, it's hard to define what should be the slope for beams that begin or end in a rest - it's not mentioned in BB.
In any case, beams can be made horizontal again by simply checking the Horizontal property.
Fixed in branch master, commit 3cfb3b1095
Fix #53271: Beams retain slope when spanning rests
Fixed in branch master, commit d8f66cc289
Merge pull request #2254 from CombatCube/53271-rests-under-beam
Fix #53271: Beams retain slope when spanning rests
Fixed in branch 2.0.3, commit 0b01a0ae4a
Fix #53271: Beams retain slope when spanning rests
Automatically closed -- issue fixed for 2 weeks with no activity.
This is only half fixed. Beams retain their slope, but rests are not moved to fit (beam length is changed instead, which is incorrect according to Behind Bars).
Actual behaviour:
Desired behaviour: