X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbeam-concave.ly;h=d47a9b1cbbdb18c3c414e81db8be52737992b2bc;hb=f875ef39c544bd3499dae5360e9e24f69933575f;hp=1c1c8fc9350a83e77cc01326db0ba32f66c4125c;hpb=617646bb3f5e82a2bcc23a954d3fd1f4636afc7c;p=lilypond.git diff --git a/input/regression/beam-concave.ly b/input/regression/beam-concave.ly index 1c1c8fc935..d47a9b1cbb 100644 --- a/input/regression/beam-concave.ly +++ b/input/regression/beam-concave.ly @@ -1,21 +1,20 @@ - -\version "2.6.0" +\version "2.14.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 + +}