%{

>From http://lilypond.org/doc/v2.19/Documentation/changes-big-page.html

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*"
ela...@flaminghakama.com
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to