]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/jazz-combo-template.ly
LSR: Update.
[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.12.3"
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
38 \header {
39   title = "Song"
40   subtitle = "(tune)"
41   composer = "Me"
42   meter = "moderato"
43   piece = "Swing"
44   tagline = \markup {
45     \column {
46       "LilyPond example file by Amelie Zapf,"
47       "Berlin 07/07/2003"
48     }
49   }
50 }
51
52 %#(set-global-staff-size 16)
53 \include "english.ly"
54
55 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
56
57 sl = {
58   \override NoteHead #'style = #'slash
59   \override Stem #'transparent = ##t
60 }
61 nsl = {
62   \revert NoteHead #'style
63   \revert Stem #'transparent
64 }
65 crOn = \override NoteHead #'style = #'cross
66 crOff = \revert NoteHead #'style
67
68 %% insert chord name style stuff here.
69
70 jazzChords = { }
71
72 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
73
74 global = { \time 4/4 }
75
76 Key = { \key c \major }
77
78 % ############ Horns ############
79
80 % ------ Trumpet ------
81 trpt = \transpose c d \relative c'' {
82   \Key
83   c1 | c | c |
84 }
85 trpHarmony = \transpose c' d {
86   \jazzChords
87 }
88 trumpet = {
89   \global
90   \set Staff.instrumentName = #"Trumpet"
91   \clef treble
92   <<
93     \trpt
94   >>
95 }
96
97 % ------ Alto Saxophone ------
98 alto = \transpose c a \relative c' {
99   \Key
100   c1 | c | c |
101 }
102 altoHarmony = \transpose c' a {
103   \jazzChords
104 }
105 altoSax = {
106   \global
107   \set Staff.instrumentName = #"Alto Sax"
108   \clef treble
109   <<
110     \alto
111   >>
112 }
113
114 % ------ Baritone Saxophone ------
115 bari = \transpose c a' \relative c {
116   \Key
117   c1
118   c1
119   \sl
120   d4^"Solo" d d d
121   \nsl
122 }
123 bariHarmony = \transpose c' a \chordmode {
124   \jazzChords s1 s d2:maj e:m7
125 }
126 bariSax = {
127   \global
128   \set Staff.instrumentName = #"Bari Sax"
129   \clef treble
130   <<
131     \bari
132   >>
133 }
134
135 % ------ Trombone ------
136 tbone = \relative c {
137   \Key
138   c1 | c | c
139 }
140 tboneHarmony = \chordmode {
141   \jazzChords
142 }
143 trombone = {
144   \global
145   \set Staff.instrumentName = #"Trombone"
146   \clef bass
147   <<
148     \tbone
149   >>
150 }
151
152 % ############ Rhythm Section #############
153
154 % ------ Guitar ------
155 gtr = \relative c'' {
156   \Key
157   c1
158   \sl
159   b4 b b b
160   \nsl
161   c1
162 }
163 gtrHarmony = \chordmode {
164   \jazzChords
165   s1 c2:min7+ d2:maj9
166 }
167 guitar = {
168   \global
169   \set Staff.instrumentName = #"Guitar"
170   \clef treble
171   <<
172     \gtr
173   >>
174 }
175
176 %% ------ Piano ------
177 rhUpper = \relative c'' {
178   \voiceOne
179   \Key
180   c1 | c | c
181 }
182 rhLower = \relative c' {
183   \voiceTwo
184   \Key
185   e1 | e | e
186 }
187
188 lhUpper = \relative c' {
189   \voiceOne
190   \Key
191   g1 | g | g
192 }
193 lhLower = \relative c {
194   \voiceTwo
195   \Key
196   c1 | c | c
197 }
198
199 PianoRH = {
200   \clef treble
201   \global
202   \set Staff.midiInstrument = #"acoustic grand"
203   <<
204     \new Voice = "one" \rhUpper
205     \new Voice = "two" \rhLower
206   >>
207 }
208 PianoLH = {
209   \clef bass
210   \global
211   \set Staff.midiInstrument = "acoustic grand"
212   <<
213     \new Voice = "one" \lhUpper
214     \new Voice = "two" \lhLower
215   >>
216 }
217
218 piano = {
219   <<
220     \set PianoStaff.instrumentName = #"Piano"
221     \new Staff = "upper" \PianoRH
222     \new Staff = "lower" \PianoLH
223   >>
224 }
225
226 % ------ Bass Guitar ------
227 Bass = \relative c {
228   \Key
229   c1 | c | c
230 }
231 bass = {
232   \global
233   \set Staff.instrumentName = #"Bass"
234   \clef bass
235   <<
236     \Bass
237   >>
238 }
239
240 % ------ Drums ------
241 up = \drummode {
242   \voiceOne
243   hh4 <hh sn> hh <hh sn>
244   hh4 <hh sn> hh <hh sn>
245   hh4 <hh sn> hh <hh sn>
246 }
247 down = \drummode {
248   \voiceTwo
249   bd4 s bd s
250   bd4 s bd s
251   bd4 s bd s
252 }
253
254 drumContents = {
255   \global
256   <<
257     \set DrumStaff.instrumentName = #"Drums"
258     \new DrumVoice \up
259     \new DrumVoice \down
260   >>
261 }
262
263 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
264
265 \score {
266   <<
267     \new StaffGroup = "horns" <<
268       \new Staff = "trumpet" \trumpet
269       \new Staff = "altosax" \altoSax
270       \new ChordNames = "barichords" \bariHarmony
271       \new Staff = "barisax" \bariSax
272       \new Staff = "trombone" \trombone
273     >>
274     
275     \new StaffGroup = "rhythm" <<
276       \new ChordNames = "chords" \gtrHarmony
277       \new Staff = "guitar" \guitar
278       \new PianoStaff = "piano" \piano
279       \new Staff = "bass" \bass
280       \new DrumStaff \drumContents
281     >>
282   >>
283   
284   \layout {
285     \context { \RemoveEmptyStaffContext }
286     \context {
287       \Score
288       \override BarNumber #'padding = #3
289       \override RehearsalMark #'padding = #2
290       skipBars = ##t
291     }
292   }
293   
294   \midi { }
295 }
296