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