1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.di.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
6 %% This file is in the public domain.
10 lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
13 This is quite an advanced template, for a jazz ensemble. Note that all
14 instruments are notated in @code{\\key c \\major}. This refers to the
15 key in concert pitch; the key will be automatically transposed if the
16 music is within a @code{\\transpose} section.
19 doctitle = "Jazz combo template"
30 "LilyPond example file by Amelie Zapf,"
35 % To make the example display in the documentation
39 %#(set-global-staff-size 16)
42 %%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
45 \override NoteHead.style = #'slash
49 \revert NoteHead.style
52 crOn = \override NoteHead.style = #'cross
53 crOff = \revert NoteHead.style
55 %% insert chord name style stuff here.
59 %%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%%
61 global = { \time 4/4 }
63 Key = { \key c \major }
65 % ############ Horns ############
67 % ------ Trumpet ------
68 trpt = \transpose c d \relative c'' {
72 trpHarmony = \transpose c' d {
77 \set Staff.instrumentName = #"Trumpet"
84 % ------ Alto Saxophone ------
85 alto = \transpose c a \relative c' {
89 altoHarmony = \transpose c' a {
94 \set Staff.instrumentName = #"Alto Sax"
101 % ------ Baritone Saxophone ------
102 bari = \transpose c a' \relative c {
110 bariHarmony = \transpose c' a \chordmode {
111 \jazzChords s1 s d2:maj e:m7
115 \set Staff.instrumentName = #"Bari Sax"
122 % ------ Trombone ------
123 tbone = \relative c {
127 tboneHarmony = \chordmode {
132 \set Staff.instrumentName = #"Trombone"
139 % ############ Rhythm Section #############
141 % ------ Guitar ------
142 gtr = \relative c'' {
150 gtrHarmony = \chordmode {
156 \set Staff.instrumentName = #"Guitar"
163 %% ------ Piano ------
164 rhUpper = \relative c'' {
169 rhLower = \relative c' {
175 lhUpper = \relative c' {
180 lhLower = \relative c {
189 \set Staff.midiInstrument = #"acoustic grand"
191 \new Voice = "one" \rhUpper
192 \new Voice = "two" \rhLower
198 \set Staff.midiInstrument = #"acoustic grand"
200 \new Voice = "one" \lhUpper
201 \new Voice = "two" \lhLower
207 \set PianoStaff.instrumentName = #"Piano"
208 \new Staff = "upper" \PianoRH
209 \new Staff = "lower" \PianoLH
213 % ------ Bass Guitar ------
220 \set Staff.instrumentName = #"Bass"
227 % ------ Drums ------
230 hh4 <hh sn> hh <hh sn>
231 hh4 <hh sn> hh <hh sn>
232 hh4 <hh sn> hh <hh sn>
244 \set DrumStaff.instrumentName = #"Drums"
250 %%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%%
254 \new StaffGroup = "horns" <<
255 \new Staff = "trumpet" \trumpet
256 \new Staff = "altosax" \altoSax
257 \new ChordNames = "barichords" \bariHarmony
258 \new Staff = "barisax" \bariSax
259 \new Staff = "trombone" \trombone
262 \new StaffGroup = "rhythm" <<
263 \new ChordNames = "chords" \gtrHarmony
264 \new Staff = "guitar" \guitar
265 \new PianoStaff = "piano" \piano
266 \new Staff = "bass" \bass
267 \new DrumStaff \drumContents
271 \context { \Staff \RemoveEmptyStaves }
274 \override BarNumber.padding = #3
275 \override RehearsalMark.padding = #2