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