bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Doc bug: beams


From: Nicolas Sceaux
Subject: Doc bug: beams
Date: Sun, 27 Sep 2009 10:40:23 +0200

Hi,

It seems that the last example in NR 1.2.4 Beams: Setting automatic beam behavior, is broken. (I'm looking at lilypond.org 2.13.4 doc). This example shows three bars of 16th note, grouped by 4, despite the beam settings override on the 2nd bar.

Maybe the example should be changed to eg.:

  \time 4/4
  \repeat unfold 8 a8
  %% group 8th notes by 2
\overrideBeamSettings #'Score #'(4 . 4) #'end #'(((1 . 8) . (2 2 2 2)))
  \repeat unfold 8 a8
  %% revert the new rule
  \revertBeamSettings #'Score #'(4 . 4) #'end
  \repeat unfold 8 a8

Perhaps it would be nice to show in this section how to override the default beaming settings globally, in a \layout block; stating that instead of repeating
in each score a beam setting override like:

\overrideBeamSettings #'Score #'(4 . 4) #'end #'(((1 . 8) . (2 2 2 2)))

it is possible to set this behavior for all scores using (at top level):

   \layout {
     \context {
       \Score
beamSettings = #(cons '(((4 . 4) end) . (((1 . 8) . (2 2 2 2)))) default-beam-settings)
     }
   }

or is it considered too advanced for this section?

nicolas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]