David Sumbler <da...@aeolia.co.uk> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user