[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: Automatic beaming global settings
From: |
Carl Sorensen |
Subject: |
FW: Automatic beaming global settings |
Date: |
Fri, 10 Sep 2010 11:10:05 -0600 |
The message below shows a bug in the autobeaming code.
Please mark is as a Defect with High priority (perhaps it should be
Critical, rather than high, as it causes an intended new feature not to
work).
Thanks,
Carl
------ Forwarded Message
From: James Worlton <address@hidden>
Date: Fri, 10 Sep 2010 07:35:26 -0600
To: lilypond-user <address@hidden>
Conversation: Automatic beaming global settings
Subject: Automatic beaming global settings
Hello,
I'm trying to define the set of default automatic beamings for a score. The
new beaming function is nice, but it won't let me set multiple rules in a
global variable. Here is what I'm trying to do--I have a rule for 4/4 and a
rule for 3/4 that limits beaming to a quarter note:
\version "2.13.32"
global = {
\overrideTimeSignatureSettings
#'Score
#'(4 . 4) % time signature fraction
#'(1 . 4) % base moment fraction
#'(1 1 1 1) % beatStructure
#'() % beamExceptions
\overrideTimeSignatureSettings
#'Score
#'(3 . 4) % time signature fraction
#'(1 . 4) % base moment fraction
#'(1 1 1) % beatStructure
#'() % beamExceptions %}
}
music = \relative c' {
\time 4/4
\repeat unfold 4 { c8 c c c c c c c }
\time 3/4
\repeat unfold 4 { c8 c c c c c }
}
\score {
\new Staff {
\global
\music
}
\layout { }
}
The problem is that with just one of those rules define in \global,
everything is fine. With the 2 definitions, only the last one takes effect.
I tried putting them in separate variables (\globalFour and \globalThree)
and then calling both in the \new Staff before \music, but that didn't work
either.
Is there a way to do this?
Thanks,
James Worlton
------ End of Forwarded Message
- FW: Automatic beaming global settings,
Carl Sorensen <=