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 = "keyboards, percussion, fretted-strings, template"
9 This is quite an advanced template, for a jazz ensemble. Note that all
10 instruments are notated in @code{\\key c \\major}. This refers to the
11 key in concert pitch; the key will be automatically transposed if the
12 music is within a @code{\\transpose} section.
15 doctitle = "Jazz combo template"
25 "LilyPond example file by Amelie Zapf,"
31 %#(set-global-staff-size 16)
34 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
37 \override NoteHead #'style = #'slash
38 \override Stem #'transparent = ##t
41 \revert NoteHead #'style
42 \revert Stem #'transparent
44 crOn = \override NoteHead #'style = #'cross
45 crOff = \revert NoteHead #'style
47 %% insert chord name style stuff here.
51 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
53 global = { \time 4/4 }
55 Key = { \key c \major }
57 % ############ Horns ############
59 % ------ Trumpet ------
60 trpt = \transpose c d \relative c'' {
64 trpHarmony = \transpose c' d {
69 \set Staff.instrumentName = #"Trumpet"
76 % ------ Alto Saxophone ------
77 alto = \transpose c a \relative c' {
81 altoHarmony = \transpose c' a {
86 \set Staff.instrumentName = #"Alto Sax"
93 % ------ Baritone Saxophone ------
94 bari = \transpose c a' \relative c {
102 bariHarmony = \transpose c' a \chordmode {
103 \jazzChords s1 s d2:maj e:m7
107 \set Staff.instrumentName = #"Bari Sax"
114 % ------ Trombone ------
115 tbone = \relative c {
119 tboneHarmony = \chordmode {
124 \set Staff.instrumentName = #"Trombone"
131 % ############ Rhythm Section #############
133 % ------ Guitar ------
134 gtr = \relative c'' {
142 gtrHarmony = \chordmode {
148 \set Staff.instrumentName = #"Guitar"
155 %% ------ Piano ------
156 rhUpper = \relative c'' {
161 rhLower = \relative c' {
167 lhUpper = \relative c' {
172 lhLower = \relative c {
181 \set Staff.midiInstrument = #"acoustic grand"
183 \new Voice = "one" \rhUpper
184 \new Voice = "two" \rhLower
190 \set Staff.midiInstrument = "acoustic grand"
192 \new Voice = "one" \lhUpper
193 \new Voice = "two" \lhLower
199 \set PianoStaff.instrumentName = #"Piano"
200 \new Staff = "upper" \PianoRH
201 \new Staff = "lower" \PianoLH
205 % ------ Bass Guitar ------
212 \set Staff.instrumentName = #"Bass"
219 % ------ Drums ------
222 hh4 <hh sn> hh <hh sn>
223 hh4 <hh sn> hh <hh sn>
224 hh4 <hh sn> hh <hh sn>
236 \set DrumStaff.instrumentName = #"Drums"
242 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
246 \new StaffGroup = "horns" <<
247 \new Staff = "trumpet" \trumpet
248 \new Staff = "altosax" \altoSax
249 \new ChordNames = "barichords" \bariHarmony
250 \new Staff = "barisax" \bariSax
251 \new Staff = "trombone" \trombone
254 \new StaffGroup = "rhythm" <<
255 \new ChordNames = "chords" \gtrHarmony
256 \new Staff = "guitar" \guitar
257 \new PianoStaff = "piano" \piano
258 \new Staff = "bass" \bass
259 \new DrumStaff \drumContents
264 \context { \RemoveEmptyStaffContext }
267 \override BarNumber #'padding = #3
268 \override RehearsalMark #'padding = #2