---------- Forwarded message ----------
From: Gabriel Borin <gabriel.s.borin@gmail.com>
To: lilypond-user@gnu.org
Cc:
Bcc:
Date: Fri, 9 Apr 2021 14:06:43 -0500
Subject: Chord Name Exceptions
Hello,
I have been trying to write a bass part for a big band. Although I am mostly happy with the general output of chord names, I don´t like half-diminished notation in Lilypond. I prefer the descriptive "m7(b5) or min7(b5)".
Can somebody help me, please?
Sincerely,
Gabriel Borin
Reposting this answer from some time ago, it still works.
\version "2.18.2"
% Default
myChordSequence = \chordmode {
\set chordChanges = ##t
c1:m7.5-
}
<<
\new ChordNames \myChordSequence
\new Staff \relative c'' { ges1 }
>>
% Define your desired chord symbol design
myChordExceptions = {
<c ees ges bes>1-\markup { "m7(b5)" }
}
% Replace the old chord symbol with your new one
chordExceptions = #(append (sequential-music-to-chord-exceptions myChordExceptions #t) ignatzekExceptions)
% Use the new chord symbol
<<
\new ChordNames {
\set chordNameExceptions = #chordExceptions
\myChordSequence
}
\new Staff \relative c'' { ges1 }
>>
HTH,
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-