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: Nick Payne
Subject: Re: Beam settings in 2.13.29
Date: Thu, 05 Aug 2010 22:03:09 +1000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

Thanks, that works. I assume the command to revert beaming to the defaults is \set beamExceptions = #'()

I'd still like to understand why what I did with overrideTimeSignatureSettings didn't work. From my reading of s.1.2.3 of the notation manual it should have.

Nick

On 05/08/10 18:02, Trevor Daniels wrote:
Hi Nick

You got the hard bit right, but from 2.13.29 you can
use the simpler

changeBeaming = \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

to change the beaming exceptions.

Trevor

----- Original Message ----- From: "Nick Payne" <address@hidden>
To: "lilypond-user" <address@hidden>
Sent: Thursday, August 05, 2010 1:22 AM
Subject: Beam settings in 2.13.29


In 2/4 time, in earlier versions I used

changeBeaming = \overrideBeamSettings #'Voice #'(2 . 4) #'end #'((* . (2))
        ((1 . 8) . (2 2))
        ((1 . 16) . (2 2 2 2))
        ((1 . 32) . (4 4 4 4))
        ((1 . 48) . (6 6 6 6)))

to get 16th and 32nd notes and tupletted 16th 32nd notes grouped as I wanted, putting \changeBeaming in the voice where it's needed.

2.13.29 convert-ly tells me that I need to change this manually to use overrideTimeSignatureSettings or beamExceptions, but I'm struggling to find an example that I can use as a base.

I tried changing my override to:

changeBeaming = \overrideTimeSignatureSettings
      #'Voice
      #'(2 . 4)
      #'(1 . 4)
      #'(1 1)
      #'((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)))))

the score builds without error and I get a PDF, but the beaming is still the default - eg 32nd notes are beamed eight at a time.

Here's my short example. How do I get four beams per bar?

\version "2.13.29"

changeBeaming = \overrideTimeSignatureSettings
      #'Voice
      #'(2 . 4)  % time signature fraction
      #'(1 . 4)  % base moment fraction
      #'(1 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

\relative c'' {
    \time 2/4
    \changeBeaming
    \repeat unfold 8 c16
    \times 8/12 { \repeat unfold 12 c16 }
    \repeat unfold 16 c32
    \times 16/24 { \repeat unfold 24 c32 }
}

Nick

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









reply via email to

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