lilypond-user
[Top][All Lists]
Advanced

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

Re: Crescendo after custom dynamic marking


From: Lukas-Fabian Moser
Subject: Re: Crescendo after custom dynamic marking
Date: Sun, 12 Dec 2021 22:52:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Jean,

Use a real dynamic script. These care care of spacing for you.

\version "2.22.1"

psubito =
#(make-dynamic-script #{ \markup { p \normal-text \italic "subito" } #})

{ d'16_\psubito \cresc \repeat unfold 14 d'16 d'\f | }

Maybe I'm going too far in my belief that "standard tasks best should not require # characters and scheme", but shouldn't we provide a LilyPond syntax interface for this? It's not so uncommon to want custom dynamic expressions after all:

dynamic =
#(define-music-function (text) (markup?) (make-dynamic-script text))

{
  c\dynamic sfpmf
  c\dynamic \markup { \normal-text \italic subito f }
}

Lukas




reply via email to

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