From: Trevor Daniels Date: Mon, 21 Apr 2008 15:34:58 +0000 (+0100) Subject: GDP: NR 2 Reorganisation: Chords comments X-Git-Tag: release/2.11.45-1~25^2~2 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=27675f5a902eafa2f203af5d0848e9ddfc87685c;p=lilypond.git GDP: NR 2 Reorganisation: Chords comments --- diff --git a/Documentation/user/chords.itely b/Documentation/user/chords.itely index 7954d6c379..c1f956dae6 100644 --- a/Documentation/user/chords.itely +++ b/Documentation/user/chords.itely @@ -128,6 +128,37 @@ Note that the duration of chords must be specified outside the 2 @end example +@c TODO Generate snippet based on the following +@c and add explanation -td + +Custom chord names may be generated: + +@lilypond[quote,ragged-right,verbatim,ragged-right] +FGGChordNames = { + 1-\markup { \super "maj9" } + 1-\markup { \super "6(add9)" } +} +chExceptions = #(append +(sequential-music-to-chord-exceptions +FGGChordNames #t) ignatzekExceptions) + +chordStuff = \chordmode +{ +% standard names +g1:maj9 +g1:6.9 +% names with FGG's custom exceptions +\set chordNameExceptions = #chExceptions +g1:maj9 +g1:6.9 +} + +\score +{ +\new ChordNames \chordStuff +} +@end lilypond + @node Building chords @subsubsection Building chords