[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trillSpan question:
From: |
Kenneth Wolcott |
Subject: |
Re: trillSpan question: |
Date: |
Sun, 30 Jan 2022 13:27:50 -0800 |
Hi Lukas;
Thank you so much for the syntactic sugar!
Very nice.
Ken
On Sun, Jan 30, 2022 at 3:08 AM Lukas-Fabian Moser <lfm@gmx.de> wrote:
>
> 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
>
Re: trillSpan question:, Hans Ã…berg, 2022/01/28