]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/orchestra-choir-and-piano-template.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / input / lsr / orchestra-choir-and-piano-template.ly
1 %% Do not edit this file; it is auto-generated from input/new
2 %% This file is in the public domain.
3 \version "2.13.0"
4 \header {
5   texidoces = "
6
7 Esta plantilla muestra el uso de contextos @code{StaffGroup} y
8 @code{GrandStaff} anidados para sub-agrupar instrumentos del mismo
9 tipo, y el uso de @code{\\transpose} para los instrumentos
10 transpositores.  Toda la música que está dentro de variables se
11 almacena en Do.  La música se puede introducir en Do, o (de forma
12 alternativa) escribirse en el tono del instrumento y transportada
13 a Do antes de ser asignada a una variable.
14
15 "
16   doctitlees = "Plantilla de orquesta, coro y piano"
17
18   lsrtags = "template"
19   texidoc = "
20 This template demonstrates the use of nested @code{StaffGroup}
21 and @code{GrandStaff} contexts to sub-group instruments of the same
22 type together, and the use of @code{\\transpose} for transposing
23 instruments.  All music in variables is stored in C.  Music may be
24 entered in C or, alternatively, entered in the instrument key and
25 transposed to C before being assigned to a variable.
26 "
27   doctitle = "Orchestra, choir and piano template"
28 } % begin verbatim
29
30 #(set-global-staff-size 17)
31
32 \paper {
33   indent = 3.0\cm
34   short-indent = 1.5\cm
35 }
36
37 \layout {
38    \context {
39      \Score
40      \override InstrumentName #'self-alignment-X = #CENTER
41    }
42 }
43
44 fluteMusic = \relative c { \key c \major c'1 d }
45 oboeMusic = \relative c { \key c \major c'1 d }
46 clarinetMusic = \relative c { \key c \major c'1 d }
47 bassoonMusic = \relative c { \clef bass \key c \major c1 d }
48 trumpetMusic = \relative c { \key c \major c''1 d }
49 tromboneMusic = \relative c { \key c \major c1 d }
50 hornIMusic = \relative c { \key c \major c'1 d }
51 hornIIMusic = \relative c { \key c \major c1 d }
52 percussionMusic = \relative c { \key c \major c1 d }
53 sopranoMusic  = \relative c'' {\key c \major c1 d }
54 sopranoLyrics = \lyricmode { Sop -- ra }
55 altoIMusic  = \relative c' { \key c \major c1 d }
56 altoILyrics = \lyricmode { A -- one }
57 altoIIMusic  = \relative c' { \key c \major c1 d }
58 altoIILyrics = \lyricmode { A -- two }
59 tenorMusic    = \relative c' { \key c \major c1 d }
60 tenorLyrics   = \lyricmode { Ten -- or }
61 pianoRHMusic = \relative c { \key c \major c'1 d }
62 pianoLHMusic = \relative c { \key c \major c1 d }
63 violinIMusic = \relative c { \key c \major c'1 d }
64 violinIIMusic = \relative c { \key c \major c'1 d }
65 violaMusic = \relative c { \clef alto \key c \major c'1 d }
66 celloMusic = \relative c { \clef bass \key c \major c1 d }
67 bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
68
69 \score {
70   \new GrandStaff = "GrandStaff_score" <<
71     \new StaffGroup = "StaffGroup_woodwinds" <<
72       \new Staff = "Staff_flute" {
73         \set Staff.instrumentName = "Flute"
74         \fluteMusic
75       }
76       \new Staff = "Staff_oboe" {
77         \set Staff.instrumentName = "Oboe"
78         \oboeMusic
79       }
80       \new Staff = "Staff_clarinet" {
81         \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
82         \transposition bes
83         \transpose bes c' \clarinetMusic
84       }
85       \new Staff = "Staff_bassoon" {
86         \set Staff.instrumentName = "Bassoon"
87         \bassoonMusic
88       }
89     >>
90     \new StaffGroup = "StaffGroup_brass" <<
91       \new GrandStaff <<
92         \new Staff = "Staff_hornI" {
93           \set Staff.instrumentName = "Horn I"
94           \transposition f
95           \transpose f c' \hornIMusic
96         }
97         \new Staff = "Staff_hornII" {
98           \set Staff.instrumentName = "Horn II"
99           \clef bass
100           \transposition f
101           \transpose f c' \hornIIMusic
102         }
103       >>
104       \new Staff = "Staff_trumpet" {
105         \set Staff.instrumentName = "Trumpet in C"
106         \trumpetMusic
107       }
108       \new Staff = "Staff_trombone" {
109         \set Staff.instrumentName = "Trombone"
110         \clef bass
111         \tromboneMusic
112       }
113     >>
114     \new RhythmicStaff = "RhythmicStaff_percussion" <<
115       \set RhythmicStaff.instrumentName = "Percussion"
116       \percussionMusic
117     >>
118     \new PianoStaff \with { \consists Instrument_name_engraver } <<
119       \set PianoStaff.instrumentName = "Piano"
120       \new Staff { \pianoRHMusic }
121       \new Staff {
122         \clef bass
123         \pianoLHMusic
124       }
125     >>
126     \new ChoirStaff = "ChoirStaff_choir" <<
127       \new Staff = "Staff_soprano" {
128         \set Staff.instrumentName = "Soprano"
129         \new Voice = "soprano"
130         \sopranoMusic
131       }
132       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
133       \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
134         \new Staff = "Staff_altoI"  {
135           \set Staff.instrumentName = "Alto I"
136           \new Voice = "altoI"
137           \altoIMusic
138         }
139         \new Lyrics \lyricsto "altoI" { \altoILyrics }
140         \new Staff = "Staff_altoII" {
141           \set Staff.instrumentName = "Alto II"
142           \new Voice = "altoII"
143           \altoIIMusic
144         }
145         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
146       >>
147       \new Staff = "Staff_tenor" {
148         \set Staff.instrumentName = "Tenor"
149         \clef "treble_8"
150         \new Voice = "tenor"
151         \tenorMusic
152       }
153       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
154     >>
155     \new StaffGroup = "StaffGroup_strings" <<
156       \new GrandStaff = "GrandStaff_horns" <<
157         \new Staff = "Staff_violinI" {
158           \set Staff.instrumentName = "Violin I"
159           \violinIMusic
160         }
161         \new Staff = "Staff_violinII" {
162           \set Staff.instrumentName = "Violin II"
163           \violinIIMusic
164         }
165       >>
166       \new Staff = "Staff_viola" {
167         \set Staff.instrumentName = "Viola"
168         \violaMusic
169       }
170       \new Staff = "Staff_cello" {
171         \set Staff.instrumentName = "Cello"
172         \celloMusic
173       }
174       \new Staff = "Staff_bass" {
175         \set Staff.instrumentName = "Double Bass"
176         \bassMusic
177       }
178     >>
179   >>
180 }