]> git.donarmstrong.com Git - lilypond.git/commit
4704: Improve beam subdivision beaming count
authorUrs Liska <ul@openlilylib.org>
Wed, 23 Dec 2015 21:07:22 +0000 (22:07 +0100)
committerUrs Liska <ul@openlilylib.org>
Mon, 28 Dec 2015 16:08:34 +0000 (17:08 +0100)
commit29022d7b0d1d1a52d221def82511d4d393c52e8d
tree83570794b4278c43e82f4a4831e30e254130a3ab
parent73d4697d0b91c1743e2d3dc31e1c4e87ce03da7b
4704: Improve beam subdivision beaming count

Calculates the remaining length of a beam.
If this is shorter than the regular value at the
subdivision point more beams are used.
(Example: subdivision at 1/8 -> one beam left.
Remaing notes on the beam: 3/32 -> two beams left.)

However, if only one stem is left after the subdivision
this isn't applied in order to have a visual separation.
In this case the default subdivision beam count is used.
lily/beaming-pattern.cc
lily/include/beaming-pattern.hh