lilypond-user
[Top][All Lists]
Advanced

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

Re: Lilypond blog (alternativeRestores)


From: Flaming Hakama by Elaine
Subject: Re: Lilypond blog (alternativeRestores)
Date: Wed, 6 Dec 2017 13:07:07 -0800


%{


Context properties named in the ‘alternativeRestores’ property are restored to their value at the start of the first alternative in all subsequent alternatives.
Currently the default set restores ‘current meter’, ‘measure position’ and ‘chord changes’


Question:  what aspects of chord changes revert?

I can't tell from the example what is being affected.
There is a chordChanges setting in the example, 
but the output seems to be the same if you omit that.

What is the use case for this?  
I could come up with a mwe if I knew what was intended.

%}

\version "2.19.63"

<<
  \new ChordNames {
    % Is this the setting that is being reverted?
    \set chordChanges = ##t
    \chordmode { c1:m d:m c:m d:m }
  }
  \new Staff {
  \mark "With setting"
    \repeat volta 2 { \chordmode { c1:m } }
    \alternative {
      { \chordmode { d:m } }
      { \chordmode { c:m } }
    }
  \chordmode { d:m }
}
>>

<<
  \new ChordNames {
    % Omit the setting to see what changed, if anything
    %\set chordChanges = ##t
    \chordmode { c1:m d:m c:m d:m }
  }
  \new Staff {
  \mark "No setting"
    \repeat volta 2 { \chordmode { c1:m } }
    \alternative {
      { \chordmode { d:m } }
      { \chordmode { c:m } }
    }
  \chordmode { d:m }
}
>>



Thanks, 

David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

reply via email to

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