That idea should have worked, but the ties don’t look quite right. Below is a 
compilable example.
Rachel



\version "2.19.81"

down = { \change Staff = "bass" \stemUp }
up = {\change Staff = "treble" \stemDown}

\language "english"

Treble = {
  <<
  \relative c'
  {

  \set tieWaitForNote = ##t
  \down c,8~[ \up <g' bf e>~]
  \down
  c,4
  }

  \new Voice
  \relative c'
  {
    \stemDown
    s8 \hideNotes
  <g bf e>8~
  \unHideNotes
  <g bf e>4
  }
  >>
}

Bass = {
  \clef bass
  s2*4
}


\score {

  \new GrandStaff
  <<
  \new Staff = treble { \Treble }
        \new Staff = bass { \Bass }
  >>
  }


> On Mar 4, 2019, at 1:32 PM, Lukas-Fabian Moser <l...@gmx.de> wrote:
> 
> 
>> I am putting a score into Lilypond, and I can’t figure out how to replicate 
>> the tied notes in the screenshot below. I am using the command \change Staff 
>> = “bass” to move notes to the bass clef, but I am not sure how to keep the 
>> cross staff beaming and create ties to the quarter note.
>> 
>> Is there a different way I could create the cross staff beaming, as then I 
>> could insert the notes normally in the appropriate clef and add ties?
> 
> It's possible to use tieWaitForNote if you make sure the notes are in the 
> right Voice contexts:
> 
> \version "2.19.82"
> 
> \new PianoStaff <<
>   \new Staff = "treble" \relative c' {
>     s1
>   }
>   \new Staff = "bass" \relative c {
>     \clef bass
>     \set tieWaitForNote = ##t
>     c8[~ \change Staff = "treble" <b' d g>] \change Staff = "bass"
>     c,4
>   }
> >>
> 
> In your example, this is going to be a bit more involved, since you need ties 
> in both hands simultaneously (to be precise, the beamed eights are going to 
> be in one voice, but the tie-destinations in both hands are going to be in 
> two different voices).
> 
> You might have to resort to invisible notes in one of the systems.
> 
> Lukas
> 

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to