]> git.donarmstrong.com Git - lilypond.git/blob - input/test/jazz-chords.ly
3eb5a6563939ce344ab5c40378bd6f898a545645
[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 scheme = \chords {
15   % major chords
16   c
17   c:6           % 6 = major triad with added sixth
18   c:maj         % triangle = maj
19   c:6.9^7       % 6/9 
20   c:9^7         % add9
21
22   % minor chords
23   c:m           % m = minor triad
24   c:m.6         % m6 = minor triad with added sixth
25   c:m.7+        % m triangle = minor major seventh chord
26   c:3-.6.9^7    % m6/9 
27   c:m.7         % m7
28   c:3-.9        % m9
29   c:3-.9^7      % madd9
30
31   % dominant chords
32   c:7           % 7 = dominant
33   c:7.5+        % +7 = augmented dominant
34   c:7.5-        % 7b5 = hard diminished dominant
35   c:9           % 7(9)
36   c:9-          % 7(b9)
37   c:9+          % 7(#9)
38   c:13^9.11     % 7(13)
39   c:13-^9.11    % 7(b13)
40   c:13^11       % 7(9,13)
41   c:13.9-^11    % 7(b9,13)
42   c:13.9+^11    % 7(#9,13)
43   c:13-^11      % 7(9,b13)
44   c:13-.9-^11   % 7(b9,b13)
45   c:13-.9+^11   % 7(#9,b13)
46
47   % half diminished chords
48   c:m5-.7               % slashed o = m7b5
49   c:9.3-.5-     % o/7(pure 9)
50
51   % diminished chords
52   c:m5-.7-      % o = diminished seventh chord
53 }
54
55 \score {
56   \notes <
57     \context ChordNames \scheme
58     \context Staff \transpose c'' \scheme
59   >
60   \paper {
61     \translator { 
62       \ChordNamesContext
63       ChordName \override #'word-space = #1 
64       ChordName \override #'style = #'jazz
65     }
66   }
67 }