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 = "pitches, staff-notation, template, vocal-music"
14 This template demonstrates the use of nested @code{StaffGroup} and
15 @code{GrandStaff} contexts to sub-group instruments of the same type
16 together, and a way to use @code{\\transpose} so that variables hold
17 music for transposing instruments at concert pitch.
20 doctitle = "Orchestra choir and piano template"
23 #(set-global-staff-size 17)
25 indent = 3.0\cm % add space for instrumentName
26 short-indent = 1.5\cm % add less space for shortInstrumentName
30 fluteMusic = \relative c' { \key g \major g'1 b }
32 % Pitches as written on a manuscript for Clarinet in A
33 % are transposed to concert pitch.
35 clarinetMusic = \transpose c' a
36 \relative c'' { \key bes \major bes1 d }
38 trumpetMusic = \relative c { \key g \major g''1 b }
40 % Key signature is often omitted for horns
42 hornMusic = \transpose c' f
43 \relative c { d'1 fis }
45 percussionMusic = \relative c { \key g \major g1 b }
47 sopranoMusic = \relative c'' { \key g \major g'1 b }
49 sopranoLyrics = \lyricmode { Lyr -- ics }
51 altoIMusic = \relative c' { \key g \major g'1 b }
53 altoIIMusic = \relative c' { \key g \major g'1 b }
55 altoILyrics = \sopranoLyrics
57 altoIILyrics = \lyricmode { Ah -- ah }
59 tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
61 tenorLyrics = \sopranoLyrics
63 pianoRHMusic = \relative c { \key g \major g''1 b }
65 pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
67 violinIMusic = \relative c' { \key g \major g'1 b }
69 violinIIMusic = \relative c' { \key g \major g'1 b }
71 violaMusic = \relative c { \clef alto \key g \major g'1 b }
73 celloMusic = \relative c { \clef bass \key g \major g1 b }
75 bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
79 \new StaffGroup = "StaffGroup_woodwinds" <<
80 \new Staff = "Staff_flute" \with { instrumentName = #"Flute" }
83 \new Staff = "Staff_clarinet" \with {
84 instrumentName = \markup { \concat { "Clarinet in B" \flat } }
87 % Declare that written Middle C in the music
88 % to follow sounds a concert B flat, for
89 % output using sounded pitches such as MIDI.
92 % Print music for a B-flat clarinet
93 \transpose bes c' \clarinetMusic
96 \new StaffGroup = "StaffGroup_brass" <<
97 \new Staff = "Staff_hornI" \with { instrumentName = #"Horn in F" }
99 \transpose f c' \hornMusic
101 \new Staff = "Staff_trumpet" \with { instrumentName = #"Trumpet in C" }
105 \new RhythmicStaff = "RhythmicStaff_percussion"
106 \with { instrumentName = #"Percussion" }
110 \new PianoStaff \with { instrumentName = #"Piano" }
112 \new Staff { \pianoRHMusic }
113 \new Staff { \pianoLHMusic }
115 \new ChoirStaff = "ChoirStaff_choir" <<
116 \new Staff = "Staff_soprano" \with { instrumentName = #"Soprano" }
117 \new Voice = "soprano"
120 \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
121 \new GrandStaff = "GrandStaff_altos"
122 \with { \accepts Lyrics } <<
123 \new Staff = "Staff_altoI" \with { instrumentName = #"Alto I" }
127 \new Lyrics \lyricsto "altoI" { \altoILyrics }
128 \new Staff = "Staff_altoII" \with { instrumentName = #"Alto II" }
129 \new Voice = "altoII"
132 \new Lyrics \lyricsto "altoII" { \altoIILyrics }
135 \new Staff = "Staff_tenor" \with { instrumentName = #"Tenor" }
139 \new Lyrics \lyricsto "tenor" { \tenorLyrics }
141 \new StaffGroup = "StaffGroup_strings" <<
142 \new GrandStaff = "GrandStaff_violins" <<
143 \new Staff = "Staff_violinI" \with { instrumentName = #"Violin I" }
146 \new Staff = "Staff_violinII" \with { instrumentName = #"Violin II" }
150 \new Staff = "Staff_viola" \with { instrumentName = #"Viola" }
153 \new Staff = "Staff_cello" \with { instrumentName = #"Cello" }
156 \new Staff = "Staff_bass" \with { instrumentName = #"Double Bass" }