]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/jazz-combo-template.ly
Merge commit 'b5cba4f'
[lilypond.git] / input / lsr / jazz-combo-template.ly
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.35"
4
5 \header {
6   lsrtags = "piano-music, percussion, guitar, template"
7  texidoc = "
8 This is quite an advanced template, for a jazz ensemble. Note that all
9 instruments are notated in \\key c \\major. This refers to the key in
10 concert pitch; LilyPond will automatically transpose the key if the
11 music is within a \\transpose section.
12 " }
13 % begin verbatim
14 \header {
15            title = "Song"
16            subtitle = "(tune)"
17            composer = "Me"
18            meter = "moderato"
19            piece = "Swing"
20            tagline = \markup {
21              \column {
22                "LilyPond example file by Amelie Zapf,"
23                "Berlin 07/07/2003"
24              }
25            }
26            texidoc = "Jazz tune for combo
27                       (horns, guitar, piano, bass, drums)."
28          }
29          
30          #(set-global-staff-size 16)
31          \include "english.ly"
32          
33          %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
34          
35          sl = {
36            \override NoteHead #'style = #'slash
37            \override Stem #'transparent = ##t
38          }
39          nsl = {
40            \revert NoteHead #'style
41            \revert Stem #'transparent
42          }
43          cr = \override NoteHead #'style = #'cross
44          ncr = \revert NoteHead #'style
45          
46          %% insert chord name style stuff here.
47          
48          jzchords = { }
49          
50          
51          %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
52          
53          global = {
54            \time 4/4
55          }
56          
57          Key = { \key c \major }
58          
59          % ############ Horns ############
60          
61          % ------ Trumpet ------
62          trpt = \transpose c d \relative c'' {
63            \Key
64            c1 c c
65          }
66          trpharmony = \transpose c' d {
67            \jzchords
68          }
69          trumpet = {
70            \global
71            \set Staff.instrumentName = #"Trumpet"
72            \clef treble
73            <<
74              \trpt
75            >>
76          }
77          
78          % ------ Alto Saxophone ------
79          alto = \transpose c a \relative c' {
80            \Key
81            c1 c c
82          }
83          altoharmony = \transpose c' a {
84            \jzchords
85          }
86          altosax = {
87            \global
88            \set Staff.instrumentName = #"Alto Sax"
89            \clef treble
90            <<
91              \alto
92            >>
93          }
94          
95          % ------ Baritone Saxophone ------
96          bari = \transpose c a' \relative c {
97            \Key
98            c1 c \sl d4^"Solo" d d d \nsl
99          }
100          bariharmony = \transpose c' a \chordmode {
101            \jzchords s1 s d2:maj e:m7
102          }
103          barisax = {
104            \global
105            \set Staff.instrumentName = #"Bari Sax"
106            \clef treble
107            <<
108              \bari
109            >>
110          }
111          
112          % ------ Trombone ------
113          tbone = \relative c {
114            \Key
115            c1 c c
116          }
117          tboneharmony = \chordmode {
118            \jzchords
119          }
120          trombone = {
121            \global
122            \set Staff.instrumentName = #"Trombone"
123            \clef bass
124            <<
125              \tbone
126            >>
127          }
128          
129          % ############ Rhythm Section #############
130          
131          % ------ Guitar ------
132          gtr = \relative c'' {
133            \Key
134            c1 \sl b4 b b b \nsl c1
135          }
136          gtrharmony = \chordmode {
137            \jzchords
138            s1 c2:min7+ d2:maj9
139          }
140          guitar = {
141            \global
142            \set Staff.instrumentName = #"Guitar"
143            \clef treble
144            <<
145              \gtr
146            >>
147          }
148          
149          %% ------ Piano ------
150          rhUpper = \relative c'' {
151            \voiceOne
152            \Key
153            c1 c c
154          }
155          rhLower = \relative c' {
156            \voiceTwo
157            \Key
158            e1 e e
159          }
160          
161          lhUpper = \relative c' {
162            \voiceOne
163            \Key
164            g1 g g
165          }
166          lhLower = \relative c {
167            \voiceTwo
168            \Key
169            c1 c c
170          }
171          
172          PianoRH = {
173            \clef treble
174            \global
175            \set Staff.midiInstrument = "acoustic grand"
176            <<
177              \new Voice = "one" \rhUpper
178              \new Voice = "two" \rhLower
179            >>
180          }
181          PianoLH = {
182            \clef bass
183            \global
184            \set Staff.midiInstrument = "acoustic grand"
185            <<
186              \new Voice = "one" \lhUpper
187              \new Voice = "two" \lhLower
188            >>
189          }
190          
191          piano = {
192            <<
193              \set PianoStaff.instrumentName = #"Piano"
194              \new Staff = "upper" \PianoRH
195              \new Staff = "lower" \PianoLH
196            >>
197          }
198          
199          % ------ Bass Guitar ------
200          Bass = \relative c {
201            \Key
202            c1 c c
203          }
204          bass = {
205            \global
206            \set Staff.instrumentName = #"Bass"
207            \clef bass
208            <<
209              \Bass
210            >>
211          }
212          
213          % ------ Drums ------
214          up = \drummode {
215            hh4 <hh sn>4 hh <hh sn> hh <hh sn>4
216            hh4 <hh sn>4
217            hh4 <hh sn>4
218            hh4 <hh sn>4
219          }
220          
221          down = \drummode {
222            bd4 s bd s bd s bd s bd s bd s
223          }
224          
225          drumContents = {
226            \global
227            <<
228              \set DrumStaff.instrumentName = #"Drums"
229              \new DrumVoice { \voiceOne \up }
230              \new DrumVoice { \voiceTwo \down }
231            >>
232          }
233          
234          %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
235          
236          \score {
237            <<
238              \new StaffGroup = "horns" <<
239                \new Staff = "trumpet" \trumpet
240                \new Staff = "altosax" \altosax
241                \new ChordNames = "barichords" \bariharmony
242                \new Staff = "barisax" \barisax
243                \new Staff = "trombone" \trombone
244              >>
245          
246              \new StaffGroup = "rhythm" <<
247                \new ChordNames = "chords" \gtrharmony
248                \new Staff = "guitar" \guitar
249                \new PianoStaff = "piano" \piano
250                \new Staff = "bass" \bass
251                \new DrumStaff { \drumContents }
252              >>
253            >>
254          
255            \layout {
256              \context { \RemoveEmptyStaffContext }
257              \context {
258                \Score
259                \override BarNumber #'padding = #3
260                \override RehearsalMark #'padding = #2
261                skipBars = ##t
262              }
263            }
264          
265            \midi { }
266          }
267 % begin verbatim