% and then run scripts/auxiliar/makelsr.py
%
% This file is in the public domain.
-%% Note: this file works from version 2.17.20
-\version "2.17.30"
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
\header {
- lsrtags = "keyboards, percussion, fretted-strings, template, real-music"
+ lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
texidoc = "
This is quite an advanced template, for a jazz ensemble. Note that all
doctitle = "Jazz combo template"
} % begin verbatim
-
\header {
title = "Song"
subtitle = "(tune)"
\column {
"LilyPond example file by Amelie Zapf,"
"Berlin 07/07/2003"
- }
+ } % begin verbatim
+
}
}
-
+% To make the example display in the documentation
+\paper {
+ paper-width = 130
+}
%#(set-global-staff-size 16)
\include "english.ly"
}
trumpet = {
\global
- \set Staff.instrumentName = #"Trumpet"
\clef treble
<<
\trpt
}
altoSax = {
\global
- \set Staff.instrumentName = #"Alto Sax"
\clef treble
<<
\alto
}
bariSax = {
\global
- \set Staff.instrumentName = #"Bari Sax"
\clef treble
<<
\bari
}
trombone = {
\global
- \set Staff.instrumentName = #"Trombone"
\clef bass
<<
\tbone
}
guitar = {
\global
- \set Staff.instrumentName = #"Guitar"
\clef treble
<<
\gtr
PianoRH = {
\clef treble
\global
- \set Staff.midiInstrument = #"acoustic grand"
<<
\new Voice = "one" \rhUpper
\new Voice = "two" \rhLower
PianoLH = {
\clef bass
\global
- \set Staff.midiInstrument = #"acoustic grand"
<<
\new Voice = "one" \lhUpper
\new Voice = "two" \lhLower
piano = {
<<
- \set PianoStaff.instrumentName = #"Piano"
\new Staff = "upper" \PianoRH
\new Staff = "lower" \PianoLH
>>
}
bass = {
\global
- \set Staff.instrumentName = #"Bass"
\clef bass
<<
\Bass
drumContents = {
\global
<<
- \set DrumStaff.instrumentName = #"Drums"
\new DrumVoice \up
\new DrumVoice \down
>>
\score {
<<
\new StaffGroup = "horns" <<
- \new Staff = "trumpet" \trumpet
- \new Staff = "altosax" \altoSax
- \new ChordNames = "barichords" \bariHarmony
- \new Staff = "barisax" \bariSax
- \new Staff = "trombone" \trombone
+ \new Staff = "trumpet" \with { instrumentName = #"Trumpet" }
+ \trumpet
+ \new Staff = "altosax" \with { instrumentName = #"Alto Sax" }
+ \altoSax
+ \new ChordNames = "barichords" \with { instrumentName = #"Trumpet" }
+ \bariHarmony
+ \new Staff = "barisax" \with { instrumentName = #"Bari Sax" }
+ \bariSax
+ \new Staff = "trombone" \with { instrumentName = #"Trombone" }
+ \trombone
>>
\new StaffGroup = "rhythm" <<
\new ChordNames = "chords" \gtrHarmony
- \new Staff = "guitar" \guitar
- \new PianoStaff = "piano" \piano
- \new Staff = "bass" \bass
- \new DrumStaff \drumContents
+ \new Staff = "guitar" \with { instrumentName = #"Guitar" }
+ \guitar
+ \new PianoStaff = "piano" \with {
+ instrumentName = #"Piano"
+ midiInstrument = #"acoustic grand"
+ }
+ \piano
+ \new Staff = "bass" \with { instrumentName = #"Bass" }
+ \bass
+ \new DrumStaff \with { instrumentName = #"Drums" }
+ \drumContents
>>
>>
\layout {