Hi Brent,

I'm currently adding chords to some music, and I can't seem to find anywhere how to create a "Gmsus2" chord name. When I type "g:msus2" lilypond freaks out, and as far as I can tell, this particular combination of a minor chord with an added suspension never appears in the documentation (at https://lilypond.org/doc/v2.22/Documentation/notation/displaying-chords <https://lilypond.org/doc/v2.22/Documentation/notation/displaying-chords> ).

I feel like I'm just missing something, is there an easy way to display this chord type?

It's not very common to ask for Gm-sus2 oder Gm-sus4: The sus2/sus4 replace the third in the chord, so there's no trace of "minor" left.

But you speak of _added_ suspensions: This sounds to me as if you are looking for Gm-add9 or Gm-add11?

All of these may be forced with chordNameExceptions:

\version "2.22.1"

chExceptionMusic = {
  <c f g>1-\markup { m\super "sus4" } % Semi-advisable? :-)
  <c d g>1-\markup { m\super "sus2" } % Semi-advisable? :-)

  <c es g d'>1-\markup { m\super "add9" }
  <c es g f'>1-\markup { m\super "add11" }

}

% Convert music to list and prepend to existing exceptions.
chExceptions = #(append
  (sequential-music-to-chord-exceptions chExceptionMusic #t)
  ignatzekExceptions)

exampleChords = \relative {
  <g' a d> <g c d> <g bes d a'> <g bes d c'>
}

theMusic = {
  \mark "Standard"
  \exampleChords
  \bar "||"
  \set chordNameExceptions = #chExceptions
  \mark "Custom"
  \exampleChords
}

<<
   \new ChordNames \theMusic
   \new Voice \theMusic
>>

Lukas


Reply via email to