4 lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
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,"
29 % To make the example display in the documentation
33 %#(set-global-staff-size 16)
36 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
39 \override NoteHead.style = #'slash
43 \revert NoteHead.style
46 crOn = \override NoteHead.style = #'cross
47 crOff = \revert NoteHead.style
49 %% insert chord name style stuff here.
53 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
55 global = { \time 4/4 }
57 Key = { \key c \major }
59 % ############ Horns ############
61 % ------ Trumpet ------
62 trpt = \transpose c d \relative c'' {
66 trpHarmony = \transpose c' d {
77 % ------ Alto Saxophone ------
78 alto = \transpose c a \relative c' {
82 altoHarmony = \transpose c' a {
93 % ------ Baritone Saxophone ------
94 bari = \transpose c a' \relative c {
102 bariHarmony = \transpose c' a \chordmode {
103 \jazzChords s1 s d2:maj e:m7
113 % ------ Trombone ------
114 tbone = \relative c {
118 tboneHarmony = \chordmode {
129 % ############ Rhythm Section #############
131 % ------ Guitar ------
132 gtr = \relative c'' {
140 gtrHarmony = \chordmode {
152 %% ------ Piano ------
153 rhUpper = \relative c'' {
158 rhLower = \relative c' {
164 lhUpper = \relative c' {
169 lhLower = \relative c {
179 \new Voice = "one" \rhUpper
180 \new Voice = "two" \rhLower
187 \new Voice = "one" \lhUpper
188 \new Voice = "two" \lhLower
194 \new Staff = "upper" \PianoRH
195 \new Staff = "lower" \PianoLH
199 % ------ Bass Guitar ------
212 % ------ Drums ------
215 hh4 <hh sn> hh <hh sn>
216 hh4 <hh sn> hh <hh sn>
217 hh4 <hh sn> hh <hh sn>
234 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
238 \new StaffGroup = "horns" <<
239 \new Staff = "trumpet" \with { instrumentName = #"Trumpet" }
241 \new Staff = "altosax" \with { instrumentName = #"Alto Sax" }
243 \new ChordNames = "barichords" \with { instrumentName = #"Trumpet" }
245 \new Staff = "barisax" \with { instrumentName = #"Bari Sax" }
247 \new Staff = "trombone" \with { instrumentName = #"Trombone" }
251 \new StaffGroup = "rhythm" <<
252 \new ChordNames = "chords" \gtrHarmony
253 \new Staff = "guitar" \with { instrumentName = #"Guitar" }
255 \new PianoStaff = "piano" \with {
256 instrumentName = #"Piano"
257 midiInstrument = #"acoustic grand"
260 \new Staff = "bass" \with { instrumentName = #"Bass" }
262 \new DrumStaff \with { instrumentName = #"Drums" }
267 \context { \Staff \RemoveEmptyStaves }
270 \override BarNumber.padding = #3
271 \override RehearsalMark.padding = #2