lilypond-user
[Top][All Lists]
Advanced

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

Re: Beam settings in 2.13.29


From: Trevor Daniels
Subject: Re: Beam settings in 2.13.29
Date: Sat, 7 Aug 2010 18:23:42 +0100


Nick Payne wrote Saturday, August 07, 2010 12:22 AM

I also notice that when I turn off the beamExceptions the beaming goes a
bit haywire. Have a look at bars 5 and 6 after I have used \set
beamExceptions = #'():

This is due to erroneous ly input; see below:

\version "2.13.29"

changeBeamingA = \overrideTimeSignatureSettings
      #'Score
      #'(2 . 4)  % time signature fraction
      #'(1 . 8)  % base moment fraction
      #'(1)    % beatStructure

This should be
       #'(1 1 1 1)  % base moment fraction
if you want beams grouped in quavers else only
the first 1/8 is a separate beam group.

Or, if you want the default to beam the whole bar you need
       #'(1 . 2)  % base moment fraction
       #'(1)    % beatStructure

      #'((end . (((1 . 16) . (2 2 2 2))
                   ((1 . 24) . (3 3 3 3))
                   ((1 . 32) . (4 4 4 4))
                   ((1 . 48) . (6 6 6 6))))) % beamExceptions

changeBeamingB = \set beamExceptions =
      #'((end . (((1 . 16) . (2 2 2 2))
                 ((1 . 24) . (3 3 3 3))
                 ((1 . 32) . (4 4 4 4))
                 ((1 . 48) . (6 6 6 6))))) % beamExceptions

revertBeaming = \set beamExceptions = #'()

\relative c'' {
    \set tupletSpannerDuration = #(ly:make-moment 1 8)
    \changeBeamingA
    \time 2/4
    \repeat unfold 8 c16
    \times 2/3 { \repeat unfold 12 c16 }
    \repeat unfold 16 c32
    \times 4/6 { \repeat unfold 24 c32 }
    \revertBeaming
    \break \repeat unfold 8 c16 \repeat unfold 16 c32
    \changeBeamingB
    \repeat unfold 8 c16
    \times 2/3 { \repeat unfold 12 c16 }
    \repeat unfold 16 c32
    \times 4/6 { \repeat unfold 24 c32 }
}






reply via email to

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