summaryrefslogtreecommitdiff
path: root/input
diff options
context:
space:
mode:
authorUrs Liska <ul@openlilylib.org>2015-11-25 13:44:27 +0100
committerUrs Liska <ul@openlilylib.org>2015-11-25 16:14:26 +0100
commit64e94922019fbcab30f80f06de2471331547b276 (patch)
tree3d31b9bb56277a2d19e59585026310a1b21b12ed /input
parenteadbe19c831900eab4aec87c394d5ac8f2ee3bb5 (diff)
Issue 4664: Ensure one beam is left in subdivided beams
Issue #4355 introduced the concept that in subdivided beams the division beam should reflect the length of the subsequent group. However, with groups equal to or longer than one quarter note this resulted in *no* beam left. This commit ensures that at least one beam is returned when a beam is active and subdivideBeam = ##t
Diffstat (limited to 'input')
-rw-r--r--input/regression/beam-subdivide-quarter-notes.ly18
1 files changed, 18 insertions, 0 deletions
diff --git a/input/regression/beam-subdivide-quarter-notes.ly b/input/regression/beam-subdivide-quarter-notes.ly
new file mode 100644
index 0000000000..af28282aca
--- /dev/null
+++ b/input/regression/beam-subdivide-quarter-notes.ly
@@ -0,0 +1,18 @@
+\version "2.19.32"
+
+\header {
+
+ 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
+"
+
+}
+
+\relative c' {
+ \set baseMoment = #(ly:make-moment 1/4)
+ \set subdivideBeams = ##t
+ c16 [ c c c c c c c c c c c c c c c ]
+}