lilypond-1.3.118
[lilypond.git] / input / test / jazz-chords.ly
blobf1fc994149a8bcf8e0cbd992eaa7428729909bc1
2 \version "1.3.117";
4 %% This should only be necessary if your kpathsea setup is broken
6 % Make sure the correct msamxx.tfm is where lily can find it
7 % (ie cwd or lily's tfm dir).
9 % For normal (20pt) paper, do
11 % cp locate `msam9.tfm` LILYPONDPREFIXxtfm
14 chord = \notes\transpose c''\chords{
15 \property Chordnames.Chordname \override #'style = #'jazz
16 % major chords
18 c:6 % 6 = major triad with added sixth
19 c:maj % triangle = maj
20 c:6.9^7 % 6/9
21 c:9^7 % add9
23 % minor chords
24 c:m % m = minor triad
25 c:m.6 % m6 = minor triad with added sixth
26 c:m.7+ % m triangle = minor major seventh chord
27 c:3-.6.9^7 % m6/9
28 c:m.7 % m7
29 c:3-.9 % m9
30 c:3-.9^7 % madd9
32 % dominant chords
33 c:7 % 7 = dominant
34 c:7.5+ % +7 = augmented dominant
35 c:7.5- % 7b5 = hard diminished dominant
36 c:9 % 7(9)
37 c:9- % 7(b9)
38 c:9+ % 7(#9)
39 c:13^9.11 % 7(13)
40 c:13-^9.11 % 7(b13)
41 c:13^11 % 7(9,13)
42 c:13.9-^11 % 7(b9,13)
43 c:13.9+^11 % 7(#9,13)
44 c:13-^11 % 7(9,b13)
45 c:13-.9-^11 % 7(b9,b13)
46 c:13-.9+^11 % 7(#9,b13)
48 % half diminished chords
49 c:m5-.7 % slashed o = m7b5
50 c:9.3-.5- % o/7(pure 9)
52 % diminished chords
53 c:m5-.7- % o = diminished seventh chord
57 \score{
59 \context ChordNames \chord
60 \context Staff \chord
62 \paper
64 \translator { \ChordNamesContext ChordName \override #'word-space = #1 }
65 % \translator { \LyricsContext textScriptWordSpace = #0.3 }