[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Manual "gotcha": beatStructure
From: |
Mark Stephen Mrotek |
Subject: |
RE: Manual "gotcha": beatStructure |
Date: |
Sat, 21 Mar 2015 09:50:41 -0700 |
James,
Look at
http://lilypond.org/doc/v2.18/Documentation/notation/beams
for some examples (they are down the page a bit).
Mark
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
James Harkins
Sent: Friday, March 20, 2015 11:21 PM
To: lily-users
Subject: Manual "gotcha": beatStructure
I just got slightly confused trying to use beatStructure, and a small edit
to the manual might help.
\version "2.18.2"
\language "english"
five = {
\set Timing.beatStructure = #'(3 2)
\time 5/8
}
seven = {
\set Timing.beatStructure = #'(3 2 2)
\time 7/8
}
\new RhythmicStaff {
% \set Timing.beamExceptions = #'()
\set Timing.baseMoment = #(ly:make-moment 1/8)
\seven b8 b b b b b b
\five b8 b b b b
}
The 7/8 bar shows with flags, not beams.
I think it must be that the variable implicitly creates a separate voice,
and the beatStructure applies only within the voice. Replacing "Timing" with
"Staff" fixes it.
I don't see it mentioned in the manual that, if you \set
Timing.beatStructure, this must be in the same context where you write the
notes. The manual says "Beam setting changes can be limited to specific
contexts," but it doesn't say that they ARE limited to the nearest enclosing
context if you follow the syntax in most of the examples (using Timing).
hjh
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user