4 lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
7 This is quite an advanced template, for a jazz ensemble. Note that all
8 instruments are notated in @code{\\key c \\major}. This refers to the
9 key in concert pitch; the key will be automatically transposed if the
10 music is within a @code{\\transpose} section.
13 doctitle = "Jazz combo template"
24 "LilyPond example file by Amelie Zapf,"
30 %#(set-global-staff-size 16)
33 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
36 \override NoteHead #'style = #'slash
37 \override Stem #'transparent = ##t
38 \override Flag #'transparent = ##t
41 \revert NoteHead #'style
42 \revert Stem #'transparent
43 \revert Flag #'transparent
45 crOn = \override NoteHead #'style = #'cross
46 crOff = \revert NoteHead #'style
48 %% insert chord name style stuff here.
52 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
54 global = { \time 4/4 }
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 {
103 bariHarmony = \transpose c' a \chordmode {
104 \jazzChords 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'' {
143 gtrHarmony = \chordmode {
149 \set Staff.instrumentName = #"Guitar"
156 %% ------ Piano ------
157 rhUpper = \relative c'' {
162 rhLower = \relative c' {
168 lhUpper = \relative c' {
173 lhLower = \relative c {
182 \set Staff.midiInstrument = #"acoustic grand"
184 \new Voice = "one" \rhUpper
185 \new Voice = "two" \rhLower
191 \set Staff.midiInstrument = #"acoustic grand"
193 \new Voice = "one" \lhUpper
194 \new Voice = "two" \lhLower
200 \set PianoStaff.instrumentName = #"Piano"
201 \new Staff = "upper" \PianoRH
202 \new Staff = "lower" \PianoLH
206 % ------ Bass Guitar ------
213 \set Staff.instrumentName = #"Bass"
220 % ------ Drums ------
223 hh4 <hh sn> hh <hh sn>
224 hh4 <hh sn> hh <hh sn>
225 hh4 <hh sn> hh <hh sn>
237 \set DrumStaff.instrumentName = #"Drums"
243 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
247 \new StaffGroup = "horns" <<
248 \new Staff = "trumpet" \trumpet
249 \new Staff = "altosax" \altoSax
250 \new ChordNames = "barichords" \bariHarmony
251 \new Staff = "barisax" \bariSax
252 \new Staff = "trombone" \trombone
255 \new StaffGroup = "rhythm" <<
256 \new ChordNames = "chords" \gtrHarmony
257 \new Staff = "guitar" \guitar
258 \new PianoStaff = "piano" \piano
259 \new Staff = "bass" \bass
260 \new DrumStaff \drumContents
264 \context { \Staff \RemoveEmptyStaves }
267 \override BarNumber #'padding = #3
268 \override RehearsalMark #'padding = #2