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