1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
9 This template demonstrates the use of nested @code{StaffGroup} and
10 @code{GrandStaff} contexts to sub-group instruments of the same type
11 together, and the use of @code{\\transpose} for transposing
12 instruments. All music in variables is stored in C. Music may be
13 entered in C or, alternatively, entered in the instrument key and
14 transposed to C before being assigned to a variable.
17 doctitle = "Orchestra, choir and piano template"
20 #(set-global-staff-size 17)
27 fluteMusic = \relative c { \key c \major c'1 d }
28 oboeMusic = \relative c { \key c \major c'1 d }
29 clarinetMusic = \relative c { \key c \major c'1 d }
30 bassoonMusic = \relative c { \clef bass \key c \major c1 d }
31 trumpetMusic = \relative c { \key c \major c''1 d }
32 tromboneMusic = \relative c { \key c \major c1 d }
33 hornIMusic = \relative c { c'1 d }
34 hornIIMusic = \relative c { c1 d }
35 percussionMusic = \relative c { \key c \major c1 d }
36 sopranoMusic = \relative c'' { \key c \major c1 d }
37 sopranoLyrics = \lyricmode { Sop -- ra }
38 altoIMusic = \relative c' { \key c \major c1 d }
39 altoILyrics = \lyricmode { A -- one }
40 altoIIMusic = \relative c' { \key c \major c1 d }
41 altoIILyrics = \lyricmode { A -- two }
42 tenorMusic = \relative c' { \key c \major c1 d }
43 tenorLyrics = \lyricmode { Ten -- or }
44 pianoRHMusic = \relative c { \key c \major c'1 d }
45 pianoLHMusic = \relative c { \key c \major c1 d }
46 violinIMusic = \relative c { \key c \major c'1 d }
47 violinIIMusic = \relative c { \key c \major c'1 d }
48 violaMusic = \relative c { \clef alto \key c \major c'1 d }
49 celloMusic = \relative c { \clef bass \key c \major c1 d }
50 bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
53 \new GrandStaff = "GrandStaff_score" <<
54 \new StaffGroup = "StaffGroup_woodwinds" <<
55 \new Staff = "Staff_flute" {
56 \set Staff.instrumentName = #"Flute"
59 \new Staff = "Staff_oboe" {
60 \set Staff.instrumentName = #"Oboe"
63 \new Staff = "Staff_clarinet" {
64 \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
66 \transpose bes c' \clarinetMusic
68 \new Staff = "Staff_bassoon" {
69 \set Staff.instrumentName = #"Bassoon"
73 \new StaffGroup = "StaffGroup_brass" <<
75 \new Staff = "Staff_hornI" {
76 \set Staff.instrumentName = #"Horn I"
78 \transpose f c' \hornIMusic
80 \new Staff = "Staff_hornII" {
81 \set Staff.instrumentName = #"Horn II"
84 \transpose f c \hornIIMusic
87 \new Staff = "Staff_trumpet" {
88 \set Staff.instrumentName = #"Trumpet in C"
91 \new Staff = "Staff_trombone" {
92 \set Staff.instrumentName = #"Trombone"
97 \new RhythmicStaff = "RhythmicStaff_percussion" <<
98 \set RhythmicStaff.instrumentName = #"Percussion"
102 \set PianoStaff.instrumentName = #"Piano"
103 \new Staff { \pianoRHMusic }
109 \new ChoirStaff = "ChoirStaff_choir" <<
110 \new Staff = "Staff_soprano" {
111 \set Staff.instrumentName = #"Soprano"
112 \new Voice = "soprano"
115 \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
116 \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
117 \new Staff = "Staff_altoI" {
118 \set Staff.instrumentName = #"Alto I"
122 \new Lyrics \lyricsto "altoI" { \altoILyrics }
123 \new Staff = "Staff_altoII" {
124 \set Staff.instrumentName = #"Alto II"
125 \new Voice = "altoII"
128 \new Lyrics \lyricsto "altoII" { \altoIILyrics }
130 \new Staff = "Staff_tenor" {
131 \set Staff.instrumentName = #"Tenor"
136 \new Lyrics \lyricsto "tenor" { \tenorLyrics }
138 \new StaffGroup = "StaffGroup_strings" <<
139 \new GrandStaff = "GrandStaff_violins" <<
140 \new Staff = "Staff_violinI" {
141 \set Staff.instrumentName = #"Violin I"
144 \new Staff = "Staff_violinII" {
145 \set Staff.instrumentName = #"Violin II"
149 \new Staff = "Staff_viola" {
150 \set Staff.instrumentName = #"Viola"
153 \new Staff = "Staff_cello" {
154 \set Staff.instrumentName = #"Cello"
157 \new Staff = "Staff_bass" {
158 \set Staff.instrumentName = #"Double Bass"