Previous: Printing chord names, Up: Displaying chords
There is no unique system for naming chords. Different musical traditions use different names for the same set of chords. There are also different symbols displayed for a given chord name. The names and symbols displayed for chord names are customizable.
The basic chord name layout is a system for Jazz music, proposed by Klaus Ignatzek (see Literature list). The chord naming system can be modified as described below. An alternate jazz chord system has been developed using these modifications. The Ignatzek and alternate Jazz notation are shown on the chart in Chord name chart.
In addition to the different naming systems, different note names
are used for the root in different languages. The predefined
variables \germanChords
, \semiGermanChords
,
\italianChords
and \frenchChords
set these variables.
The effect is demonstrated here:
If none of the existing settings give the desired output, the chord name display can be tuned through the following properties.
chordRootNamer
majorSevenSymbol
chordRootNamer
to identify a major 7 chord. Predefined
options are whiteTriangleMarkup
and
blackTriangleMarkup
.
chordNoteNamer
chordRootNamer
. The chordNoteNamer
property can be set
to a specialized function to change this behavior. For example, the
bass note can be printed in lower case.
chordNameSeparator
chordNameSeparator
, you can use any desired markup
for a separator.
chordNameExceptions
chordRootNamer
output to create the chord name.
chordPrefixSpacer
chordPrefixSpacer
.
The spacer is not used when the root is altered.
\whiteTriangleMarkup
,
\blackTriangleMarkup
,
\germanChords
,
\semiGermanChords
,
\italianChords
,
\frenchChords
.
The property chordNameExceptions
can be used to store a list of
special notations for specific chords.
% modify maj9 and 6(add9) % Exception music is chords with markups chExceptionMusic = { <c e g b d'>1-\markup { \super "maj9" } <c e g a d'>1-\markup { \super "6(add9)" } } % Convert music to list and prepend to existing exceptions. chExceptions = #( append ( sequential-music-to-chord-exceptions chExceptionMusic #t) ignatzekExceptions) theMusic = \chordmode { g1:maj9 g1:6.9 \set chordNameExceptions = #chExceptions g1:maj9 g1:6.9 } \layout { ragged-right = ##t } << \context ChordNames \theMusic \context Voice \theMusic >>
The layout of the major 7 can be tuned with
majorSevenSymbol
.
\version "2.11.51" \header { texidoc = "The layout of the major 7 can be tuned with @code{majorSevenSymbol}." } \chords { c:7+ \set majorSevenSymbol = \markup { "j7" } c:7+ }
Adding bar lines to ChordNames context
To add bar line indications in the ChordNames
context, add the
Bar_engraver
.
\new ChordNames \with { \override BarLine #'bar-size = #4 \consists "Bar_engraver" } \chordmode { f1:maj7 f:7 bes:7 }
Volta under chords
By adding the Volta_engraver
to the relevant
staff, volte can be put under chords.
\score { << \chords { c1 c1 } \new Staff \with { \consists "Volta_engraver" } { \repeat volta 2 { c'1 } \alternative { c' } } >> \layout { \context { \Score \remove "Volta_engraver" } } }
Changing chord separator
The separator between different parts of a chord name can be set to any markup.
\chords { c:7sus4 \set chordNameSeparator = \markup { \typewriter | } c:7sus4 }
Notation Reference: Chord name chart, Common chord modifiers.
Installed Files: scm/chords-ignatzek.scm, scm/chord-entry.scm, ly/chord-modifier-init.ly.
Snippets: Chords.
Chord names are determined from both the pitches that are present
in the chord and the information on the chord structure that may
have been entered in \chordmode
. If the simultaneous pitches
method of entering chords is used, undesired names result from
inversions or bass notes.
myChords = \relative c' { \chordmode { c1 c/g c/f } <c e g>1 <g c e> <f c' e g> } << \new ChordNames { \myChords } \new Staff { \myChords } >>
Cette page documente LilyPond-2.11.58 (branche de développement).
Rapportez toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
Vos suggestions à propos de la documentation sont les bienvenues.
Autres langues : español.