[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: Differentiate between contexts
From: |
sir.teddy.the.first |
Subject: |
AW: Differentiate between contexts |
Date: |
Wed, 1 Jul 2020 16:45:25 +0200 |
Thanks, that's what I was looking for.
-----Ursprüngliche Nachricht-----
Von: lilypond-user
<lilypond-user-bounces+sir.teddy.the.first=gmail.com@gnu.org> Im Auftrag von
Aaron Hill
Gesendet: Mittwoch, 1. Juli 2020 16:36
An: lilypond-user@gnu.org
Betreff: Re: Differentiate between contexts
On 2020-07-01 7:08 am, sir.teddy.the.first@gmail.com wrote:
> How can I explicitly reference the second ChordNames-Context,
> preferably by name?
Does this work? (I assumed you wanted to modify chrdsII.)
%%%%
\version "2.20.0"
\score {
<<
\new ChordNames = "chrdsI" \with { chordChanges = ##t }
\chordmode { e1:min | 1 | 1 | 1 | 1 | 1 | 1 | 1 | }
\new Staff \relative c' { c1 d e f g a b c | }
\new ChordNames = "chrdsII" \with { chordChanges = ##t }
\chordmode { e1:min | 1 | 1 | 1 | 1 | 1 | 1 | 1 | }
\new Staff \relative c' {
c1 | 1 | 1 | 1 |
\context ChordNames = "chrdsII"
{ \set chordChanges = ##f }
1 | 1 | 1 | 1 |
}
>>
}
%%%%
-- Aaron Hill