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.20
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
48 \revert NoteHead.style
49 \revert Stem.transparent
51 crOn = \override NoteHead.style = #'cross
52 crOff = \revert NoteHead.style
54 %% insert chord name style stuff here.
58 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
60 global = { \time 4/4 }
62 Key = { \key c \major }
64 % ############ Horns ############
66 % ------ Trumpet ------
67 trpt = \transpose c d \relative c'' {
71 trpHarmony = \transpose c' d {
76 \set Staff.instrumentName = #"Trumpet"
83 % ------ Alto Saxophone ------
84 alto = \transpose c a \relative c' {
88 altoHarmony = \transpose c' a {
93 \set Staff.instrumentName = #"Alto Sax"
100 % ------ Baritone Saxophone ------
101 bari = \transpose c a' \relative c {
109 bariHarmony = \transpose c' a \chordmode {
110 \jazzChords s1 s d2:maj e:m7
114 \set Staff.instrumentName = #"Bari Sax"
121 % ------ Trombone ------
122 tbone = \relative c {
126 tboneHarmony = \chordmode {
131 \set Staff.instrumentName = #"Trombone"
138 % ############ Rhythm Section #############
140 % ------ Guitar ------
141 gtr = \relative c'' {
149 gtrHarmony = \chordmode {
155 \set Staff.instrumentName = #"Guitar"
162 %% ------ Piano ------
163 rhUpper = \relative c'' {
168 rhLower = \relative c' {
174 lhUpper = \relative c' {
179 lhLower = \relative c {
188 \set Staff.midiInstrument = #"acoustic grand"
190 \new Voice = "one" \rhUpper
191 \new Voice = "two" \rhLower
197 \set Staff.midiInstrument = #"acoustic grand"
199 \new Voice = "one" \lhUpper
200 \new Voice = "two" \lhLower
206 \set PianoStaff.instrumentName = #"Piano"
207 \new Staff = "upper" \PianoRH
208 \new Staff = "lower" \PianoLH
212 % ------ Bass Guitar ------
219 \set Staff.instrumentName = #"Bass"
226 % ------ Drums ------
229 hh4 <hh sn> hh <hh sn>
230 hh4 <hh sn> hh <hh sn>
231 hh4 <hh sn> hh <hh sn>
243 \set DrumStaff.instrumentName = #"Drums"
249 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
253 \new StaffGroup = "horns" <<
254 \new Staff = "trumpet" \trumpet
255 \new Staff = "altosax" \altoSax
256 \new ChordNames = "barichords" \bariHarmony
257 \new Staff = "barisax" \bariSax
258 \new Staff = "trombone" \trombone
261 \new StaffGroup = "rhythm" <<
262 \new ChordNames = "chords" \gtrHarmony
263 \new Staff = "guitar" \guitar
264 \new PianoStaff = "piano" \piano
265 \new Staff = "bass" \bass
266 \new DrumStaff \drumContents
270 \context { \Staff \RemoveEmptyStaves }
273 \override BarNumber.padding = #3
274 \override RehearsalMark.padding = #2