Dear All,
maybe you can help solving this problem.
I've attached a code with two examples.

Example 1 is the desired output, except for the missing ties in the right hand of the last quarter. Example 2 is an alternative. Now the ties are correct, but the beams between right and left hand are splitted.

The notation of the 32nd in Example 1 is the preferred notation by the composer.
Is there a solution to get the missing ties?

Thanks for any comment.
Regards,
Gerard
\version "2.18.2"

\paper {}
\layout {}


testStaff = <<

 \new PianoStaff \with {
    \override VerticalAxisGroup.staff-staff-spacing =
      #'((basic-distance . 10)
         (padding . 5))
  }
  {

  <<
    \time 3/4
    \context Staff = "upper" {  % Right hand 
	\clef "treble"
	\key c \major
         \relative e''

	    <<
	       
	        { e2^"Example 1" a,4}

                \\
        
	        {e'32 c a e \change Staff="lower" \stemUp {c a e c} \change Staff = "upper" \stemDown {a'' c a e} \change Staff = "lower" \stemUp {c a e c} \change Staff = "upper" \stemDown \set tieWaitForNote = ##t {a'' e ~ c ~ a ~} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t {g ~ e ~ c~ <g'e c g>}}
	        
	        \\
	                        
                { s4 s4 s8 \stemDown <e' c a> }

	    >>
	    
	     \relative e'' 
	     
	    <<
               
                { e2^"Example 2" a,4}

                \\
        
	        {e'32 c a e \change Staff="lower" \stemUp {c a e c} \change Staff = "upper" \stemDown {a'' c a e} \change Staff = "lower" \stemUp {c a e c} \change Staff = "upper" \stemDown \set tieWaitForNote = ##t {a'' e ~ c ~ a ~ <e' c a>8} }
	        
	        \\
	                        
                {\change Staff = "lower" \stemUp \set tieWaitForNote = ##t {s4 s4 s8 g,32 ~ e ~ c~ <g'e c g> }}

	    >>
	    
   
      }
  
    \context Staff = "lower" {  % Left hand 			
	\clef "bass"
	\key c \major
	
	s2. s2.
	
     }
  >>
}
>>

\book{
  \score { << \testStaff >>}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to