Hi Gabriel,
Am 09.04.21 um 21:06 schrieb Gabriel Borin:
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)".
I have been trying to use the snippet under this link with no success:
https://lilypond.org/doc/v2.19/Documentation/notation/displaying-chords.en.html
<https://lilypond.org/doc/v2.19/Documentation/notation/displaying-chords.en.html>
It's easier to help if you provide a source code as starting point.
Here one possibility, adapted from the documentation:
\version "2.22.0"
% modify half-diminished chord
% Exception music is chords with markups
chExceptionMusic = {
<c es ges bes>1-\markup { m\super { 7(\flat 5) } }
}
% Convert music to list and prepend to existing exceptions.
chExceptions =
#(append
(sequential-music-to-chord-exceptions chExceptionMusic #t)
ignatzekExceptions)
\layout {
\set chordNameExceptions = #chExceptions
}
theMusic = \chordmode {
g1:m7.5-
}
\layout {
ragged-right = ##t
}
<<
\context ChordNames \theMusic
\context Voice \theMusic
>>
Lukas