Customizing the no-chord symbol

By default, rests in a ChordNames context cause the text “N.C.” to be printed. This markup can be customized by setting the noChordSymbol context property.

\version "2.24"

<<
  \chords {
    R1
    \set noChordSymbol = "—"
    R1
    \set noChordSymbol = \markup \italic "Ssh!"
    R1
  }
  {
    R1*3
  }
>>