Le 24/10/2022 à 22:11, Volodymyr Prokopyuk a écrit :
Hello,
I'd like to ask a question about the scope of the baseMoment and
beatStructure configuration to set automatic beam behavior in
two-staves PianoStaff.
Problem
When baseMoment = 1/4 and beatStructure = 1,1 the output is
When baseMoment = 1/2 and beatStructure = #'(1) the output is
*Question*
Is it possible to limit the scope of the baseMoment and beatStructure
to a single Staff within the PianoStaff to get the below output
/without/ using the manual beaming with [...]?
Try this:
\version "2.22.2"
<<
\new Staff \fixed c' {
\time 2/2
\set Staff.baseMoment =
#(ly:make-moment 1/4)
\set Staff.beatStructure = 1,1
b8 d' c' b
}
\new Staff \fixed c {
\time 2/2
\clef bass
e8( <gis d' e'>) q q
}
>>
I suspect you were doing \set Timing.baseMoment = ...
and \set Timing.beatStructure = ... as shown in the
documentation. Unless you use polymetric notation, Timing
is an alias for Score (the context where timing is managed),
so these \set commands make global settings, whereas
you want them on Staff level.
Best,
Jean