Hello,

 

The key change in the upper staff can be properly aligned (after the "g") if
I use \bar '' '' and \break. This disrupts Lilypond's auto-spacing.

 

Is another solution possible?

 

Thank you.

 

Mark

\version "2.16.2"

global = {
  \key c \major
  \numericTimeSignature
  \time 4/2
  \override TupletBracket #'bracket-visibility = ##f
  \override TupletNumber #'stencil = ##f
}

rightOne = \relative c'' {
  \global
  
  g1 \key ges \major c,1\fz 
  
}

rightTwo = \relative c'' {
  \global
  
  \times 2/3 {
  r8 g, bes d bes g bes g bes d bes g \bar "" \break
  \change Staff = "left" \stemUp
  aes\rest c, ges' beses ges c, ges' c, ges' beses ges c, }

  
}

left = \relative c' {
  \global
  
  bes,,1 ( \key ges \major eeses )

  
}

\score {
  \new PianoStaff <<
    \new Staff = "right" << \rightOne \\ \rightTwo >>
    \new Staff = "left" { \clef bass \left }
  >>
  \layout { }
}

Attachment: KeyChange.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to