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