8 tagline = "LilyPond example file by Amelie Zapf, Berlin 07/07/2003"
9 texidoc = "Jazz tune for combo (horns, piano, drums, bass, guitar)."
15 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
18 \property Voice.NoteHead \override #'style = #'slash
19 \property Voice.Stem \override #'length = #0 }
21 \property Voice.NoteHead \revert #'style
22 \property Voice.Stem \revert #'length }
23 cr = \property Voice.NoteHead \override #'style = #'cross
24 ncr = \property Voice.NoteHead \revert #'style
26 %% insert chord name style stuff here.
30 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
36 Key = \notes \key c \major
38 % ############ Horns ############
39 % ------ Trumpet ------
40 trpt = \notes \transpose c d \relative c'' {
45 trpharmony = \chords \transpose c' d { \jzchords }
48 \property Staff.instrument = #"Trumpet"
55 % ------ Alto Saxophone ------
56 alto = \notes \transpose c a \relative c' {
61 altoharmony = \chords \transpose c' a { \jzchords }
64 \property Staff.instrument = #"Alto Sax"
71 % ------ Baritone Saxophone ------
72 bari = \notes \transpose c a' \relative c {
74 c1 c \sl d4^"Solo" d d d \nsl
77 bariharmony = \chords \transpose c' a { \jzchords s1 s d2:maj e:m7 }
80 \property Staff.instrument = #"Bari Sax"
86 % ------ Trombone ------
87 tbone = \notes \relative c {
92 tboneharmony = \chords { \jzchords }
95 \property Staff.instrument = #"Trombone"
101 % ############ Rhythm Section #############
102 % ------ Guitar ------
103 gtr = \notes \relative c'' {
105 c1 \sl b4 b b b \nsl c1
108 gtrharmony = \chords { \jzchords
114 \property Staff.instrument = #"Guitar"
121 %% ------ Piano ------
122 rhUpper = \notes \relative c'' {
128 rhLower = \notes \relative c' {
134 lhUpper = \notes \relative c' {
140 lhLower = \notes \relative c {
149 \property Staff.midiInstrument = "acoustic grand"
151 \context Voice = one \rhUpper
152 \context Voice = two \rhLower
159 \property Staff.midiInstrument = "acoustic grand"
161 \context Voice = one \lhUpper
162 \context Voice = two \lhLower
167 \context PianoStaff <<
168 \property PianoStaff.instrument = #"Piano"
169 \context Staff = upper \PianoRH
170 \context Staff = lower \PianoLH
174 % ------ Bass Guitar ------
175 bass = \notes \relative c {
182 \property Staff.instrument = #"Bass"
189 % ------ Drums ------
190 \include "drumpitch-init.ly"
192 hh4 <<hh4 sn>> hh4 <<hh4 sn>> hh4 <<hh4 sn>> hh4 <<hh4 sn>>
193 hh4 <<hh4 sn>> hh4 <<hh4 sn>>
196 bd4 s bd s bd s bd s bd s bd s
199 drums = \context Staff = drums {
201 \property Staff.instrument = #"Drums"
204 \context Voice = first { \voiceOne \up }
205 \context Voice = second { \voiceTwo \down }
209 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
213 \context StaffGroup = horns <<
214 \context Staff = trumpet \trumpet
216 \context Staff = altosax \altosax
218 \context ChordNames = barichords \bariharmony
220 \context Staff = barisax \barisax
222 \context Staff = trombone \trombone
225 \context StaffGroup = rhythm <<
226 \context ChordNames = chords \gtrharmony
227 \context Staff = guitar \guitar
228 \context PianoStaff = piano \piano
230 \context Staff = bass \bass
232 \apply #(drums->paper 'drums) \drums
235 \midi { \tempo 4 = 75 }
238 \translator { \RemoveEmptyStaffContext }
241 BarNumber \override #'padding = #3
242 RehearsalMark \override #'padding = #2