]> git.donarmstrong.com Git - lilypond.git/commitdiff
4704: Add regtests and improve wording
authorUrs Liska <ul@openlilylib.org>
Mon, 21 Dec 2015 20:50:09 +0000 (21:50 +0100)
committerUrs Liska <ul@openlilylib.org>
Mon, 28 Dec 2015 16:08:44 +0000 (17:08 +0100)
input/regression/beam-subdivide-quarter-notes.ly
input/regression/beam-subdivide-shortened-beam.ly [new file with mode: 0644]
input/regression/beam-subdivide-trailing-stem.ly [new file with mode: 0644]
input/regression/beam-subdivision.ly

index af28282aca72b66cc4c2ba4d1033bc13499530c6..a69dcf039046ff7a4606305ffdedae3685e3b5ad 100644 (file)
@@ -4,10 +4,9 @@
   
   doctitle = "Beam subdivide over quarter notes"
 
-  texidoc = "Beam subdivisions should match the durations of the subdivided
-groups, as established by baseMoment.  However, if the groups are equal or
-longer than quarter notes, one beam should be left
-"
+  texidoc = "Beam count at subdivisions should match the location 
+of the current subdivision.  However, if the groups are equal or
+longer than quarter notes, one beam should always be left."
 
 }
 
diff --git a/input/regression/beam-subdivide-shortened-beam.ly b/input/regression/beam-subdivide-shortened-beam.ly
new file mode 100644 (file)
index 0000000..665d837
--- /dev/null
@@ -0,0 +1,28 @@
+\version "2.19.34"
+
+\header {
+  
+  doctitle = "Beam subdivide with incomplete remainder"
+
+  texidoc = "Beam count at subdivisions should match the count corresponding 
+to the location of the current subdivision.  However, if the remainder of the
+beam is shorter than that the beam count should be adopted accordingly."
+
+}
+
+\paper {
+  indent = 0
+}
+
+\relative c'' {
+  \omit Staff.TimeSignature
+  \time 1/4
+  \set subdivideBeams = ##t
+  \set baseMoment = #(ly:make-moment 1/32)
+  c64 ^\markup "Full beam (1/32 division)" [ c c c  c c c c  c c c c  c c c c ] 
+  c64 ^\markup "Shortened by 1/32" [ c c c  c c c c  c c c c  c c ] r32
+  c64 ^\markup "Shortened by 3/32" [ c c c  c c c c  c c  ] r16.
+  \set baseMoment = #(ly:make-moment 1/16)
+  c32 ^\markup "Full beam (1/16 division)" [ c c c c c c c ]
+  c32 ^\markup "Shortened by 1/16" [ c c c c c] r16
+}
diff --git a/input/regression/beam-subdivide-trailing-stem.ly b/input/regression/beam-subdivide-trailing-stem.ly
new file mode 100644 (file)
index 0000000..de6d6bd
--- /dev/null
@@ -0,0 +1,22 @@
+\version "2.19.34"
+
+\header {
+  
+  doctitle = "Beam subdivide over quarter notes"
+
+  texidoc = "If in a subdivided beam one single stem follows a subdivision
+the beam count should reflect the beam count of the subdivision as usual.
+That is, the beam count should not be increased according to the remaining
+length of the beam. The appended single stem has beamlets to the left."
+
+}
+
+\relative c' {
+  \time 1/4
+  \set subdivideBeams = ##t
+  \set baseMoment = #(ly:make-moment 1/16)
+  c32 [ c c c c32 ] r16.
+  c32 [ c c c c64 ] r32. r16
+  c32 [ c c32 ] r32 r8
+  c32 [ c c64 ] r32. r8
+}
\ No newline at end of file
index 2aa8e2be624d230b47b696bd06fe67c260753d17..e7dd0a7b73a4b4a698fd4c7dc04f167e483d10ae 100644 (file)
@@ -1,7 +1,7 @@
 \header {
 
-  texidoc = "Beam subdivisions should match the durations of the subdivided
-groups, as established by baseMoment."
+  texidoc = "Beam count at subdivisions should match the location 
+of the current subdivision."
   }
 
 \version "2.19.19"