> From: Peter Teeson <peter.tee...@icloud.com> > 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*" ela...@flaminghakama.com self-immolation.info skype: flaming_hakama Producer ~ Composer ~ Instrumentalist -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user