On Sun, May 5, 2024 at 1:19 AM <jca...@web.de> wrote:

> Good day,
>
>
>
> I use afterGrace notes to mark the end of a glissando. At the moment
> lilypond places these afterGrace notes somehow depending on the note's
> length.
> I want the glissando to be played over the entire length of the time unit,
> so the afterGrace notes should be placed as close as possible to the
> following bar line (or time unit), consistently.
>
> How can I achieve this?
>
> For example: In the bar (image) above I would like to have the afterGrace
> notes eih'' of the violins at the same x-position (close to the bar line)
> as the fis' of the third voice.
>
> %%%
> % violin 1
>   \time 3/2 cis'2.\p^"col legno" \glissando \afterGrace gis' \glissando
> {\once \hide Stem \parenthesize eih4} |
>
> % violin 2
>   \time 3/2 cis'2.\p^"col legno" \glissando \afterGrace disih \glissando
> {\once \hide Stem \parenthesize eih4} |
>
> % viola
>   \time 3/2 \afterGrace cis''1.\p^"col legno" \glissando {\once \hide Stem
> \parenthesize fis,4} |
> %%%
>

You can put a fraction right after the \afterGrace command to indicate how
far the afterGrace notes should be from the base note.  The closer the
fraction is to 1, the farther the grace note.  So try something like:

\afterGrace 15/16 gis' \glissando {\once \hide Stem \parenthesize eih4}


--
Knute Snortum

Reply via email to