On Tue, Oct 18, 2016 at 3:41 AM, Peter Toye <lilyp...@ptoye.com> wrote:
> This is a forwarded message
> From: Peter Toye <lilyp...@ptoye.com>
> To: Simon Albrecht <simon.albre...@mail.de>
> Date: Tuesday, October 11, 2016, 4:07:21 PM
> Subject: Why warning: cannot end volta spanner?
> ===8<==============Original message text===============
> Simon,
> Thanks  - that certainly does the trick. Though why there should be a
> warning message there at all is still beyond me (see the title to this
> thread!).

The warning happens in lily/volta-engraver.cc, where there is a comment:

/* fixme: be more verbose  */

The warning is issued because the program expects to end the spanner
either when the repeat element is over, or when a line break is
encountered, as in your example.  Consequently, you can set
voltaSpannerDuration to Mom 5/1 or Mom 13/1 in your example with no
warning.  (With results identical to the default without the manual
setting, of course.)

I'm not sure of the point of the warning.  Why else would you set
voltaSpannerDuration unless you want something out of the ordinary?

In any case, the warning should be more descriptive.


lilypond-user mailing list

Reply via email to