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 %% Tags: piano-music, percussion, guitar, template
7 This is quite an advanced template, for a jazz ensemble. Note that all
8 instruments are notated in \\key c \\major. This refers to the key in
9 concert pitch; LilyPond will automatically transpose the key if the
10 music is within a \\transpose section.
21 "LilyPond example file by Amelie Zapf,"
25 texidoc = "Jazz tune for combo
26 (horns, guitar, piano, bass, drums)."
29 #(set-global-staff-size 16)
32 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
35 \override NoteHead #'style = #'slash
36 \override Stem #'transparent = ##t
39 \revert NoteHead #'style
40 \revert Stem #'transparent
42 cr = \override NoteHead #'style = #'cross
43 ncr = \revert NoteHead #'style
45 %% insert chord name style stuff here.
50 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
56 Key = { \key c \major }
58 % ############ Horns ############
60 % ------ Trumpet ------
61 trpt = \transpose c d \relative c'' {
65 trpharmony = \transpose c' d {
70 \set Staff.instrumentName = #"Trumpet"
77 % ------ Alto Saxophone ------
78 alto = \transpose c a \relative c' {
82 altoharmony = \transpose c' a {
87 \set Staff.instrumentName = #"Alto Sax"
94 % ------ Baritone Saxophone ------
95 bari = \transpose c a' \relative c {
97 c1 c \sl d4^"Solo" d d d \nsl
99 bariharmony = \transpose c' a \chordmode {
100 \jzchords s1 s d2:maj e:m7
104 \set Staff.instrumentName = #"Bari Sax"
111 % ------ Trombone ------
112 tbone = \relative c {
116 tboneharmony = \chordmode {
121 \set Staff.instrumentName = #"Trombone"
128 % ############ Rhythm Section #############
130 % ------ Guitar ------
131 gtr = \relative c'' {
133 c1 \sl b4 b b b \nsl c1
135 gtrharmony = \chordmode {
141 \set Staff.instrumentName = #"Guitar"
148 %% ------ Piano ------
149 rhUpper = \relative c'' {
154 rhLower = \relative c' {
160 lhUpper = \relative c' {
165 lhLower = \relative c {
174 \set Staff.midiInstrument = "acoustic grand"
176 \new Voice = "one" \rhUpper
177 \new Voice = "two" \rhLower
183 \set Staff.midiInstrument = "acoustic grand"
185 \new Voice = "one" \lhUpper
186 \new Voice = "two" \lhLower
192 \set PianoStaff.instrumentName = #"Piano"
193 \new Staff = "upper" \PianoRH
194 \new Staff = "lower" \PianoLH
198 % ------ Bass Guitar ------
205 \set Staff.instrumentName = #"Bass"
212 % ------ Drums ------
214 hh4 <hh sn>4 hh <hh sn> hh <hh sn>4
221 bd4 s bd s bd s bd s bd s bd s
227 \set DrumStaff.instrumentName = #"Drums"
228 \new DrumVoice { \voiceOne \up }
229 \new DrumVoice { \voiceTwo \down }
233 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
237 \new StaffGroup = "horns" <<
238 \new Staff = "trumpet" \trumpet
239 \new Staff = "altosax" \altosax
240 \new ChordNames = "barichords" \bariharmony
241 \new Staff = "barisax" \barisax
242 \new Staff = "trombone" \trombone
245 \new StaffGroup = "rhythm" <<
246 \new ChordNames = "chords" \gtrharmony
247 \new Staff = "guitar" \guitar
248 \new PianoStaff = "piano" \piano
249 \new Staff = "bass" \bass
250 \new DrumStaff { \drumContents }
255 \context { \RemoveEmptyStaffContext }
258 \override BarNumber #'padding = #3
259 \override RehearsalMark #'padding = #2