1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.17.6
11 lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
14 This is quite an advanced template, for a jazz ensemble. Note that all
15 instruments are notated in @code{\\key c \\major}. This refers to the
16 key in concert pitch; the key will be automatically transposed if the
17 music is within a @code{\\transpose} section.
20 doctitle = "Jazz combo template"
32 "LilyPond example file by Amelie Zapf,"
38 %#(set-global-staff-size 16)
41 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
44 \override NoteHead.style = #'slash
45 \override Stem.transparent = ##t
46 \override Flag.transparent = ##t
49 \revert NoteHead.style
50 \revert Stem.transparent
51 \revert Flag.transparent
53 crOn = \override NoteHead.style = #'cross
54 crOff = \revert NoteHead.style
56 %% insert chord name style stuff here.
60 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
62 global = { \time 4/4 }
64 Key = { \key c \major }
66 % ############ Horns ############
68 % ------ Trumpet ------
69 trpt = \transpose c d \relative c'' {
73 trpHarmony = \transpose c' d {
78 \set Staff.instrumentName = #"Trumpet"
85 % ------ Alto Saxophone ------
86 alto = \transpose c a \relative c' {
90 altoHarmony = \transpose c' a {
95 \set Staff.instrumentName = #"Alto Sax"
102 % ------ Baritone Saxophone ------
103 bari = \transpose c a' \relative c {
111 bariHarmony = \transpose c' a \chordmode {
112 \jazzChords s1 s d2:maj e:m7
116 \set Staff.instrumentName = #"Bari Sax"
123 % ------ Trombone ------
124 tbone = \relative c {
128 tboneHarmony = \chordmode {
133 \set Staff.instrumentName = #"Trombone"
140 % ############ Rhythm Section #############
142 % ------ Guitar ------
143 gtr = \relative c'' {
151 gtrHarmony = \chordmode {
157 \set Staff.instrumentName = #"Guitar"
164 %% ------ Piano ------
165 rhUpper = \relative c'' {
170 rhLower = \relative c' {
176 lhUpper = \relative c' {
181 lhLower = \relative c {
190 \set Staff.midiInstrument = #"acoustic grand"
192 \new Voice = "one" \rhUpper
193 \new Voice = "two" \rhLower
199 \set Staff.midiInstrument = #"acoustic grand"
201 \new Voice = "one" \lhUpper
202 \new Voice = "two" \lhLower
208 \set PianoStaff.instrumentName = #"Piano"
209 \new Staff = "upper" \PianoRH
210 \new Staff = "lower" \PianoLH
214 % ------ Bass Guitar ------
221 \set Staff.instrumentName = #"Bass"
228 % ------ Drums ------
231 hh4 <hh sn> hh <hh sn>
232 hh4 <hh sn> hh <hh sn>
233 hh4 <hh sn> hh <hh sn>
245 \set DrumStaff.instrumentName = #"Drums"
251 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
255 \new StaffGroup = "horns" <<
256 \new Staff = "trumpet" \trumpet
257 \new Staff = "altosax" \altoSax
258 \new ChordNames = "barichords" \bariHarmony
259 \new Staff = "barisax" \bariSax
260 \new Staff = "trombone" \trombone
263 \new StaffGroup = "rhythm" <<
264 \new ChordNames = "chords" \gtrHarmony
265 \new Staff = "guitar" \guitar
266 \new PianoStaff = "piano" \piano
267 \new Staff = "bass" \bass
268 \new DrumStaff \drumContents
272 \context { \Staff \RemoveEmptyStaves }
275 \override BarNumber.padding = #3
276 \override RehearsalMark.padding = #2