lilypond-user
[Top][All Lists]
Advanced

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

Differentiate between contexts


From: sir.teddy.the.first
Subject: Differentiate between contexts
Date: Wed, 1 Jul 2020 16:08:10 +0200

Hi all,

please consider the following snippet:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.20.0"

 

\score {

  <<

    \new ChordNames = "chrdsI" \chordmode { \set chordChanges = ##t e1:min | 1 | 1 | 1 | 1 | 1 | 1 | 1 | }

    \new Staff \relative c'{ c1 d e f g a b c | }

   

    \new ChordNames = "chrdsII" \chordmode { \set chordChanges = ##t a1:min | 1 | 1 | 1 | 1 | 1 | 1 | 1 | }

    \new Staff \relative c'{ c1 | 1 | 1 | 1 | \set ChordNames.chordChanges = ##f 1 | 1 | 1 | 1 | }

  >>

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

The command „\set ChrodNames.chordchanges = ##f“ in the second staff always applies to the first ChordNames-Context.

How can I explicitly reference the second ChordNames-Context, preferably by name?

 

Thanks in advance

 


reply via email to

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