lilypond-user
[Top][All Lists]
Advanced

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

Re: \after 8 \turn as a variable


From: Simon Albrecht
Subject: Re: \after 8 \turn as a variable
Date: Sat, 7 Dec 2024 19:07:54 +0100

On 07.12.24 16:08, Frédéric wrote:
gruppetto = \after 8 \turn \etc
should do it.
The \etc acts as a pacifier.

To clarify what’s actually happening: The \etc makes LilyPond create a music function without you having to delve into the internals.

You need a music function instead of a simple variable because \after is a music function requiring three arguments. You want your \gruppetto function to still take one argument—the one that \after takes as its third argument—the actual note.

For more, see
<https://lilypond.org/doc/v2.24/Documentation/notation/available-music-functions#index-_005cafter-5> (this is found by searching for \after in the LilyPond Command Index)
<https://lilypond.org/doc/v2.24/Documentation/extending/music-functions>

Best, Simon



reply via email to

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