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