lilypond-user
[Top][All Lists]
Advanced

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

Re: How to set alternative chord names?


From: Flaming Hakama by Elaine
Subject: Re: How to set alternative chord names?
Date: Mon, 9 Mar 2015 12:15:39 -0700


From: Peter Teeson <address@hidden>
Subject: How to set alternative chord names?

Hi all:
For my lead sheet I have started adding chords and printing the chord names.
But I want the alternative names as per the Notation Manual Page 392

How do I set that property? Snippets from my .ly file

I'm not sure where the chord exceptions file is that the docs refer to.

However, a popular one can be found at:
http://lists.gnu.org/archive/html/lilypond-user/2011-11/msg00285.html

You are welcome to use mine, available at:  
http://flaminghakama.com/flaming-lilypond-chords 


In general, once you have the file, it should contain a definition called something like myChordExceptions.  You then make use of it as follows:

\version "2.18.0"

%  Here is an example of chord exceptions.  
%  This is not complete, just intended to override one type of chord.
%  Look at the chord definitions file you end up using for the name it uses for this definition.
myChordExceptions = {
  % Half-diminished
  <c es ges bes>1-\markup { m7b5 }
}

%  Once you have a version of "myChordExceptions", or whatever it is called, add it to the typical ones with this line:
chExceptions = #(append (sequential-music-to-chord-exceptions myChordExceptions #t) ignatzekExceptions)

%  To use the new chord styles, make sure you specify its use with \set chordNameExceptions
myChordSequence = \chordmode {
  \set chordChanges = ##t
  \set chordNameExceptions = #chExceptions
  b1:m7.5-
}

myMelody = \relative c'' {
  r4 f8 d b a4.
}

\score {
  \new StaffGroup <<
    \new ChordNames \myChordSequence
    \new Staff {
      \myMelody
    }
  >>
}


HTH, 

David Elaine Alt
415 . 341 .4954                                           "Confusion is highly underrated"
address@hidden
self-immolation.info
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

reply via email to

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