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