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