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 = "piano-music, percussion, guitar, template"
8 This is quite an advanced template, for a jazz ensemble. Note that all
9 instruments are notated in \\key c \\major. This refers to the key in
10 concert pitch; LilyPond will automatically transpose the key if the
11 music is within a \\transpose section.
22 "LilyPond example file by Amelie Zapf,"
26 texidoc = "Jazz tune for combo
27 (horns, guitar, piano, bass, drums)."
30 #(set-global-staff-size 16)
33 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
36 \override NoteHead #'style = #'slash
37 \override Stem #'transparent = ##t
40 \revert NoteHead #'style
41 \revert Stem #'transparent
43 cr = \override NoteHead #'style = #'cross
44 ncr = \revert NoteHead #'style
46 %% insert chord name style stuff here.
51 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
57 Key = { \key c \major }
59 % ############ Horns ############
61 % ------ Trumpet ------
62 trpt = \transpose c d \relative c'' {
66 trpharmony = \transpose c' d {
71 \set Staff.instrumentName = #"Trumpet"
78 % ------ Alto Saxophone ------
79 alto = \transpose c a \relative c' {
83 altoharmony = \transpose c' a {
88 \set Staff.instrumentName = #"Alto Sax"
95 % ------ Baritone Saxophone ------
96 bari = \transpose c a' \relative c {
98 c1 c \sl d4^"Solo" d d d \nsl
100 bariharmony = \transpose c' a \chordmode {
101 \jzchords s1 s d2:maj e:m7
105 \set Staff.instrumentName = #"Bari Sax"
112 % ------ Trombone ------
113 tbone = \relative c {
117 tboneharmony = \chordmode {
122 \set Staff.instrumentName = #"Trombone"
129 % ############ Rhythm Section #############
131 % ------ Guitar ------
132 gtr = \relative c'' {
134 c1 \sl b4 b b b \nsl c1
136 gtrharmony = \chordmode {
142 \set Staff.instrumentName = #"Guitar"
149 %% ------ Piano ------
150 rhUpper = \relative c'' {
155 rhLower = \relative c' {
161 lhUpper = \relative c' {
166 lhLower = \relative c {
175 \set Staff.midiInstrument = "acoustic grand"
177 \new Voice = "one" \rhUpper
178 \new Voice = "two" \rhLower
184 \set Staff.midiInstrument = "acoustic grand"
186 \new Voice = "one" \lhUpper
187 \new Voice = "two" \lhLower
193 \set PianoStaff.instrumentName = #"Piano"
194 \new Staff = "upper" \PianoRH
195 \new Staff = "lower" \PianoLH
199 % ------ Bass Guitar ------
206 \set Staff.instrumentName = #"Bass"
213 % ------ Drums ------
215 hh4 <hh sn>4 hh <hh sn> hh <hh sn>4
222 bd4 s bd s bd s bd s bd s bd s
228 \set DrumStaff.instrumentName = #"Drums"
229 \new DrumVoice { \voiceOne \up }
230 \new DrumVoice { \voiceTwo \down }
234 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
238 \new StaffGroup = "horns" <<
239 \new Staff = "trumpet" \trumpet
240 \new Staff = "altosax" \altosax
241 \new ChordNames = "barichords" \bariharmony
242 \new Staff = "barisax" \barisax
243 \new Staff = "trombone" \trombone
246 \new StaffGroup = "rhythm" <<
247 \new ChordNames = "chords" \gtrharmony
248 \new Staff = "guitar" \guitar
249 \new PianoStaff = "piano" \piano
250 \new Staff = "bass" \bass
251 \new DrumStaff { \drumContents }
256 \context { \RemoveEmptyStaffContext }
259 \override BarNumber #'padding = #3
260 \override RehearsalMark #'padding = #2