lilypond-user
[Top][All Lists]
Advanced

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

Re: ties and cross staff beaming


From: Rachel Knight
Subject: Re: ties and cross staff beaming
Date: Tue, 5 Mar 2019 11:27:35 -0700

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 <address@hidden> 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



reply via email to

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