]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/user/appendices.itely
release: 1.3.138
[lilypond.git] / Documentation / user / appendices.itely
1 @node Refman appendix
2 @appendix Refman appendix
3
4 @menu
5 * Lyrics mode definition::      
6 * American Chords ::            
7 * Jazz chords::                 
8 * MIDI instruments::            
9 @end menu
10
11 @node Lyrics mode definition
12 @section Lyrics mode definition
13
14 A word in Lyrics mode begins with: an alphabetic character, @code{_},
15 @code{?}, @code{!}, @code{:}, @code{'}, the control characters @code{^A}
16 through @code{^F}, @code{^Q} through @code{^W}, @code{^Y}, @code{^^},
17 any 8-bit character with ASCII code over 127, or a two-character
18 combination of a backslash followed by one of @code{`}, @code{'},
19 @code{"}, or @code{^}.
20
21 Subsequent characters of a word can be any character that is not a digit
22 and not white space.  One important consequence of this is that a word
23 can end with `@code{@}}', which may be confusing. However, LilyPond will
24 issue a warning.  Any @code{_} character which appears in an unquoted
25 word is converted to a space.  This provides a mechanism for introducing
26 spaces into words without using quotes.  Quoted words can also be used
27 in Lyrics mode to specify words that cannot be written with the above
28 rules.
29
30
31 @node American Chords 
32 @section American Chords
33
34
35 @quotation
36 @lilypond[verbatim]
37 \include "english.ly"
38
39 scheme = \chords {
40   c         % Major triad
41   cs:m      % Minor triad
42   df:m5-    % Diminished triad
43   c:5^3     % Root-fifth chord
44   c:4^3     % Suspended fourth triad
45   c:5+      % Augmented triad
46   c:2^3     % "2" chord
47   c:m5-.7-  % Diminished seventh
48   c:7+      % Major seventh
49   c:7.4^3   % Dominant seventh suspended fourth
50   c:5+.7    % Augmented dominant seventh
51   c:m5-.7   % "Half" diminished seventh
52   c:5-.7    % Dominant seventh flat fifth
53   c:5-.7+   % Major seventh flat fifth
54   c:m7+     % Minor-major seventh
55   c:m7      % Minor seventh
56   c:7       % Dominant seventh
57   c:6       % Major sixth
58   c:m6      % Minor sixth
59   c:9^7     % Major triad w/added ninth
60   c:6.9^7   % Six/Nine chord
61   c:9       % Dominant ninth 
62   c:7+.9    % Major ninth
63   c:m7.9    % Minor ninth
64 }
65
66 \score {
67   \notes <
68     \context ChordNames \scheme
69     \context Staff \transpose c'' \scheme
70   >
71   \paper {
72     \translator { 
73       \ChordNamesContext
74       ChordName \override #'word-space = #1 
75       ChordName \override #'style = #'american
76     }
77   }
78 }
79 @end lilypond
80 @end quotation
81
82 @node Jazz chords
83 @section Jazz chords
84
85 Similarly, Jazz style chord names are implemented as a variation on
86 American style names:
87 @quotation
88 @lilypond[verbatim]
89 scheme = \chords {
90   % major chords
91   c
92   c:6           % 6 = major triad with added sixth
93   c:maj         % triangle = maj
94   c:6.9^7       % 6/9 
95   c:9^7         % add9
96
97   % minor chords
98   c:m           % m = minor triad
99   c:m.6         % m6 = minor triad with added sixth
100   c:m.7+        % m triangle = minor major seventh chord
101   c:3-.6.9^7    % m6/9 
102   c:m.7         % m7
103   c:3-.9        % m9
104   c:3-.9^7      % madd9
105
106   % dominant chords
107   c:7           % 7 = dominant
108   c:7.5+        % +7 = augmented dominant
109   c:7.5-        % 7b5 = hard diminished dominant
110   c:9           % 7(9)
111   c:9-          % 7(b9)
112   c:9+          % 7(#9)
113   c:13^9.11     % 7(13)
114   c:13-^9.11    % 7(b13)
115   c:13^11       % 7(9,13)
116   c:13.9-^11    % 7(b9,13)
117   c:13.9+^11    % 7(#9,13)
118   c:13-^11      % 7(9,b13)
119   c:13-.9-^11   % 7(b9,b13)
120   c:13-.9+^11   % 7(#9,b13)
121
122   % half diminished chords
123   c:m5-.7               % slashed o = m7b5
124   c:9.3-.5-     % o/7(pure 9)
125
126   % diminished chords
127   c:m5-.7-      % o = diminished seventh chord
128 }
129
130 \score {
131   \notes <
132     \context ChordNames \scheme
133     \context Staff \transpose c'' \scheme
134   >
135   \paper {
136     \translator { 
137       \ChordNamesContext
138       ChordName \override #'word-space = #1 
139       ChordName \override #'style = #'jazz
140     }
141   }
142 }
143 @end lilypond
144 @end quotation
145
146
147 [barnumbers look silly, fixme.]
148
149
150
151 @node MIDI instruments
152 @section MIDI instruments
153
154 [todo: make nicely formatted table]
155
156 @example 
157 "acoustic grand"            "contrabass"           "lead 7 (fifths)"
158 "bright acoustic"           "tremolo strings"      "lead 8 (bass+lead)"
159 "electric grand"            "pizzicato strings"    "pad 1 (new age)"
160 "honky-tonk"                "orchestral strings"   "pad 2 (warm)"
161 "electric piano 1"          "timpani"              "pad 3 (polysynth)"
162 "electric piano 2"          "string ensemble 1"    "pad 4 (choir)"
163 "harpsichord"               "string ensemble 2"    "pad 5 (bowed)"
164 "clav"                      "synthstrings 1"       "pad 6 (metallic)"
165 "celesta"                   "synthstrings 2"       "pad 7 (halo)"
166 "glockenspiel"              "choir aahs"           "pad 8 (sweep)"
167 "music box"                 "voice oohs"           "fx 1 (rain)"
168 "vibraphone"                "synth voice"          "fx 2 (soundtrack)"
169 "marimba"                   "orchestra hit"        "fx 3 (crystal)"
170 "xylophone"                 "trumpet"              "fx 4 (atmosphere)"
171 "tubular bells"             "trombone"             "fx 5 (brightness)"
172 "dulcimer"                  "tuba"                 "fx 6 (goblins)"
173 "drawbar organ"             "muted trumpet"        "fx 7 (echoes)"
174 "percussive organ"          "french horn"          "fx 8 (sci-fi)"
175 "rock organ"                "brass section"        "sitar"
176 "church organ"              "synthbrass 1"         "banjo"
177 "reed organ"                "synthbrass 2"         "shamisen"
178 "accordion"                 "soprano sax"          "koto"
179 "harmonica"                 "alto sax"             "kalimba"
180 "concertina"                "tenor sax"            "bagpipe"
181 "acoustic guitar (nylon)"   "baritone sax"         "fiddle"
182 "acoustic guitar (steel)"   "oboe"                 "shanai"
183 "electric guitar (jazz)"    "english horn"         "tinkle bell"
184 "electric guitar (clean)"   "bassoon"              "agogo"
185 "electric guitar (muted)"   "clarinet"             "steel drums"
186 "overdriven guitar"         "piccolo"              "woodblock"
187 "distorted guitar"          "flute"                "taiko drum"
188 "guitar harmonics"          "recorder"             "melodic tom"
189 "acoustic bass"             "pan flute"            "synth drum"
190 "electric bass (finger)"    "blown bottle"         "reverse cymbal"
191 "electric bass (pick)"      "skakuhachi"           "guitar fret noise"
192 "fretless bass"             "whistle"              "breath noise"
193 "slap bass 1"               "ocarina"              "seashore"
194 "slap bass 2"               "lead 1 (square)"      "bird tweet"
195 "synth bass 1"              "lead 2 (sawtooth)"    "telephone ring"
196 "synth bass 2"              "lead 3 (calliope)"    "helicopter"
197 "violin"                    "lead 4 (chiff)"       "applause"
198 "viola"                     "lead 5 (charang)"     "gunshot"
199 "cello"                     "lead 6 (voice)" 
200 @end example