lilypond-user
[Top][All Lists]
Advanced

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

Re: Chord Name Exceptions


From: Lukas-Fabian Moser
Subject: Re: Chord Name Exceptions
Date: Fri, 9 Apr 2021 23:57:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1

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




reply via email to

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