Hello,

 

Using the documentation

http://lilypond.org/doc/v2.18/Documentation/notation/piano

I have "attached" the sustain commands to the "left" staff.

When the lower voice moves to the "right" staff the sustain markings change
style and location.

 

What must be done?

 

Thank you for your kind attention.

 

Mark

\version "2.18.0"

global = {
  \key c \major
  \time 4/4
}

right = \relative c'' {
  \global
  
  c'1 | c |
  
}

left = \relative c' {
  \global
  
  \set Staff.pedalSustainStyle = #'bracket
  c,4\sustainOn e\sustainOff \sustainOn
  g\sustainOff \sustainOn c\sustainOff |
  \change Staff = "right"
  e\sustainOff \sustainOn g\sustainOff \sustainOn
  c\sustainOff \sustainOn g\sustainOff \sustainOn |
  
}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \clef bass \left }
  >>
  \layout { }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to