]> git.donarmstrong.com Git - lilypond.git/blob - input/test/jazz-chords.ly
release: 1.3.120
[lilypond.git] / input / test / jazz-chords.ly
1
2 \version "1.3.117";
3
4 %% This should only be necessary if your kpathsea setup is broken
5 %
6 % Make sure the correct msamxx.tfm is where lily can find it
7 % (ie cwd or lily's tfm dir).
8 %
9 % For normal (20pt) paper, do
10 %
11 %   cp locate `msam9.tfm` LILYPONDPREFIXxtfm
12 %
13
14 chord =  \notes\transpose c''\chords{
15 \property ChordNames.ChordName \override #'style = #'jazz
16 % major chords
17 c
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
22
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
31
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)
47
48 % half diminished chords
49 c:m5-.7         % slashed o = m7b5
50 c:9.3-.5-       % o/7(pure 9)
51
52 % diminished chords
53 c:m5-.7-        % o = diminished seventh chord
54
55 }
56
57 \score{
58 <
59 \context ChordNames \chord
60 \context Staff \chord
61 >
62     \paper
63     {
64         \translator { \ChordNamesContext ChordName \override #'word-space = #1 }
65 %        \translator { \LyricsContext textScriptWordSpace = #0.3 }
66     }
67 }