lilypond-user
[Top][All Lists]
Advanced

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

Re: 2.23.5 articulate.ly and repeat alternatives


From: Jean Abou Samra
Subject: Re: 2.23.5 articulate.ly and repeat alternatives
Date: Fri, 7 Jan 2022 00:19:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1

Le 06/01/2022 à 02:10, Joel C. Salomon a écrit :

A nice thing I’ve discovered in reviving my old (2.18) project is that articulate.ly now expands repeats without `\unfoldRepeats`.  A less-nice thing is that this behavior behaves oddly around `\alternative`:

    \version "2.23.5"
    \include "articulate.ly"

    music = \relative c' {
      c1
      \repeat volta 2 {
        e
        \alternative {
          { g } { gis }
        }
      }
      b
    }

    \score { \music }
    \score { \unfoldRepeats \music }
    \score { \articulate \music }
    \score { \articulate \unfoldRepeats \music }

Both alternatives print each time with `\articulate`, though naked `\unfoldRepeats` works on its own.

(And `\articulate \unfoldRepeats` behaves the same as `\articulate`, which suggests my mental model of these as music functions is missing something.)


Do you mean the extra brackets? This has been
fixed recently. You can stick with the stable
version 2.22, or alternatively hide them:

\version "2.23.5"

\include "articulate.ly"

music = \relative c' {
  c1
  \repeat volta 2 {
    e
  }
    \alternative {
      {
        \omit Score.VoltaBracket
        g
      }
      {
        gis
        \undo \omit Score.VoltaBracket
      }
    }
  b
}

\score { \music }
\score { \unfoldRepeats \music }
\score { \articulate \music }
\score { \articulate \unfoldRepeats \music }


Best,
Jean



reply via email to

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