I stumbled on this hack, and it doesn't appear to be anywhere online.

As is, you can't have a hairpin run until the very end of a score; it
will stop before the last note. You also can't add \! to a \bar;
Lilypond complains that it is not a musical event.

The idea is to use \afterGrace, with an invisible grace note.

\absolute {
    c'2\> \afterGrace d' { s16\! } |
    }

MIDI translates this as you would expect, without an extra note at the end.

However, this will not work if the hairpin starts on the last printed note.

--- Christopher Heckman

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to