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