lilypond-user
[Top][All Lists]
Advanced

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

Re: trillSpan question:


From: Lukas-Fabian Moser
Subject: Re: trillSpan question:
Date: Sun, 30 Jan 2022 12:08:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

Hi Ken,

   I implemented the trill span; it was not intuitive to me to end the
trill span on the following note, but it seems to work.

It's possible to add a little bit of syntactic sugar for this construction:

\version "2.22"

trillSpan =
#(define-music-function (mus) (ly:music?)
   #{
     <>\startTrillSpan
     #mus
     <>\stopTrillSpan
   #})

\relative {
  d''2
  \trillSpan e4. d16 e
  \trillSpan { fis4 g gis4. } a8
  a2
}

Lukas




reply via email to

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