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
40 \revert NoteHead.style
43 crOn = \override NoteHead.style = #'cross
44 crOff = \revert NoteHead.style
46 %% insert chord name style stuff here.
50 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
52 global = { \time 4/4 }
54 Key = { \key c \major }
56 % ############ Horns ############
58 % ------ Trumpet ------
59 trpt = \transpose c d \relative c'' {
63 trpHarmony = \transpose c' d {
68 \set Staff.instrumentName = #"Trumpet"
75 % ------ Alto Saxophone ------
76 alto = \transpose c a \relative c' {
80 altoHarmony = \transpose c' a {
85 \set Staff.instrumentName = #"Alto Sax"
92 % ------ Baritone Saxophone ------
93 bari = \transpose c a' \relative c {
101 bariHarmony = \transpose c' a \chordmode {
102 \jazzChords s1 s d2:maj e:m7
106 \set Staff.instrumentName = #"Bari Sax"
113 % ------ Trombone ------
114 tbone = \relative c {
118 tboneHarmony = \chordmode {
123 \set Staff.instrumentName = #"Trombone"
130 % ############ Rhythm Section #############
132 % ------ Guitar ------
133 gtr = \relative c'' {
141 gtrHarmony = \chordmode {
147 \set Staff.instrumentName = #"Guitar"
154 %% ------ Piano ------
155 rhUpper = \relative c'' {
160 rhLower = \relative c' {
166 lhUpper = \relative c' {
171 lhLower = \relative c {
180 \set Staff.midiInstrument = #"acoustic grand"
182 \new Voice = "one" \rhUpper
183 \new Voice = "two" \rhLower
189 \set Staff.midiInstrument = #"acoustic grand"
191 \new Voice = "one" \lhUpper
192 \new Voice = "two" \lhLower
198 \set PianoStaff.instrumentName = #"Piano"
199 \new Staff = "upper" \PianoRH
200 \new Staff = "lower" \PianoLH
204 % ------ Bass Guitar ------
211 \set Staff.instrumentName = #"Bass"
218 % ------ Drums ------
221 hh4 <hh sn> hh <hh sn>
222 hh4 <hh sn> hh <hh sn>
223 hh4 <hh sn> hh <hh sn>
235 \set DrumStaff.instrumentName = #"Drums"
241 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
245 \new StaffGroup = "horns" <<
246 \new Staff = "trumpet" \trumpet
247 \new Staff = "altosax" \altoSax
248 \new ChordNames = "barichords" \bariHarmony
249 \new Staff = "barisax" \bariSax
250 \new Staff = "trombone" \trombone
253 \new StaffGroup = "rhythm" <<
254 \new ChordNames = "chords" \gtrHarmony
255 \new Staff = "guitar" \guitar
256 \new PianoStaff = "piano" \piano
257 \new Staff = "bass" \bass
258 \new DrumStaff \drumContents
262 \context { \Staff \RemoveEmptyStaves }
265 \override BarNumber.padding = #3
266 \override RehearsalMark.padding = #2