lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 5740: Add \post to defer context actions to end of time step (


From: dak
Subject: Re: Issue 5740: Add \post to defer context actions to end of time step (issue 581600043 by address@hidden)
Date: Fri, 07 Feb 2020 04:34:37 -0800

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]