LSR: Update.
[lilypond.git] / input / lsr / jazz-combo-template.ly
blob5009de746ddf857d969c4a6af5775373edfce15d
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 \version "2.11.55"
5 \header {
6 lsrtags = "keyboards, percussion, fretted-strings, template"
8 texidoc = "
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"
16 } % begin verbatim
17 \header {
18 title = "Song"
19 subtitle = "(tune)"
20 composer = "Me"
21 meter = "moderato"
22 piece = "Swing"
23 tagline = \markup {
24 \column {
25 "LilyPond example file by Amelie Zapf,"
26 "Berlin 07/07/2003"
31 %#(set-global-staff-size 16)
32 \include "english.ly"
34 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
36 sl = {
37 \override NoteHead #'style = #'slash
38 \override Stem #'transparent = ##t
40 nsl = {
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.
49 jazzChords = { }
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'' {
61 \Key
62 c1 | c | c |
64 trpHarmony = \transpose c' d {
65 \jazzChords
67 trumpet = {
68 \global
69 \set Staff.instrumentName = #"Trumpet"
70 \clef treble
72 \trpt
76 % ------ Alto Saxophone ------
77 alto = \transpose c a \relative c' {
78 \Key
79 c1 | c | c |
81 altoHarmony = \transpose c' a {
82 \jazzChords
84 altoSax = {
85 \global
86 \set Staff.instrumentName = #"Alto Sax"
87 \clef treble
89 \alto
93 % ------ Baritone Saxophone ------
94 bari = \transpose c a' \relative c {
95 \Key
98 \sl
99 d4^"Solo" d d d
100 \nsl
102 bariHarmony = \transpose c' a \chordmode {
103 \jazzChords s1 s d2:maj e:m7
105 bariSax = {
106 \global
107 \set Staff.instrumentName = #"Bari Sax"
108 \clef treble
110 \bari
114 % ------ Trombone ------
115 tbone = \relative c {
116 \Key
117 c1 | c | c
119 tboneHarmony = \chordmode {
120 \jazzChords
122 trombone = {
123 \global
124 \set Staff.instrumentName = #"Trombone"
125 \clef bass
127 \tbone
131 % ############ Rhythm Section #############
133 % ------ Guitar ------
134 gtr = \relative c'' {
135 \Key
138 b4 b b b
139 \nsl
142 gtrHarmony = \chordmode {
143 \jazzChords
144 s1 c2:min7+ d2:maj9
146 guitar = {
147 \global
148 \set Staff.instrumentName = #"Guitar"
149 \clef treble
151 \gtr
155 %% ------ Piano ------
156 rhUpper = \relative c'' {
157 \voiceOne
158 \Key
159 c1 | c | c
161 rhLower = \relative c' {
162 \voiceTwo
163 \Key
164 e1 | e | e
167 lhUpper = \relative c' {
168 \voiceOne
169 \Key
170 g1 | g | g
172 lhLower = \relative c {
173 \voiceTwo
174 \Key
175 c1 | c | c
178 PianoRH = {
179 \clef treble
180 \global
181 \set Staff.midiInstrument = #"acoustic grand"
183 \new Voice = "one" \rhUpper
184 \new Voice = "two" \rhLower
187 PianoLH = {
188 \clef bass
189 \global
190 \set Staff.midiInstrument = "acoustic grand"
192 \new Voice = "one" \lhUpper
193 \new Voice = "two" \lhLower
197 piano = {
199 \set PianoStaff.instrumentName = #"Piano"
200 \new Staff = "upper" \PianoRH
201 \new Staff = "lower" \PianoLH
205 % ------ Bass Guitar ------
206 Bass = \relative c {
207 \Key
208 c1 | c | c
210 bass = {
211 \global
212 \set Staff.instrumentName = #"Bass"
213 \clef bass
215 \Bass
219 % ------ Drums ------
220 up = \drummode {
221 \voiceOne
222 hh4 <hh sn> hh <hh sn>
223 hh4 <hh sn> hh <hh sn>
224 hh4 <hh sn> hh <hh sn>
226 down = \drummode {
227 \voiceTwo
228 bd4 s bd s
229 bd4 s bd s
230 bd4 s bd s
233 drumContents = {
234 \global
236 \set DrumStaff.instrumentName = #"Drums"
237 \new DrumVoice \up
238 \new DrumVoice \down
242 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
244 \score {
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
263 \layout {
264 \context { \RemoveEmptyStaffContext }
265 \context {
266 \Score
267 \override BarNumber #'padding = #3
268 \override RehearsalMark #'padding = #2
269 skipBars = ##t
273 \midi { }