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