Hello Jean, Mark and Leo,

Thank you very much for your valuable feedback!

You are absolutely right! I was using Timing instead of Staff for the
beamExceptions, baseMoment and BeatStructure. After changing Timing to
Staff everything works as expected.

Thank you very much! You helped me a lot! Have a nice day,
Vlad

On Mon, Oct 24, 2022 at 11:09 PM Leo Correia de Verdier <
[email protected]> wrote:

> Hi Vlad!
>
> You can specify what context baseMoment and beatStructure should apply to,
> the syntax is like
>
> \set Staff.beatStructure = 1,1
>
> The default is Voice, so the reason your beatStructure is not working is
> more likely that you have some beamExceptions rule in effect (they take
> priority over beatStructure and baseMoment). Try to
> \set beamExceptions = #’()
> before the music and see if it works. ( beamExceptions can also be set for
> specific contexts)
>
> For next time providing a minimal code is helpful:
>
> \version "2.23.11"
> \new PianoStaff
> <<
>   \new Staff
>   \relative c'' {
>     \time 2/4
>     \set Timing.beamExceptions = #'()
>     \set baseMoment = #(ly:make-moment 1/4)
>     \set beatStructure = 1,1
>     b8 d c b
>   }
>   \new Staff {
>     \clef bass
>     \set baseMoment = #(ly:make-moment 1/2)
>     \set beatStructure = #'(1)
>     e8 <gis d' e'> q q
>   }
> >>
>
> HTH
> /Leo
>
> 24 okt. 2022 kl. 22:11 skrev Volodymyr Prokopyuk <
> [email protected]>:
>
> 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
> [image: image.png]
> When baseMoment = 1/2 and beatStructure = #'(1) the output is
> [image: image.png]
> 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 [...]?
> [image: image.png]
> Thank you,
> Vlad
>
>
>
>

Reply via email to