lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Chord Name Exceptions


From: Flaming Hakama by Elaine
Subject: Re: Chord Name Exceptions
Date: Fri, 9 Apr 2021 16:39:30 -0700


 
---------- 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)".

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

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, 

Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
elaine@flaminghakama.com
Producer ~ Composer ~ Instrumentalist ~ Educator
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


reply via email to

[Prev in Thread] Current Thread [Next in Thread]