]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/jazz-combo-template.ly
makelsr: update (with -d).
[lilypond.git] / Documentation / snippets / jazz-combo-template.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.46"
5
6 \header {
7   lsrtags = "keyboards, percussion, fretted-strings, template"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
10   texidoces = "
11 Ésta es una plantilla bastante avanzada, para un conjunto de
12 jazz. Observe que la notación de todos los instrumentos está en
13 @code{\\key c \\major} (Do mayor). Esto se refiere al tono de
14 concierto; la armadura se transporta automáticamente si la música está
15 dentro de una sección @code{\\transpose}.
16
17 "
18   doctitlees = "Plantilla para combo de jazz"
19
20
21 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
22   texidocde = "
23 Hier ist ein ziemlich kompliziertes Beispiel für ein Jazz-Ensemble. Achtung:
24 Alle Instrumente sind in @code{\\key c \major} (C-Dur) notiert. Das bezieht sich
25 auf die klingende Musik: LilyPond transponiert die Tonart automatisch, wenn
26 sich die Noten innerhalb eines @code{\\transpose}-Abschnitts befinden.
27
28 "
29
30   doctitlede = "Vorlage für Jazz-Combo"
31
32 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
33   texidocfr = "
34 Bien que compliqué de prime abord, voici un canevas tout à fait indiqué
35 pour les ensembles de jazz.  Vous noterez que tous les instruments sont
36 notés en ut (@code{\\key c \major}), la tonalité de concert.  Les notes
37 seront automatiquement transposée dès lors qu'elles seront inscrites
38 dans une section @code{\\transpose}.
39
40 "
41   doctitlefr = "Symboles de jazz"
42
43   texidoc = "
44 This is quite an advanced template, for a jazz ensemble. Note that all
45 instruments are notated in @code{\\key c \\major}. This refers to the
46 key in concert pitch; the key will be automatically transposed if the
47 music is within a @code{\\transpose} section.
48
49 "
50   doctitle = "Jazz combo template"
51 } % begin verbatim
52
53 \header {
54   title = "Song"
55   subtitle = "(tune)"
56   composer = "Me"
57   meter = "moderato"
58   piece = "Swing"
59   tagline = \markup {
60     \column {
61       "LilyPond example file by Amelie Zapf,"
62       "Berlin 07/07/2003"
63     }
64   }
65 }
66
67 %#(set-global-staff-size 16)
68 \include "english.ly"
69
70 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
71
72 sl = {
73   \override NoteHead #'style = #'slash
74   \override Stem #'transparent = ##t
75 }
76 nsl = {
77   \revert NoteHead #'style
78   \revert Stem #'transparent
79 }
80 crOn = \override NoteHead #'style = #'cross
81 crOff = \revert NoteHead #'style
82
83 %% insert chord name style stuff here.
84
85 jazzChords = { }
86
87 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
88
89 global = { \time 4/4 }
90
91 Key = { \key c \major }
92
93 % ############ Horns ############
94
95 % ------ Trumpet ------
96 trpt = \transpose c d \relative c'' {
97   \Key
98   c1 | c | c |
99 }
100 trpHarmony = \transpose c' d {
101   \jazzChords
102 }
103 trumpet = {
104   \global
105   \set Staff.instrumentName = #"Trumpet"
106   \clef treble
107   <<
108     \trpt
109   >>
110 }
111
112 % ------ Alto Saxophone ------
113 alto = \transpose c a \relative c' {
114   \Key
115   c1 | c | c |
116 }
117 altoHarmony = \transpose c' a {
118   \jazzChords
119 }
120 altoSax = {
121   \global
122   \set Staff.instrumentName = #"Alto Sax"
123   \clef treble
124   <<
125     \alto
126   >>
127 }
128
129 % ------ Baritone Saxophone ------
130 bari = \transpose c a' \relative c {
131   \Key
132   c1
133   c1
134   \sl
135   d4^"Solo" d d d
136   \nsl
137 }
138 bariHarmony = \transpose c' a \chordmode {
139   \jazzChords s1 s d2:maj e:m7
140 }
141 bariSax = {
142   \global
143   \set Staff.instrumentName = #"Bari Sax"
144   \clef treble
145   <<
146     \bari
147   >>
148 }
149
150 % ------ Trombone ------
151 tbone = \relative c {
152   \Key
153   c1 | c | c
154 }
155 tboneHarmony = \chordmode {
156   \jazzChords
157 }
158 trombone = {
159   \global
160   \set Staff.instrumentName = #"Trombone"
161   \clef bass
162   <<
163     \tbone
164   >>
165 }
166
167 % ############ Rhythm Section #############
168
169 % ------ Guitar ------
170 gtr = \relative c'' {
171   \Key
172   c1
173   \sl
174   b4 b b b
175   \nsl
176   c1
177 }
178 gtrHarmony = \chordmode {
179   \jazzChords
180   s1 c2:min7+ d2:maj9
181 }
182 guitar = {
183   \global
184   \set Staff.instrumentName = #"Guitar"
185   \clef treble
186   <<
187     \gtr
188   >>
189 }
190
191 %% ------ Piano ------
192 rhUpper = \relative c'' {
193   \voiceOne
194   \Key
195   c1 | c | c
196 }
197 rhLower = \relative c' {
198   \voiceTwo
199   \Key
200   e1 | e | e
201 }
202
203 lhUpper = \relative c' {
204   \voiceOne
205   \Key
206   g1 | g | g
207 }
208 lhLower = \relative c {
209   \voiceTwo
210   \Key
211   c1 | c | c
212 }
213
214 PianoRH = {
215   \clef treble
216   \global
217   \set Staff.midiInstrument = #"acoustic grand"
218   <<
219     \new Voice = "one" \rhUpper
220     \new Voice = "two" \rhLower
221   >>
222 }
223 PianoLH = {
224   \clef bass
225   \global
226   \set Staff.midiInstrument = #"acoustic grand"
227   <<
228     \new Voice = "one" \lhUpper
229     \new Voice = "two" \lhLower
230   >>
231 }
232
233 piano = {
234   <<
235     \set PianoStaff.instrumentName = #"Piano"
236     \new Staff = "upper" \PianoRH
237     \new Staff = "lower" \PianoLH
238   >>
239 }
240
241 % ------ Bass Guitar ------
242 Bass = \relative c {
243   \Key
244   c1 | c | c
245 }
246 bass = {
247   \global
248   \set Staff.instrumentName = #"Bass"
249   \clef bass
250   <<
251     \Bass
252   >>
253 }
254
255 % ------ Drums ------
256 up = \drummode {
257   \voiceOne
258   hh4 <hh sn> hh <hh sn>
259   hh4 <hh sn> hh <hh sn>
260   hh4 <hh sn> hh <hh sn>
261 }
262 down = \drummode {
263   \voiceTwo
264   bd4 s bd s
265   bd4 s bd s
266   bd4 s bd s
267 }
268
269 drumContents = {
270   \global
271   <<
272     \set DrumStaff.instrumentName = #"Drums"
273     \new DrumVoice \up
274     \new DrumVoice \down
275   >>
276 }
277
278 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
279
280 \score {
281   <<
282     \new StaffGroup = "horns" <<
283       \new Staff = "trumpet" \trumpet
284       \new Staff = "altosax" \altoSax
285       \new ChordNames = "barichords" \bariHarmony
286       \new Staff = "barisax" \bariSax
287       \new Staff = "trombone" \trombone
288     >>
289
290     \new StaffGroup = "rhythm" <<
291       \new ChordNames = "chords" \gtrHarmony
292       \new Staff = "guitar" \guitar
293       \new PianoStaff = "piano" \piano
294       \new Staff = "bass" \bass
295       \new DrumStaff \drumContents
296     >>
297   >>
298   \layout {
299     \context { \Staff \RemoveEmptyStaves }
300     \context {
301       \Score
302       \override BarNumber #'padding = #3
303       \override RehearsalMark #'padding = #2
304       skipBars = ##t
305     }
306   }
307   \midi { }
308 }
309