Hi Harm,

On Sun, Feb 26, 2012 at 10:59 AM, Thomas Morley <
thomasmorle...@googlemail.com> wrote:

> 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:
>


> [...]
>
> Suggestions?
>

This seems to do the trick:

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

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

Reply via email to