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 }
}




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to