]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/orchestra,-choir-and-piano-template.ly
b6f5ea63e2df99c67119de68097bfa85a5035cf2
[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: 2b0dc29608d6c3f5a03ead4877ae514c647adb74
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 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
23   texidocfr = "
24 Ce canevas illustre l'utilisation de contextes @code{StaffGroup} pour
25 regrouper les instruments selon leur famille, imbriqués dans un
26 @code{GrandStaff}, ainsi que le recours à la fonction @code{\\transpose}
27 pour les instruments transpositeurs.  Dans tous les identificateurs, la
28 musique est stockée en ut.  Les notes peuvent tout aussi bien être
29 saisies en ut ou dans la tonalité particulière de l'instrument avant
30 d'être transposées puis affectées à une variable.
31
32 "
33   doctitlefr = "Orchestre chœur et 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 }