Le 20/03/2022 à 10:01, Aaron Hill a écrit :
All of those things *are* music, as far as LilyPond is concerned.  It is just that commands like \tempo have no duration, so the following is nonsensical since the music has zero length:

   \partial \tempo 4 = 90

Your "global" variable likely uses spacer rests which are providing the length information, so the change to \partial usage ultimately looks like this:

   \partial 4 s4   =>   \partial s4

This removes the otherwise redundant specification of the duration.



Took me a while to realize that << \partial { s4 } { ... } >> would work. Also, what about injecting \partial into music via \pushToTag, the edition engraver or similar?

Generally speaking, \partial is so frequently used that I am decidedly wary of breaking it. Like Lukas, I am not seeing clearly on the English terminology of "partial", "anacrusis", "upbeat" and "pickup", but it seems to me that the choice is broad enough to allow the introduction of a separate command. I don't know if I like it. It will be more to learn for the same thing, but it might be more convenient for cases where you need \partial 1*5/16 and such.

Jean


Reply via email to