Dear Paul,

Paul Scott wrote:

> How can I define and/or display maj for a simple triad, not a major 7th?
>

Based on
https://lilypond.org/doc/v2.27/Documentation/snippets/chord-notation-_002d-chord-name-exceptions

(which is embedded in
https://lilypond.org/doc/v2.27/Documentation/notation/displaying-chords)

I just threw together the following quickly.

I hope it helps!

Gabriel

[image: image.png]

\version "2.27.0"


*% Step 1: Define music with chords and markup for maj:*chExceptionMusic = {
  <c e g>-\markup { \super "maj" }
}


*% Step 2: Create extended exception list.*chExceptions =
#(append (sequential-music-to-chord-exceptions chExceptionMusic #t)
         ignatzekExceptions)

theMusic = \chordmode {
  g

*  % Step 3: Register extended exception list.*  \set chordNameExceptions =
#chExceptions
  g
}

<<
  \new ChordNames \theMusic
  \new Voice \theMusic
>>
  • maj not maj7 Paul Scott
    • Re: maj not maj7 Gabriel Ellsworth

Reply via email to