lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beaming across voices and staffs


From: Lukas-Fabian Moser
Subject: Re: Beaming across voices and staffs
Date: Fri, 17 Sep 2021 12:25:51 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

Hi Niels,

Am 17.09.21 um 12:04 schrieb Niels:
See the following example:

\version "2.20.0"
\score {
  \new PianoStaff
  <<
    \new Staff {\clef G c''8 r}
    \new Staff {\clef F r8 c}
  >>
}

Is it possible to have a beam between the c'' and the c when they are different voices and different staves? Of course the problem can be solved using changing staff, but then the rest in the upper staff is not shown:

\score {
  \new PianoStaff
  <<
    \new Staff = "up" {\clef G c''8[ \change Staff = "low" c8]}
    \new Staff = "low" {\clef F r8 s8}
  >>
}

As far as I know, notes can only be beamed if they are in the same voice. (Not speaking of things like moving Beam_engraver to another context etc.)

I think the standard solution would be multiple voices in the upper staff:

\version "2.20.0"

\score {
  \new PianoStaff
  <<
    \new Staff = "up" {
      c''8[
      <<
        \change Staff = "low" c8]
        \new Voice { \oneVoice r8 }
      >>
    }
    \new Staff = "low"
    {
      \clef F r8 s8
    }
  >>
}

Lukas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]