[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: German chords with uppercase bass
From: |
Thomas Morley |
Subject: |
Re: German chords with uppercase bass |
Date: |
Sat, 9 Apr 2022 12:02:57 +0200 |
Am Fr., 8. Apr. 2022 um 20:57 Uhr schrieb Henning Hraban Ramm
<lilypondml@fiee.net>:
>
> Am 07.04.22 um 17:02 schrieb Henning Hraban Ramm:
> > As is shown e.g. in
> > https://lilypond.org/doc/v2.22/Documentation/snippets-big-page.de.html
> > “Changing the chord names to German or semi-German notation”,
> > \germanChords changes bass notes of chords like a:m/c to lowercase.
> >
> > I really would
> > like to get German chords (i.e. H instead of B) with uppercase bass
> > notes – as I know it from all my (German) songbooks.
> >
> > I’m sure there’s a clever setting or Scheme snippet for that.
> > Can you help me?
>
> Please, anyone?
>
> Hraban
>
\germanChords uses `chord-name->german-markup' to print the root-name
(chordRootNamer) of a chord and `note-name->german-markup' to print an
additional bass-note (chordNoteNamer).
If you comment the chordNoteNamer there, the chordRootNamer takes over.
germanChords = {
\set chordRootNamer = #(chord-name->german-markup #t)
%\set chordNoteNamer = #note-name->german-markup
}
scm = \chordmode {
c1/c | cis/cis
b1/b | bis/bis | bes/bes
}
<<
\new ChordNames {
\germanChords \scm
}
\context Voice { \scm }
>>
NB altered bass notes are now printed like the root, i.e. C♯ not Cis.
Already ok? If not holler.
Imho, german chords in LilyPond are not correct and were never: as an
example, C♯ is never a _german_ naming
Also see my comment:
https://gitlab.com/lilypond/lilypond/-/issues/6305#note_890059707
Cheers,
Harm