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