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