[Top][All Lists]

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

Re: Shortcut for \repeat unfold

From: Dan Eble
Subject: Re: Shortcut for \repeat unfold
Date: Sat, 25 Sep 2021 11:25:13 -0400

On Sep 25, 2021, at 06:32, Lukas-Fabian Moser <> wrote:
> "\*" =
> #(define-music-function (n mus) (index? ly:music?)
>    #{ \repeat $repeat-shorthand $n { #mus } #})

Instead of debating a default repeat type and function, why not provide access 
to repetition as a music function with a clear name like

    \repeatFunction type n music

And let the user decide how to abbreviate it?

    x = \repeatFunction unfold \etc

reply via email to

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