3 texidoc = "This file tests a few standard beam quants, taken from
4 Ted Ross' book. If LilyPond finds another quant, the correct quant
5 is printed over the beam."
13 #(define debug-beam-quanting #t)
16 filler = \new Voice \relative {
26 \assertBeamQuant #'(0 . 0) #'(0 . 0)
29 \assertBeamQuant #'(1 . -1) #'(1 . -1)
34 \assertBeamQuant #'(1 . 0) #'(1 . 0)
39 \assertBeamQuant #'(2 . -1) #'(2 . -1)
44 \assertBeamQuant #'(2 . 0) #'(2 . 0)
49 \assertBeamQuant #'(2 . 1) #'(2 . 1)
54 \once \override Beam #'inspect-quants = #'(2.2 . 2.2)
66 \assertBeamQuant #'(0 . 0) #'(0 . 1)
71 \assertBeamQuant #'(0 . 0) #'(0 . 1)
76 \assertBeamQuant #'(0 . 0) #'(0 . 1)
80 \assertBeamQuant #'(1 . -1) #'(1 . 0)
85 \assertBeamQuant #'(1 . 0) #'(1 . 1)
90 \assertBeamQuant #'(2 . -1) #'(2 . 0)
95 \assertBeamQuant #'(2 . 0) #'(2 . 1)
99 \assertBeamQuant #'(3 . -1) #'(3 . 0)
104 filler = \new Voice \relative {
110 primeSixteenths = \relative {
112 \assertBeamQuant #'(0 . -1) #'(0 . -1)
115 \assertBeamQuant #'(0 . -1) #'(0 . -1)
118 \assertBeamQuant #'(0 . -1) #'(0 . -1)
121 \assertBeamQuant #'(0 . 0) #'(0 . 0)
124 \assertBeamQuant #'(1 . -1) #'(1 . -1)
127 \assertBeamQuant #'(1 . 0) #'(1 . 0)
130 \assertBeamQuant #'(2 . -1) #'(2 . -1)
133 \assertBeamQuant #'(2 . 0) #'(2 . 0)
136 \assertBeamQuant #'(3 . -1) #'(3 . -1)
139 \assertBeamQuant #'(3 . 0) #'(3 . 0)
144 \new Voice { \primes \seconds \primeSixteenths }