]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3773: Add Changes entries for bare rhythms and \beamExceptions
authorDavid Kastrup <dak@gnu.org>
Sat, 4 Jan 2014 16:22:33 +0000 (17:22 +0100)
committerDavid Kastrup <dak@gnu.org>
Sat, 4 Jan 2014 18:25:50 +0000 (19:25 +0100)
Documentation/changes.tely

index 5697aa69cb097c4aa439125f87919b9d984e4909..79e0385b8f9d0d390274a27873f271c55e397fd3 100644 (file)
@@ -60,6 +60,52 @@ which scares away people.
 * only show user-visible changes.
 
 @end ignore
+@item
+Isolated durations in music sequences now stand for unpitched
+notes.  This may be useful for specifying rhythms to music or
+scheme functions.  When encountered in the final score, the
+pitches are provided by the preceding note or chord.  Here are two
+examples where this makes for readable input:
+
+@lilypond[verbatim,quote]
+\new DrumStaff \with { \override StaffSymbol.line-count = 1 }
+\drummode {
+  \time 3/4
+  tambourine 8 \tuplet 3/2 { 16 16 16 }
+             8 \tuplet 3/2 { 16 16 16 } 8 8 |
+}
+@end lilypond
+
+@lilypond[verbatim,quote]
+\new Staff { r16 c'16 ~ 8 ~ 4 ~ 2 | }
+@end lilypond
+
+@item
+Beaming exceptions can now be constructed using the
+@code{\beamExceptions} scheme function.  One can now write
+
+@lilypond[verbatim,quote,relative=1]
+\time #'(2 1) 3/16
+\set Timing.beamExceptions =
+  \beamExceptions { 32[ 32] 32[ 32] 32[ 32] }
+c16 c c |
+\repeat unfold 6 { c32 } |
+@end lilypond
+
+@noindent
+with multiple exceptions separated with @code{|} bar checks
+(writing the exception pattern without pitches is convenient but
+not mandatory).  Previously, setting the beam exceptions would
+have required writing
+
+@example
+\set Timing.beamExceptions =
+#'(                         ;start of alist
+   (end .                   ;entry for end of beams
+    (                       ;start of alist of end points
+     ((1 . 32) . (2 2 2))   ;rule for 1/32 beams -- end each 1/16
+    )))
+@end example
 
 @item
 The most common articulations are now reflected in MIDI output.