[Top][All Lists]

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

Re: problem with \after on last note of DS al fine

From: Michael Werner
Subject: Re: problem with \after on last note of DS al fine
Date: Thu, 18 Jan 2024 08:12:26 -0500

Hi Kris,

On Thu, Jan 18, 2024 at 4:53 AM Kris Van Bruwaene via bug-lilypond <
bug-lilypond@gnu.org> wrote:

> I want to put a decrescendo on the last note of a DS al Fine section, but
> it generates an error message (version 2.24.3)
> Example:% lily test \after with DSaF
> \version "2.24.3"
> music = \relative c' {
> c1
> \repeat segno 2
> {
> c1
> \volta 2 \fine
> c1\> \after 1 \!
> }
> }

According to
the \after function is used as follows:
\after [music] - delta (duration) ev (music) mus (music)

Add music ev (usually a post-event) with a delay of delta after the onset
of mus.
All that needs done is flip the order of the statements.

\version "2.24.3"

music = \relative c' {
  \repeat segno 2
    \volta 2 \fine
    \after 1 \! c1\>

Might seem a bit counter-intuitive to put the \after function before the
note. Just bear in mind that \after is a function that takes the note as
one of its arguments, and it should make more sense.

reply via email to

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