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