[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cadenza problem
From: |
David Kastrup |
Subject: |
Re: Cadenza problem |
Date: |
Sat, 14 Apr 2018 09:13:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
David Sumbler <address@hidden> writes:
> 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?
This might be outdated. \cadenzaOn/\cadenzaOff now work by halting
measurePosition which is less invasive but has other problems. It still
has a problem with counting bars when bars are generated manually: this
might still warrant fixing at some point of time.
--
David Kastrup