[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Limit the scope of baseMoment and beatStructure to a single Staff wi
From: |
Jean Abou Samra |
Subject: |
Re: Limit the scope of baseMoment and beatStructure to a single Staff within a PianoStaff |
Date: |
Mon, 24 Oct 2022 22:28:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
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