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" <nick.pa...@internode.on.net>
To: "Trevor Daniels" <t.dani...@treda.co.uk>
Cc: "lilypond-user" <lilypond-user@gnu.org>
Sent: Thursday, August 05, 2010 1:03 PM
Subject: Re: Beam settings in 2.13.29
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"
<nick.pa...@internode.on.net>
To: "lilypond-user" <lilypond-user@gnu.org>
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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user