Hi all,

I'm at a loss with the problem shown in the attachments.

I intend to engrave a piece with two pianos (actually a piano and a synthesizer), where there are _many_ things going on between the two pianos.
The first is having grace notes or acciaccaturas in the "other" piano.

Writing it straightforwardly gives the attached image. When moving the slur engraver to the Score context (which is what I was suggested to do) there _is_ a difference (uncomment the \layougt definitions) but the result isn't really better.

Of course I could start to tweak the slurs, but I don't think that is a good idea at all.

Is there any way to make such cross-staff slurs behave better?

Urs

<<attachment: document.png>>

\version "2.19.3"

rightPianoII = \relative c'' {
  % Music follows here.
  r4 r8..
  \change Staff = "leftI"
  \acciaccatura cis8
  \change Staff = "rightII"
  <d gis>32
  r2
}

% keep staves alive
empty = { s1 }
rightPianoI = \empty
leftPianoI = \empty
leftPianoII = \empty

pianoIPart = \new PianoStaff \with {
  instrumentName = "Klavier I"
} <<
  \new Staff = "rightI" \rightPianoI
  \new Staff = "leftI" \leftPianoI
>>

pianoIIPart = \new PianoStaff \with {
  instrumentName = "Klavier II"
} <<
  \new Staff = "rightII"
    \rightPianoII

  \new Staff = "leftII"
    { \clef bass \leftPianoII }

>>

\score {
  <<
    \pianoIPart
    \pianoIIPart
  >>
  \layout { 
%{    \context {
      \Voice 
      \remove "Slur_engraver"
    }
    \context {
      \Score
      \consists Slur_engraver
    }
%}
  }
} 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to