For displaying printed chord names, use the ChordNames (lilypond-internals) context.
The chords may be entered either using the notation
described above, or directly using < and >:
scheme = \notes {
\chords {a1 b c} <d' f' a'> <e' g' b'>
}
\score {
\notes<<
\context ChordNames \scheme
\context Staff \scheme
>>
}
You can make the chord changes stand out by setting
ChordNames (lilypond-internals).chordChanges to true. This will only
display chord names when there is a change in the chords scheme and at
the start of a new line:
scheme = \chords {
c1:m c:m \break c:m c:m d
}
\score {
\notes <<
\context ChordNames {
\property ChordNames.chordChanges = ##t
\scheme }
\context Staff \transpose c c' \scheme
>>
}
The default chord name layout is a system for Jazz music, proposed by Klaus Ignatzek (see Literature list). It can be tuned through the following properties:
chordNameExceptionsmajorSevenSymbolwhiteTriangleMarkup and
blackTriangleMarkup. See
input/regression/chord-name-major7.ly for an example.
chordNameSeparatorchordNameSeparator, you can specify other
separators, e.g.
\context ChordNames \chords {
c:7sus4
\property ChordNames.chordNameSeparator
= \markup { \typewriter "|" }
c:7sus4 }
chordRootNamerThe pre-defined variables \germanChords,
\semiGermanChords set these variables.
chordNoteNamerchordRootNamer. The chordNoteNamer property can be set
to a specialized function to change this behavior. For example, the
base can be printed in lower case.
There are also two other chord name schemes implemented: an alternate Jazz chord notation, and a systematic scheme called Banter chords. The alternate jazz notation is also shown on the chart in Chord name chart. Turning on these styles is described in the input file input/test/chord-names-jazz.ly.
\germanChords,
\semiGermanChords.
input/regression/chord-name-major7.ly, input/regression/chord-name-exceptions.ly, input/test/chord-names-jazz.ly, input/test/chord-names-german.ly, scm/chords-ignatzek.scm, and scm/chord-entry.scm.
Chord names are determined solely from the list of pitches. Chord
inversions are not identified, and neither are added bass notes. This
may result in strange chord names when chords are entered with the
< .. > syntax.
|
This page is for LilyPond-2.0.3 (stable-branch). Report errors to <bug-lilypond@gnu.org>. |