Dear All,

I noticed two issues as in the attached sample.

1. The stems in red do not match the coding, length should be 8 in stead of 4

2. The tie on the red note seems to precede the note, not to follow it to the next.

Any suggestions are welcome.

Thanks,
Gerard
\version "2.18.2"

\paper {  # (set-paper-size "a4" 'landscape)
  top-margin = 1.5\cm
  left-margin = 2\cm
  line-width = 26\cm
  bottom-margin = 1\cm
 
  markup-system-spacing #'padding = #6
}
\layout {}


testStaff = <<

    \time 4/4
    \context Staff = "upper" {  
	
	\clef "treble"
	\key es \major
         

	
    \relative c''' <<
                       % Upper Voice
    	               {c2 es4~ [es8^\fermata r16 <es c as>16]}
    	               
    	               \\
    	               % Middle voices
    		       \relative c''' { \change Staff = "upper" \stemDown {c32 bes as es} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t {c ~ bes ~ as ~ <c bes as es>}
                                         \change Staff = "upper" \stemDown {as'32 bes as \override NoteHead.color = #(rgb-color 1 0 0) es} \revert NoteHead.color \change Staff = "lower" \stemUp \set tieWaitForNote = ##t  {c ~ bes ~ as ~ <c bes as es > }
                                         \change Staff = "upper" \stemDown {es'32 d c as} \change Staff = "lower" \stemUp \set tieWaitForNote = ##t es ~ d ~ c ~ as~ <es'^\fermata d c as>8 [r16 <es c as f>]}
                      
                      \\
                      % chords and ties
                      \relative c'' { 
                                       s32 s \override Tie.minimum-length = #4 \set tieWaitForNote = ##t {\hideNotes as' ~ es ~  \unHideNotes \override Stem.color = #(rgb-color 1 0 0) \stemDown <as es>8 }
                                       s32   \override Tie.minimum-length = #4 \set tieWaitForNote = ##t {\hideNotes bes ~ as ~ es~  \unHideNotes \stemDown <bes' as es>8} 
                                       s32 s \override Tie.minimum-length = #4 \set tieWaitForNote = ##t {\hideNotes c~ as~  \unHideNotes <c as>8~ \revert Stem.color <c as>8 s16 s}
                                     }
                   >>
                   
}
      
      \context Staff = "lower" {
        
         \clef "treble"
	 \key es \major
	    
         \relative c' {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