LilyPond Internals Reference: 2.2.15 Chord_name_engraver

### 2.2.15 Chord_name_engraver

Catch note and rest events and generate the appropriate chordname.

Music types accepted:

note-event and rest-event

Properties (read)

> `chordChanges` (boolean)

>   Only show changes in chords scheme?

> `chordNameExceptions` (list)

>   An alist of chord exceptions. Contains `(chord . markup)` entries.

> `chordNameExceptions` (list)

>   An alist of chord exceptions. Contains `(chord . markup)` entries.

> `chordNameFunction` (procedure)

>   The function that converts lists of pitches to chord names.

> `chordNoteNamer` (procedure)

>   A function that converts from a pitch object to a text markup. Used for single pitches.

> `chordRootNamer` (procedure)

>   A function that converts from a pitch object to a text markup. Used for chords.

> `lastChord` (markup)

>   Last chord, used for detecting chord changes.

> `majorSevenSymbol` (markup)

>   How should the major 7th be formatted in a chord name?

> `noChordSymbol` (markup)

>   Markup to be displayed for rests in a ChordNames context.

Properties (write)

> `lastChord` (markup)

>   Last chord, used for detecting chord changes.

This engraver creates the following layout object(s):

ChordName.

`Chord_name_engraver` is part of the following context(s): ChordNames.

#### Internals Reference v2.22.2 (stable-branch).