MIDI: fix regtest failure
[lilypond/patrick.git] / input / regression / beam-concave.ly
blobf104b16ef13e7279b9eccb5fde200d81cfcbebc9
1 \version "2.12.0"
2 \header{
4 texidoc = "Fully concave beams should be horizontal. Informally spoken,
5 concave refers to the shape of the notes that are opposite a
6 beam. If an up-beam has high notes on its center stems, then we call
7 it concave.
9 If a beam fails a test, the desired slope is printed next to it.
15 resetMeasure = \set Score.measurePosition = #(ly:make-moment 0 1)
17 %% examples from Ross.
18 rossFourBeams =\relative c'' {
19 \time 2/4
20 c8[ e b c]
21 b[ c d b]
22 c[ f b, c]
24 a[ f a f] a[ a' a, a']
25 a[ d, e g] a[ f f g]
26 c,[ b f' e]
27 b[ e g, e']
28 c'[ c, c c]
29 c[ c c c']
30 f,,[ b a g]
31 f[g g e]
32 a[ d, b' g]
34 rossThreeBeams = \relative c'' {
35 \time 6/8
36 e[ a, c] f[ d g]
37 f,[ b g] a[ b f]
38 d'[ c b a b e]
39 c[ b a c b a]
40 d,[ g a g f e ]
41 a[ g f a g f]
42 d'[ g, a b c d]
43 f[ e d c b f']
46 rossBeams = \relative c'' {
47 \rossFourBeams
48 \rossThreeBeams
51 \layout{
52 ragged-right = ##t
53 #(define debug-beam-quanting #t)
59 #(define (<> x y) (not (= x y)))
60 \new Voice {
61 \override Beam #'positions = #(ly:make-simple-closure
62 (ly:make-simple-closure
63 (append
64 (list chain-grob-member-functions `(,cons 0 0))
65 (check-slope-callbacks =))))
66 \rossBeams