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.
6 lsrtags = "keyboards, percussion, template"
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.
15 doctitle = "Jazz combo template"
25 "LilyPond example file by Amelie Zapf,"
29 texidoc = "Jazz tune for combo
30 (horns, guitar, piano, bass, drums)."
33 #(set-global-staff-size 16)
36 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
39 \override NoteHead #'style = #'slash
40 \override Stem #'transparent = ##t
43 \revert NoteHead #'style
44 \revert Stem #'transparent
46 cr = \override NoteHead #'style = #'cross
47 ncr = \revert NoteHead #'style
49 %% insert chord name style stuff here.
54 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
60 Key = { \key c \major }
62 % ############ Horns ############
64 % ------ Trumpet ------
65 trpt = \transpose c d \relative c'' {
69 trpharmony = \transpose c' d {
74 \set Staff.instrumentName = #"Trumpet"
81 % ------ Alto Saxophone ------
82 alto = \transpose c a \relative c' {
86 altoharmony = \transpose c' a {
91 \set Staff.instrumentName = #"Alto Sax"
98 % ------ Baritone Saxophone ------
99 bari = \transpose c a' \relative c {
101 c1 c \sl d4^"Solo" d d d \nsl
103 bariharmony = \transpose c' a \chordmode {
104 \jzchords s1 s d2:maj e:m7
108 \set Staff.instrumentName = #"Bari Sax"
115 % ------ Trombone ------
116 tbone = \relative c {
120 tboneharmony = \chordmode {
125 \set Staff.instrumentName = #"Trombone"
132 % ############ Rhythm Section #############
134 % ------ Guitar ------
135 gtr = \relative c'' {
137 c1 \sl b4 b b b \nsl c1
139 gtrharmony = \chordmode {
145 \set Staff.instrumentName = #"Guitar"
152 %% ------ Piano ------
153 rhUpper = \relative c'' {
158 rhLower = \relative c' {
164 lhUpper = \relative c' {
169 lhLower = \relative c {
178 \set Staff.midiInstrument = "acoustic grand"
180 \new Voice = "one" \rhUpper
181 \new Voice = "two" \rhLower
187 \set Staff.midiInstrument = "acoustic grand"
189 \new Voice = "one" \lhUpper
190 \new Voice = "two" \lhLower
196 \set PianoStaff.instrumentName = #"Piano"
197 \new Staff = "upper" \PianoRH
198 \new Staff = "lower" \PianoLH
202 % ------ Bass Guitar ------
209 \set Staff.instrumentName = #"Bass"
216 % ------ Drums ------
218 hh4 <hh sn>4 hh <hh sn> hh <hh sn>4
225 bd4 s bd s bd s bd s bd s bd s
231 \set DrumStaff.instrumentName = #"Drums"
232 \new DrumVoice { \voiceOne \up }
233 \new DrumVoice { \voiceTwo \down }
237 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
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
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 }
259 \context { \RemoveEmptyStaffContext }
262 \override BarNumber #'padding = #3
263 \override RehearsalMark #'padding = #2