Hello Mark,
Am 01.06.2015 um 21:18 schrieb Mark Stephen Mrotek:
Hello,
The attached snippet, tuplet beam, produces the tuplets grouped in
three sixteenths, as I want.
When I copy and paste the code into the score, 6 Var WoO 70(5), the
beaming changes.
This is because the settings of the other staff, made through \time 6/8,
take precedence, for whatever reason. Use a \global variable in every
staff to avoid this, as seen in the attachment. There are some comments
inline.
There is a subtle change in behaviour also: The code you gave would have
beamed 16[ 16] 16[ 16] 16[ 16], the one I made would give 16[ 16 16 16
16 16] as by default, which is probably preferable.
Admittedly, <http://lilypond.org/doc/v2.18/Documentation/notation/beams>
is long and difficult to wrap one’s head around, but once read
thoroughly and understood, everything will (probably) be clear.
HTH, Simon
\version "2.18.0"
global = {
\key g \major
\time 6/8
\partial 8
% baseMoment is 1/8 by default (determined from the denominator of the time signature)
% no need to set beatStructure either
% beamExceptions for 6/8 are not set by default (see scm/time-signature-settings.scm)
\set Timing.beamExceptions = #'((end . (((1 . 24) . (3 3 3 3 3 3)))))
% the following is the same in 2.19.x syntax
%\set Timing.beamExceptions = \beamExceptions {
% \scaleDurations 2/3 { \repeat unfold 6 { 16[ 16 16] } } }
}
\score {
\new PianoStaff <<
\new Staff = "upper"
\relative c'' {
\global
%\clef treble
\override TupletNumber #'stencil = ##f
\override TupletBracket #'bracket-visibility = ##f
% Iâd use a markup for naming the variation.
r8^\markup \bold { Variation 5 } |
\tuplet 3/2 { r16 d'-3 c b bes-3 a } g8-.
\tuplet 3/2 { r16 c-3 b a gis g-2 } fis8-. |
}
\new Staff = "lower"
\relative c {
\global
%\clef treble
<b''_3 d-1>8-. |
d16 b c a b g a g fis e d c |
b
}
>>
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user