Hi,

in repeat-with-upbeat-and-different-durations-in-the-alternatives.ly (
= http://lsr.dsi.unimi.it/LSR/Item?id=490 ) I want to avoid the
warning, but I can't find a proper fix. All I can think of is crude
and ugly:

{
 \repeat volta 2 {
   \partial 4
   e'4
   c'2
 }
 \alternative {
   {
     f'4
   }
   {
     \partial 2
     a'2
   }
 }
 c'1
}

%--- very crude and ugly work-around:

{
 \repeat volta 2 {
   \partial 4
   e'4
   c'2
 }
 \alternative {
   {
     f'4
   }
   {
     \set Timing.measureLength = #(ly:make-moment 1 4)
     \once \override NoteHead #'duration-log = #1
     a'4
     \unset Timing.measureLength
   }
 }
 c'1
}

Suggestions?

Cheers,
 Harm

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to