lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: repeats, nested repeats and alternatives


From: Neil Puttock
Subject: Re: repeats, nested repeats and alternatives
Date: Fri, 7 Sep 2007 01:34:14 +0100

Hi Yota,

On 9/6/07, yota moteuchi <address@hidden> wrote:

Here, magically, the second alternative bar vanished... why ?!

You can't put overrides (or anything else) between the bracketed sections of \alternative; just put the bar number override inside the second alternative.

The problem here is obviously the spanner, far too long. While \set Staff.voltaSpannerDuration = #(ly:make-moment 4 4) don't change anything (and I don't know why !)

If you check the program reference, you'll see that the Volta_engraver lives in the Score context. Therefore your override should be changed to \set Score.voltaSpannerDuration = #(ly:make-moment 4 4).

The documentation is incorrect here - the Volta_engraver used to live in the Staff context, but the example in section 6.7.2 hasn't been changed yet (I've requested a correction for this).

By the way, you'll get a warning (LilyPond doesn't like ending volta spanners early) when you use this override, but it can be ignored.

Regards,
Neil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]