---------- Forwarded message ----------
From: Andrew Zah <zah@andrewzah.com>
To: lilypond-user@gnu.org
Cc:
Bcc:
Date: Mon, 10 Jan 2022 18:34:03 -0500
Subject: How to input a diminished7 (maj7) chord?
Hi,
I'm trying to input a Bbdim7(maj7) chord. See the attached for an example.
Currently I'm doing this to override chords:
jazzChordDefinitions={
% ...
<c ees ges>-\markup { \super "o" }
<c ees ges beses b>-\markup { \super "o7(△7)" }
% ...
}
and then
jazzChordExceptions=#(append
(sequential-music-to-chord-exceptions jazzChordDefinitions #t)
)
\chordmode {
\set chordNameExceptions = #jazzChordExceptions
% bes2.:dim7.maj7 ??
}
How would I input that chord in chordmode?
Thanks,
Andrew
Since lilypond only recognizes one possible pitch per scale degree,
you need to spell one of the b's as something else.
I've first tried this out for #9 b9 chords, spelling the b9 ike
bes:1.3.5.7.8+.9+
For some reason, the exceptions does not seem to work with 8-, so looks like you'll have to spell it
bes:1.3-.5-.6.7+
\version "2.19.83"
jazzChordDefinitions={
% Just to demo that we can define the base diminished 7 chord
<c ees ges beses>-\markup { \super "o!" }
% I am not sure why this one does not work
<c ees ges beses ces>-\markup { \super "o7(△7)" }
% This one works
<c ees ges a b>-\markup { \super "o7(△7)" }
}
jazzChordExceptions=#(append
(sequential-music-to-chord-exceptions jazzChordDefinitions #t)
)
myChordSequence = \chordmode {
% For reference, two ways to specify the base diminished 7th chord
% Since 7 implies minor 7, the diminished 7 is 7-, and major 7 is 7+
bes1:dim7
bes1:1.3-.5-.7-
% Here are two ways to specify the enharmonic pitches
% using the base diminished 7 plus a lowered octave
% It is not clear to me why the exceptions don't work for these
bes1:dim7.8-
bes1:1.3-.5-.7-.8-
% Here is the one that works, by respelling the diminished 7th interval as a 6th.
bes1:1.3-.5-.6.7+
}
<<
\new ChordNames {
\set chordNameExceptions = #jazzChordExceptions
\myChordSequence
}
\new Staff \myChordSequence
>>
HTH,
415 . 341 .4954 "Confusion is highly underrated"