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