On 2020/02/07 09:19:03, hanwenn wrote: > David mentions \cadenzaOff in the issue tracker. I think you could fix the > behavior inside the Timing_engraver without requiring a new construct (although, > if we did this, we'd probably upset bar numbering across existing scores.)
I think I tried. At any rate, I was not proposing to change existing \cadenzaOff functionality since that has clearly defined semantics. But it has evaded me to find a way of expressing "end cadenza and bar". The best I could do so far could be expressed as \cadenzaOffAfter = #(define-music-function (last-note) (ly:music?) #{ \partial #(ly:music-duration 1 0 (ly:moment-main (ly:music-length lastnote))) #last-note #}) But that's really somewhat inconvenient. > I hope I am not demoralizing you; by getting this working, you show mastery of > advanced LilyPond internals, which is a great achievement! https://codereview.appspot.com/581600043/