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.19.56
11 lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
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"
31 "LilyPond example file by Amelie Zapf,"
37 % To make the example display in the documentation
41 %#(set-global-staff-size 16)
44 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
47 \override NoteHead.style = #'slash
51 \revert NoteHead.style
54 crOn = \override NoteHead.style = #'cross
55 crOff = \revert NoteHead.style
57 %% insert chord name style stuff here.
61 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
63 global = { \time 4/4 }
65 Key = { \key c \major }
67 % ############ Horns ############
69 % ------ Trumpet ------
70 trpt = \transpose c d \relative c'' {
74 trpHarmony = \transpose c' d {
85 % ------ Alto Saxophone ------
86 alto = \transpose c a \relative c' {
90 altoHarmony = \transpose c' a {
101 % ------ Baritone Saxophone ------
102 bari = \transpose c a' \relative c {
110 bariHarmony = \transpose c' a \chordmode {
111 \jazzChords s1 s d2:maj e:m7
121 % ------ Trombone ------
122 tbone = \relative c {
126 tboneHarmony = \chordmode {
137 % ############ Rhythm Section #############
139 % ------ Guitar ------
140 gtr = \relative c'' {
148 gtrHarmony = \chordmode {
160 %% ------ Piano ------
161 rhUpper = \relative c'' {
166 rhLower = \relative c' {
172 lhUpper = \relative c' {
177 lhLower = \relative c {
187 \new Voice = "one" \rhUpper
188 \new Voice = "two" \rhLower
195 \new Voice = "one" \lhUpper
196 \new Voice = "two" \lhLower
202 \new Staff = "upper" \PianoRH
203 \new Staff = "lower" \PianoLH
207 % ------ Bass Guitar ------
220 % ------ Drums ------
223 hh4 <hh sn> hh <hh sn>
224 hh4 <hh sn> hh <hh sn>
225 hh4 <hh sn> hh <hh sn>
242 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
246 \new StaffGroup = "horns" <<
247 \new Staff = "trumpet" \with { instrumentName = #"Trumpet" }
249 \new Staff = "altosax" \with { instrumentName = #"Alto Sax" }
251 \new ChordNames = "barichords" \with { instrumentName = #"Trumpet" }
253 \new Staff = "barisax" \with { instrumentName = #"Bari Sax" }
255 \new Staff = "trombone" \with { instrumentName = #"Trombone" }
259 \new StaffGroup = "rhythm" <<
260 \new ChordNames = "chords" \gtrHarmony
261 \new Staff = "guitar" \with { instrumentName = #"Guitar" }
263 \new PianoStaff = "piano" \with {
264 instrumentName = #"Piano"
265 midiInstrument = #"acoustic grand"
268 \new Staff = "bass" \with { instrumentName = #"Bass" }
270 \new DrumStaff \with { instrumentName = #"Drums" }
275 \context { \Staff \RemoveEmptyStaves }
278 \override BarNumber.padding = #3
279 \override RehearsalMark.padding = #2