Your snippet doesn't include the Span_stem_engraver, so I guess you lost that 
when adding the Dynamics.  Here is an extracted part of the score of that I am 
just now working on, with /lots/ of cross-staff joins as well as central 
dynamics:



\score {
  <<
    \new PianoStaff \with {
      \consists "Span_stem_engraver"
    } 
    <<
      \set PianoStaff.instrumentName = \markup\bold"Piano I"
      \new Staff = "priRH" { \clef treble \IpriRH }
      \new Dynamics = "priDy" \IpriDy
      \new Staff = "priLH" { \clef bass \IpriLH }
    >>
  >>
}


Regards,
Paul


 From:   Alberto Simões <albertov...@gmail.com> 
 To:   <lilypond-user@gnu.org> 
 Sent:   25/06/2022 21:17 
 Subject:   CrossStaff and Dynamics 



Hello


I am using CrossStaff and everything worked fine.
But after following a snippet that suggest adding the dynamics as an 
independent voice of spaces:


\score {
  \new PianoStaff = "PianoStaff_pf" <<
    \new Staff = "upper" << \upper >>
    \new Dynamics = "dynamics" \dynamics
    \new Staff = "lower" <<  \lower >>
  >>
}


the beams are no longer connected.
Is there any way to overcome this problem?


The idea of using a dynamic "voice" was to get all dynamics middle-aligned 
between them...


Thank you for any hint,
Alberto
 

Reply via email to