|
From: | Nick Payne |
Subject: | Re: Beam settings in 2.13.29 |
Date: | Sat, 07 Aug 2010 09:22:52 +1000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 |
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 = #'():
\version "2.13.29" changeBeamingA = \overrideTimeSignatureSettings #'Score #'(2 . 4) % time signature fraction #'(1 . 8) % 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 } } Nick On 07/08/10 05:36, Trevor Daniels wrote:
Hi Nick There are a couple of things which prevented your override from working. Don't forget this is very new code in a development release - you're probably the first person to use it in anger, so you may find any residual bugs. First, the override command simply overrides the *default* which will be used when invoked by any later \time command, so the \time command must come *after* \changeBeaming, not before. Second, this only seems to work in the Score context. I don't know if this is a bug or an error in the documentation. We'll have to wait for Carl to return from vacation to check this out. Trevor----- Original Message ----- From: "Nick Payne" <address@hidden>To: "Trevor Daniels" <address@hidden> Cc: "lilypond-user" <address@hidden> Sent: Thursday, August 05, 2010 1:03 PM Subject: Re: Beam settings in 2.13.29Thanks, 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.29In 2/4 time, in earlier versions I usedchangeBeaming = \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
test.png
Description: PNG image
[Prev in Thread] | Current Thread | [Next in Thread] |