]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/orchestra-choir-and-piano-template.ly
Fix 546.
[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.1"
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
31 #(set-global-staff-size 17)
32
33 \paper {
34   indent = 3.0\cm
35   short-indent = 1.5\cm
36 }
37
38 fluteMusic = \relative c { \key c \major c'1 d }
39 oboeMusic = \relative c { \key c \major c'1 d }
40 clarinetMusic = \relative c { \key c \major c'1 d }
41 bassoonMusic = \relative c { \clef bass \key c \major c1 d }
42 trumpetMusic = \relative c { \key c \major c''1 d }
43 tromboneMusic = \relative c { \key c \major c1 d }
44 hornIMusic = \relative c { c'1 d }
45 hornIIMusic = \relative c { c1 d }
46 percussionMusic = \relative c { \key c \major c1 d }
47 sopranoMusic = \relative c'' { \key c \major c1 d }
48 sopranoLyrics = \lyricmode { Sop -- ra }
49 altoIMusic = \relative c' { \key c \major c1 d }
50 altoILyrics = \lyricmode { A -- one }
51 altoIIMusic = \relative c' { \key c \major c1 d }
52 altoIILyrics = \lyricmode { A -- two }
53 tenorMusic = \relative c' { \key c \major c1 d }
54 tenorLyrics = \lyricmode { Ten -- or }
55 pianoRHMusic = \relative c { \key c \major c'1 d }
56 pianoLHMusic = \relative c { \key c \major c1 d }
57 violinIMusic = \relative c { \key c \major c'1 d }
58 violinIIMusic = \relative c { \key c \major c'1 d }
59 violaMusic = \relative c { \clef alto \key c \major c'1 d }
60 celloMusic = \relative c { \clef bass \key c \major c1 d }
61 bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
62
63 \score {
64   \new GrandStaff = "GrandStaff_score" <<
65     \new StaffGroup = "StaffGroup_woodwinds" <<
66       \new Staff = "Staff_flute" {
67         \set Staff.instrumentName = #"Flute"
68         \fluteMusic
69       }
70       \new Staff = "Staff_oboe" {
71         \set Staff.instrumentName = #"Oboe"
72         \oboeMusic
73       }
74       \new Staff = "Staff_clarinet" {
75         \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
76         \transposition bes
77         \transpose bes c' \clarinetMusic
78       }
79       \new Staff = "Staff_bassoon" {
80         \set Staff.instrumentName = #"Bassoon"
81         \bassoonMusic
82       }
83     >>
84     \new StaffGroup = "StaffGroup_brass" <<
85       \new GrandStaff <<
86         \new Staff = "Staff_hornI" {
87           \set Staff.instrumentName = #"Horn I"
88           \transposition f
89           \transpose f c' \hornIMusic
90         }
91         \new Staff = "Staff_hornII" {
92           \set Staff.instrumentName = #"Horn II"
93           \clef bass
94           \transposition f'
95           \transpose f c \hornIIMusic
96         }
97       >>
98       \new Staff = "Staff_trumpet" {
99         \set Staff.instrumentName = #"Trumpet in C"
100         \trumpetMusic
101       }
102       \new Staff = "Staff_trombone" {
103         \set Staff.instrumentName = #"Trombone"
104         \clef bass
105         \tromboneMusic
106       }
107     >>
108     \new RhythmicStaff = "RhythmicStaff_percussion" <<
109       \set RhythmicStaff.instrumentName = #"Percussion"
110       \percussionMusic
111     >>
112     \new PianoStaff <<
113       \set PianoStaff.instrumentName = #"Piano"
114       \new Staff { \pianoRHMusic }
115       \new Staff {
116         \clef bass
117         \pianoLHMusic
118       }
119     >>
120     \new ChoirStaff = "ChoirStaff_choir" <<
121       \new Staff = "Staff_soprano" {
122         \set Staff.instrumentName = #"Soprano"
123         \new Voice = "soprano"
124         \sopranoMusic
125       }
126       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
127       \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
128         \new Staff = "Staff_altoI"  {
129           \set Staff.instrumentName = #"Alto I"
130           \new Voice = "altoI"
131           \altoIMusic
132         }
133         \new Lyrics \lyricsto "altoI" { \altoILyrics }
134         \new Staff = "Staff_altoII" {
135           \set Staff.instrumentName = #"Alto II"
136           \new Voice = "altoII"
137           \altoIIMusic
138         }
139         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
140       >>
141       \new Staff = "Staff_tenor" {
142         \set Staff.instrumentName = #"Tenor"
143         \clef "treble_8"
144         \new Voice = "tenor"
145         \tenorMusic
146       }
147       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
148     >>
149     \new StaffGroup = "StaffGroup_strings" <<
150       \new GrandStaff = "GrandStaff_violins" <<
151         \new Staff = "Staff_violinI" {
152           \set Staff.instrumentName = #"Violin I"
153           \violinIMusic
154         }
155         \new Staff = "Staff_violinII" {
156           \set Staff.instrumentName = #"Violin II"
157           \violinIIMusic
158         }
159       >>
160       \new Staff = "Staff_viola" {
161         \set Staff.instrumentName = #"Viola"
162         \violaMusic
163       }
164       \new Staff = "Staff_cello" {
165         \set Staff.instrumentName = #"Cello"
166         \celloMusic
167       }
168       \new Staff = "Staff_bass" {
169         \set Staff.instrumentName = #"Double Bass"
170         \bassMusic
171       }
172     >>
173   >>
174 }