X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-concave.ly;h=f104b16ef13e7279b9eccb5fde200d81cfcbebc9;hb=9079a8e47afbb0895850c2ea81b9316e85fdfab4;hp=2cd8fcbd894a5420fcc4d86c4d8ca4adc6d46480;hpb=39dd20959c8b3a143cfe41138a5c62749da54079;p=lilypond.git diff --git a/input/regression/beam-concave.ly b/input/regression/beam-concave.ly index 2cd8fcbd89..f104b16ef1 100644 --- a/input/regression/beam-concave.ly +++ b/input/regression/beam-concave.ly @@ -1,21 +1,20 @@ - -\version "2.7.13" +\version "2.12.0" \header{ -texidoc = "Fully concave beams should be horizontal. Informally spoken, + texidoc = "Fully concave beams should be horizontal. Informally spoken, concave refers to the shape of the notes that are opposite a beam. If an up-beam has high notes on its center stems, then we call it concave. + If a beam fails a test, the desired slope is printed next to it. - If a beam is fails a test, the desired slope is printed -next to it." +" } resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1) -% examples from +%% examples from Ross. rossFourBeams =\relative c'' { \time 2/4 c8[ e b c] @@ -31,7 +30,7 @@ rossFourBeams =\relative c'' { f,,[ b a g] f[g g e] a[ d, b' g] - } +} rossThreeBeams = \relative c'' { \time 6/8 e[ a, c] f[ d g] @@ -47,11 +46,10 @@ rossThreeBeams = \relative c'' { rossBeams = \relative c'' { \rossFourBeams \rossThreeBeams - } - +} \layout{ - raggedright = ##t + ragged-right = ##t #(define debug-beam-quanting #t) } @@ -59,8 +57,12 @@ rossBeams = \relative c'' { #(define (<> x y) (not (= x y))) - \new Voice { - \override Beam #'position-callbacks = #(check-slope-callbacks =) - \rossBeams - - } +\new Voice { + \override Beam #'positions = #(ly:make-simple-closure + (ly:make-simple-closure + (append + (list chain-grob-member-functions `(,cons 0 0)) + (check-slope-callbacks =)))) + \rossBeams + +}