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