lilypond-devel
[Top][All Lists]
Advanced

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

\unfoldRepeats type none


From: Knut Petersen
Subject: \unfoldRepeats type none
Date: Mon, 23 Apr 2018 14:04:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi everybody!

I think it would be useful to add a repeat-type "none" to the 
repeat-types-alist in unfold-repeats (music-functions.scm), e.g.

   (define-public (unfold-repeats types music)
      "Replace repeats of the types given by @var{types} with unfolded repeats.
   If @var{types} is an empty list, @code{repeated-music} is taken, unfolding 
all."
      (let* ((types-list
               (if (or (null? types) (not (list? types)))
                   (list types)
                   types))
             (repeat-types-alist
               '((volta . volta-repeated-music)
                 (percent . percent-repeated-music)
                 (tremolo . tremolo-repeated-music)
   + *(none . music)*
                 (() . repeated-music)))

An example that demonstrates the reason for my request is attached. Any 
objections?

Knut

Attachment: musfuntest.ly
Description: Text Data


reply via email to

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