]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/orchestra,-choir-and-piano-template.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond
[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.16"
5
6 \header {
7   lsrtags = "template"
8
9 %% Translation of GIT committish: 00ef2ac3dd16e21c9ffdffaa4d6d043a3f1a76e6
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: 892286cbfdbe89420b8181975032ea975e79d2f5
24   texidocfr = "
25 Ce canevas illustre l'utilisation de contextes @code{StaffGroup} pour
26 regrouper les instruments selon leur famille, imbriqués dans un
27 @code{GrandStaff}, ainsi que le recours à la fonction @code{\\transpose}
28 pour les instruments transpositeurs.  Dans tous les identificateurs, la
29 musique est stockée en ut.  Les notes peuvent tout aussi bien être
30 saisies en ut ou dans la tonalité particulière de l'instrument avant
31 d'être transposées puis affectées à une variable.
32
33 "
34   doctitlefr = "Orchestre chœur et piano"
35
36   texidoc = "
37 This template demonstrates the use of nested @code{StaffGroup} and
38 @code{GrandStaff} contexts to sub-group instruments of the same type
39 together, and the use of @code{\\transpose} for transposing
40 instruments.  All music in variables is stored in C.  Music may be
41 entered in C or, alternatively, entered in the instrument key and
42 transposed to C before being assigned to a variable.
43
44 "
45   doctitle = "Orchestra choir and piano template"
46 } % begin verbatim
47
48 #(set-global-staff-size 17)
49
50 \paper {
51   indent = 3.0\cm
52   short-indent = 1.5\cm
53 }
54
55 fluteMusic = \relative c { \key c \major c'1 d }
56 oboeMusic = \relative c { \key c \major c'1 d }
57 clarinetMusic = \relative c { \key c \major c'1 d }
58 bassoonMusic = \relative c { \clef bass \key c \major c1 d }
59 trumpetMusic = \relative c { \key c \major c''1 d }
60 tromboneMusic = \relative c { \key c \major c1 d }
61 hornIMusic = \relative c { c'1 d }
62 hornIIMusic = \relative c { c1 d }
63 percussionMusic = \relative c { \key c \major c1 d }
64 sopranoMusic = \relative c'' { \key c \major c1 d }
65 sopranoLyrics = \lyricmode { Sop -- ra }
66 altoIMusic = \relative c' { \key c \major c1 d }
67 altoILyrics = \lyricmode { A -- one }
68 altoIIMusic = \relative c' { \key c \major c1 d }
69 altoIILyrics = \lyricmode { A -- two }
70 tenorMusic = \relative c' { \key c \major c1 d }
71 tenorLyrics = \lyricmode { Ten -- or }
72 pianoRHMusic = \relative c { \key c \major c'1 d }
73 pianoLHMusic = \relative c { \key c \major c1 d }
74 violinIMusic = \relative c { \key c \major c'1 d }
75 violinIIMusic = \relative c { \key c \major c'1 d }
76 violaMusic = \relative c { \clef alto \key c \major c'1 d }
77 celloMusic = \relative c { \clef bass \key c \major c1 d }
78 bassMusic = \relative c { \clef "bass_8" \key c \major c,1 d }
79
80 \score {
81   \new GrandStaff = "GrandStaff_score" <<
82     \new StaffGroup = "StaffGroup_woodwinds" <<
83       \new Staff = "Staff_flute" {
84         \set Staff.instrumentName = #"Flute"
85         \fluteMusic
86       }
87       \new Staff = "Staff_oboe" {
88         \set Staff.instrumentName = #"Oboe"
89         \oboeMusic
90       }
91       \new Staff = "Staff_clarinet" {
92         \set Staff.instrumentName = \markup \concat { "Clarinet in B" \flat }
93         \transposition bes
94         \transpose bes c' \clarinetMusic
95       }
96       \new Staff = "Staff_bassoon" {
97         \set Staff.instrumentName = #"Bassoon"
98         \bassoonMusic
99       }
100     >>
101     \new StaffGroup = "StaffGroup_brass" <<
102       \new GrandStaff <<
103         \new Staff = "Staff_hornI" {
104           \set Staff.instrumentName = #"Horn I"
105           \transposition f
106           \transpose f c' \hornIMusic
107         }
108         \new Staff = "Staff_hornII" {
109           \set Staff.instrumentName = #"Horn II"
110           \clef bass
111           \transposition f'
112           \transpose f c \hornIIMusic
113         }
114       >>
115       \new Staff = "Staff_trumpet" {
116         \set Staff.instrumentName = #"Trumpet in C"
117         \trumpetMusic
118       }
119       \new Staff = "Staff_trombone" {
120         \set Staff.instrumentName = #"Trombone"
121         \clef bass
122         \tromboneMusic
123       }
124     >>
125     \new RhythmicStaff = "RhythmicStaff_percussion" <<
126       \set RhythmicStaff.instrumentName = #"Percussion"
127       \percussionMusic
128     >>
129     \new PianoStaff <<
130       \set PianoStaff.instrumentName = #"Piano"
131       \new Staff { \pianoRHMusic }
132       \new Staff {
133         \clef bass
134         \pianoLHMusic
135       }
136     >>
137     \new ChoirStaff = "ChoirStaff_choir" <<
138       \new Staff = "Staff_soprano" {
139         \set Staff.instrumentName = #"Soprano"
140         \new Voice = "soprano"
141         \sopranoMusic
142       }
143       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
144       \new GrandStaff = "GrandStaff_altos" \with { \accepts Lyrics } <<
145         \new Staff = "Staff_altoI"  {
146           \set Staff.instrumentName = #"Alto I"
147           \new Voice = "altoI"
148           \altoIMusic
149         }
150         \new Lyrics \lyricsto "altoI" { \altoILyrics }
151         \new Staff = "Staff_altoII" {
152           \set Staff.instrumentName = #"Alto II"
153           \new Voice = "altoII"
154           \altoIIMusic
155         }
156         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
157       >>
158       \new Staff = "Staff_tenor" {
159         \set Staff.instrumentName = #"Tenor"
160         \clef "treble_8"
161         \new Voice = "tenor"
162         \tenorMusic
163       }
164       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
165     >>
166     \new StaffGroup = "StaffGroup_strings" <<
167       \new GrandStaff = "GrandStaff_violins" <<
168         \new Staff = "Staff_violinI" {
169           \set Staff.instrumentName = #"Violin I"
170           \violinIMusic
171         }
172         \new Staff = "Staff_violinII" {
173           \set Staff.instrumentName = #"Violin II"
174           \violinIIMusic
175         }
176       >>
177       \new Staff = "Staff_viola" {
178         \set Staff.instrumentName = #"Viola"
179         \violaMusic
180       }
181       \new Staff = "Staff_cello" {
182         \set Staff.instrumentName = #"Cello"
183         \celloMusic
184       }
185       \new Staff = "Staff_bass" {
186         \set Staff.instrumentName = #"Double Bass"
187         \bassMusic
188       }
189     >>
190   >>
191 }