]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/orchestra,-choir-and-piano-template.ly
LSR: Update.
[lilypond.git] / input / lsr / orchestra,-choir-and-piano-template.ly
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.
3 \version "2.12.3"
4
5 \header {
6   lsrtags = "template"
7
8   texidoc = "
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.
15
16 "
17   doctitle = "Orchestra, choir and piano template"
18 } % begin verbatim
19
20 #(set-global-staff-size 17)
21
22 \paper {
23   indent = 3.0\cm
24   short-indent = 1.5\cm
25 }
26
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 }
51
52 \score {
53   \new GrandStaff = "GrandStaff_score" <<
54     \new StaffGroup = "StaffGroup_woodwinds" <<
55       \new Staff = "Staff_flute" {
56         \set Staff.instrumentName = #"Flute"
57         \fluteMusic
58       }
59       \new Staff = "Staff_oboe" {
60         \set Staff.instrumentName = #"Oboe"
61         \oboeMusic
62       }
63       \new Staff = "Staff_clarinet" {
64         \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
65         \transposition bes
66         \transpose bes c' \clarinetMusic
67       }
68       \new Staff = "Staff_bassoon" {
69         \set Staff.instrumentName = #"Bassoon"
70         \bassoonMusic
71       }
72     >>
73     \new StaffGroup = "StaffGroup_brass" <<
74       \new GrandStaff <<
75         \new Staff = "Staff_hornI" {
76           \set Staff.instrumentName = #"Horn I"
77           \transposition f
78           \transpose f c' \hornIMusic
79         }
80         \new Staff = "Staff_hornII" {
81           \set Staff.instrumentName = #"Horn II"
82           \clef bass
83           \transposition f'
84           \transpose f c \hornIIMusic
85         }
86       >>
87       \new Staff = "Staff_trumpet" {
88         \set Staff.instrumentName = #"Trumpet in C"
89         \trumpetMusic
90       }
91       \new Staff = "Staff_trombone" {
92         \set Staff.instrumentName = #"Trombone"
93         \clef bass
94         \tromboneMusic
95       }
96     >>
97     \new RhythmicStaff = "RhythmicStaff_percussion" <<
98       \set RhythmicStaff.instrumentName = #"Percussion"
99       \percussionMusic
100     >>
101     \new PianoStaff <<
102       \set PianoStaff.instrumentName = #"Piano"
103       \new Staff { \pianoRHMusic }
104       \new Staff {
105         \clef bass
106         \pianoLHMusic
107       }
108     >>
109     \new ChoirStaff = "ChoirStaff_choir" <<
110       \new Staff = "Staff_soprano" {
111         \set Staff.instrumentName = #"Soprano"
112         \new Voice = "soprano"
113         \sopranoMusic
114       }
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"
119           \new Voice = "altoI"
120           \altoIMusic
121         }
122         \new Lyrics \lyricsto "altoI" { \altoILyrics }
123         \new Staff = "Staff_altoII" {
124           \set Staff.instrumentName = #"Alto II"
125           \new Voice = "altoII"
126           \altoIIMusic
127         }
128         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
129       >>
130       \new Staff = "Staff_tenor" {
131         \set Staff.instrumentName = #"Tenor"
132         \clef "treble_8"
133         \new Voice = "tenor"
134         \tenorMusic
135       }
136       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
137     >>
138     \new StaffGroup = "StaffGroup_strings" <<
139       \new GrandStaff = "GrandStaff_violins" <<
140         \new Staff = "Staff_violinI" {
141           \set Staff.instrumentName = #"Violin I"
142           \violinIMusic
143         }
144         \new Staff = "Staff_violinII" {
145           \set Staff.instrumentName = #"Violin II"
146           \violinIIMusic
147         }
148       >>
149       \new Staff = "Staff_viola" {
150         \set Staff.instrumentName = #"Viola"
151         \violaMusic
152       }
153       \new Staff = "Staff_cello" {
154         \set Staff.instrumentName = #"Cello"
155         \celloMusic
156       }
157       \new Staff = "Staff_bass" {
158         \set Staff.instrumentName = #"Double Bass"
159         \bassMusic
160       }
161     >>
162   >>
163 }