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