]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/orchestra,-choir-and-piano-template.ly
LSR: update.
[lilypond.git] / Documentation / snippets / orchestra,-choir-and-piano-template.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.29"
5
6 \header {
7   lsrtags = "template"
8
9 %% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
10   texidoces = "
11
12 Esta plantilla muestra el uso de contextos @code{StaffGroup} y
13 @code{GrandStaff} anidados para sub-agrupar instrumentos del mismo
14 tipo, y el uso de @code{\\transpose} para los instrumentos
15 transpositores.  Toda la música que está dentro de variables se
16 almacena en Do.  La música se puede introducir en Do, o (de forma
17 alternativa) escribirse en el tono del instrumento y transportada
18 a Do antes de ser asignada a una variable.
19
20 "
21   doctitlees = "Plantilla de orquesta con coro y piano"
22
23 %% Translation of GIT committish: 64feeff58e5ce3397de87188a08ac99f7ef8e37b
24
25   texidocde = "
26 Diese Vorlage zeigt die Benutzung von geschachtelten
27 @code{StaffGroup}- und @code{GrandStaff}-Kontexte, um
28 Instrumente in Untergruppen zu unterteilen, und die
29 Benutzung von @code{\\transpose} für transponierende
30 Instrumente.  Alle Noten werden in C geschrieben.  Noten
31 können in C eingegeben werden, oder auch in der Tonart
32 des Instrumentes: dann müssen sie zuerst nach C transponiert
33 werden, bevor sie einer Variable zugewiesen werden.
34
35 "
36   doctitlede = "Orchester Chor und Klavier"
37
38 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
39   texidocfr = "
40 Ce canevas illustre l'utilisation de contextes @code{StaffGroup} pour
41 regrouper les instruments selon leur famille, imbriqués dans un
42 @code{GrandStaff}, ainsi que le recours à la fonction @code{\\transpose}
43 pour les instruments transpositeurs.  Dans tous les identificateurs, la
44 musique est stockée en ut.  Les notes peuvent tout aussi bien être
45 saisies en ut ou dans la tonalité particulière de l'instrument avant
46 d'être transposées puis affectées à une variable.
47
48 "
49   doctitlefr = "Orchestre chœur et piano"
50
51   texidoc = "
52 This template demonstrates the use of nested @code{StaffGroup} and
53 @code{GrandStaff} contexts to sub-group instruments of the same type
54 together, and the use of @code{\\transpose} for transposing
55 instruments.  All music in variables is stored in C.  Music may be
56 entered in C or, alternatively, entered in the instrument key and
57 transposed to C before being assigned to a variable.
58
59 "
60   doctitle = "Orchestra choir and piano template"
61 } % begin verbatim
62
63 #(set-global-staff-size 17)
64
65 \paper {
66   indent = 3.0\cm
67   short-indent = 1.5\cm
68 }
69
70 fluteMusic = \relative c { \key c \major c'1 d }
71 oboeMusic = \relative c { \key c \major c'1 d }
72 clarinetMusic = \relative c { \key c \major c'1 d }
73 bassoonMusic = \relative c { \clef bass \key c \major c1 d }
74 trumpetMusic = \relative c { \key c \major c''1 d }
75 tromboneMusic = \relative c { \key c \major c1 d }
76 hornIMusic = \relative c { c'1 d }
77 hornIIMusic = \relative c { c1 d }
78 percussionMusic = \relative c { \key c \major c1 d }
79 sopranoMusic = \relative c'' { \key c \major c1 d }
80 sopranoLyrics = \lyricmode { Sop -- ra }
81 altoIMusic = \relative c' { \key c \major c1 d }
82 altoILyrics = \lyricmode { A -- one }
83 altoIIMusic = \relative c' { \key c \major c1 d }
84 altoIILyrics = \lyricmode { A -- two }
85 tenorMusic = \relative c' { \key c \major c1 d }
86 tenorLyrics = \lyricmode { Ten -- or }
87 pianoRHMusic = \relative c { \key c \major c'1 d }
88 pianoLHMusic = \relative c { \key c \major c1 d }
89 violinIMusic = \relative c { \key c \major c'1 d }
90 violinIIMusic = \relative c { \key c \major c'1 d }
91 violaMusic = \relative c { \clef alto \key c \major c'1 d }
92 celloMusic = \relative c { \clef bass \key c \major c1 d }
93 bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
94
95 \score {
96   \new GrandStaff = "GrandStaff_score" <<
97     \new StaffGroup = "StaffGroup_woodwinds" <<
98       \new Staff = "Staff_flute" {
99         \set Staff.instrumentName = #"Flute"
100         \fluteMusic
101       }
102       \new Staff = "Staff_oboe" {
103         \set Staff.instrumentName = #"Oboe"
104         \oboeMusic
105       }
106       \new Staff = "Staff_clarinet" {
107         \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
108         \transposition bes
109         \transpose bes c' \clarinetMusic
110       }
111       \new Staff = "Staff_bassoon" {
112         \set Staff.instrumentName = #"Bassoon"
113         \bassoonMusic
114       }
115     >>
116     \new StaffGroup = "StaffGroup_brass" <<
117       \new GrandStaff <<
118         \new Staff = "Staff_hornI" {
119           \set Staff.instrumentName = #"Horn I"
120           \transposition f
121           \transpose f c' \hornIMusic
122         }
123         \new Staff = "Staff_hornII" {
124           \set Staff.instrumentName = #"Horn II"
125           \clef bass
126           \transposition f'
127           \transpose f c \hornIIMusic
128         }
129       >>
130       \new Staff = "Staff_trumpet" {
131         \set Staff.instrumentName = #"Trumpet in C"
132         \trumpetMusic
133       }
134       \new Staff = "Staff_trombone" {
135         \set Staff.instrumentName = #"Trombone"
136         \clef bass
137         \tromboneMusic
138       }
139     >>
140     \new RhythmicStaff = "RhythmicStaff_percussion" <<
141       \set RhythmicStaff.instrumentName = #"Percussion"
142       \percussionMusic
143     >>
144     \new PianoStaff <<
145       \set PianoStaff.instrumentName = #"Piano"
146       \new Staff { \pianoRHMusic }
147       \new Staff {
148         \clef bass
149         \pianoLHMusic
150       }
151     >>
152     \new ChoirStaff = "ChoirStaff_choir" <<
153       \new Staff = "Staff_soprano" {
154         \set Staff.instrumentName = #"Soprano"
155         \new Voice = "soprano"
156         \sopranoMusic
157       }
158       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
159       \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
160         \new Staff = "Staff_altoI"  {
161           \set Staff.instrumentName = #"Alto I"
162           \new Voice = "altoI"
163           \altoIMusic
164         }
165         \new Lyrics \lyricsto "altoI" { \altoILyrics }
166         \new Staff = "Staff_altoII" {
167           \set Staff.instrumentName = #"Alto II"
168           \new Voice = "altoII"
169           \altoIIMusic
170         }
171         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
172       >>
173       \new Staff = "Staff_tenor" {
174         \set Staff.instrumentName = #"Tenor"
175         \clef "treble_8"
176         \new Voice = "tenor"
177         \tenorMusic
178       }
179       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
180     >>
181     \new StaffGroup = "StaffGroup_strings" <<
182       \new GrandStaff = "GrandStaff_violins" <<
183         \new Staff = "Staff_violinI" {
184           \set Staff.instrumentName = #"Violin I"
185           \violinIMusic
186         }
187         \new Staff = "Staff_violinII" {
188           \set Staff.instrumentName = #"Violin II"
189           \violinIIMusic
190         }
191       >>
192       \new Staff = "Staff_viola" {
193         \set Staff.instrumentName = #"Viola"
194         \violaMusic
195       }
196       \new Staff = "Staff_cello" {
197         \set Staff.instrumentName = #"Cello"
198         \celloMusic
199       }
200       \new Staff = "Staff_bass" {
201         \set Staff.instrumentName = #"Double Bass"
202         \bassMusic
203       }
204     >>
205   >>
206 }