-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.di.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.18.0"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
\header {
lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
\column {
"LilyPond example file by Amelie Zapf,"
"Berlin 07/07/2003"
- }
+ } % begin verbatim
+
}
}
% To make the example display in the documentation
}
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 {