Thank you for the solution to this problem.  When I tried \cadenzaOn
etc. before, I clearly did not get things quite right.  The example
shown at NR-1.2.3 does not give details of what to do for instruments
in a score which are not involved in the cadenza, and clearly I did not
work out the correct answer.

This time it still took me half an hour to work out why it didn't seem
to work, until I realized that (of course) I needed to specifically
state the length of the dotted minims following the lengthened one.

David


On Sat, 2018-04-14 at 01:00 +0200, Simon Albrecht wrote:
> Hi David,
> 
> it seems you have to add a manual barline at \cadenzaOff, but
> otherwise 
> I don’t see any problem with
> 
> %%%%%%%%%%%%%
> \version "2.19.80"
> 
> <<
>    {
>      \time 6/8
>      2.
>      \cadenzaOn
>      \repeat unfold 14 { 4 }
>      \cadenzaOff
>      \bar "|"
>      2.
>    }
>    {
>      2.
>      2.*14/3\fermata
>      2.
>    }
>  >>
> %%%%%%%%%%%%%%%%%%
> 
> How about that?
> 
> Best, Simon
> 
> 
> On 13.04.2018 23:40, David Sumbler wrote:
> > 
> > The piece I am setting has a flute cadenza which is notated in
> > standard
> > size notes totalling 14 crotchets (quarter-notes) in length.  The
> > whole
> > cadenza is written between 2 successive barlines.
> > 
> > The prevailing time signature at this point is 6/8, and in the
> > cadenza
> > all of the other instruments have a tied dotted minim with a
> > fermata.
> > 
> > I have been trying to reproduce this layout in LilyPond, using
> > v.2.19.81.  I tried \cadenzaOn etc., but that did not seem
> > suitable.  I
> > then tried to adapt the snippet found at
> > http://lsr.di.unimi.it/LSR/Item?id=836 .  Using this, the cadenza
> > bar
> > itself works OK, but in subsequent bars Lilypond seems to think
> > that
> > the time signature is 4/4.
> > 
> > I conclude that the line '\unset Timing.measureLength' restores
> > measureLength to its default value, rather than restoring the
> > previous
> > value.  I tried removing that line and adding '\once ' before
> > '\set Timing.measureLength', but this fails completely.
> > 
> > I have now replaced the line
> > \unset Timing.measureLength
> > with
> > \set Timing.measureLength = #(ly:make-moment 3/4)
> > 
> > This works fine, but how would I get a more general solution which
> > could be used in cases which are not in 6/8 or 3/4?
> > 
> > David
> > 
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user

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

Reply via email to