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: Jean Abou Samra
Subject: Re: Crescendo after custom dynamic marking
Date: Sun, 12 Dec 2021 23:18:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 12/12/2021 à 22:52, Lukas-Fabian Moser a écrit :
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 }
}



I was thinking exactly along the same lines ;-)

I would approve a patch adding this function.

Best,
Jean



reply via email to

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