]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/orchestra,-choir-and-piano-template.ly
2c75e2f8d9c73cd40a4fec859b2bc1a27988eca7
[lilypond.git] / Documentation / snippets / orchestra,-choir-and-piano-template.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "pitches, staff-notation, vocal-music, template"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Esta plantilla muestra el uso de contextos @code{StaffGroup} y
15 @code{GrandStaff} anidados para sub-agrupar instrumentos del mismo
16 tipo, y una forma de usar @code{\\transpose} de manera que unas
17 variables contengan la música para instrumentos transpositores en
18 afinación de concierto.
19
20 "
21   doctitlees = "Plantilla de orquesta con coro y piano"
22
23 %% Translation of GIT committish: 6ae36b6f8a7cf2df5f4e46c3c06820fccd9f35e1
24   texidocit = "
25 Questo modello mostra come usare i contesti annidati @code{StaffGroup} e
26 @code{GrandStaff} per creare sottogruppi degli strumenti dello stesso
27 tipo.  Mostra anche come usare @code{\\transpose} in modo che le variabili
28 mantengano la musica per gli strumenti traspositori nell'intonazione reale.
29
30 "
31   doctitleit = "Modello per orchestra coro e pianoforte"
32
33 %% Translation of GIT committish: 64feeff58e5ce3397de87188a08ac99f7ef8e37b
34
35   texidocde = "
36 Diese Vorlage zeigt die Benutzung von geschachtelten
37 @code{StaffGroup}- und @code{GrandStaff}-Kontexte, um
38 Instrumente in Untergruppen zu unterteilen, und die
39 Benutzung von @code{\\transpose} für transponierende
40 Instrumente.  Alle Noten werden in C geschrieben.  Noten
41 können in C eingegeben werden, oder auch in der Tonart
42 des Instrumentes: dann müssen sie zuerst nach C transponiert
43 werden, bevor sie einer Variable zugewiesen werden.
44
45 "
46   doctitlede = "Orchester Chor und Klavier"
47
48 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
49   texidocfr = "
50 Ce canevas illustre l'utilisation de contextes @code{StaffGroup} pour
51 regrouper les instruments selon leur famille, imbriqués dans un
52 @code{GrandStaff}, ainsi que le recours à la fonction @code{\\transpose}
53 pour les instruments transpositeurs.  Dans tous les identificateurs, la
54 musique est stockée en ut.  Les notes peuvent tout aussi bien être
55 saisies en ut ou dans la tonalité particulière de l'instrument avant
56 d'être transposées puis affectées à une variable.
57
58 "
59   doctitlefr = "Orchestre chœur et piano"
60
61   texidoc = "
62 This template demonstrates the use of nested @code{StaffGroup} and
63 @code{GrandStaff} contexts to sub-group instruments of the same type
64 together, and a way to use @code{\\transpose} so that variables hold
65 music for transposing instruments at concert pitch.
66
67 "
68   doctitle = "Orchestra choir and piano template"
69 } % begin verbatim
70
71
72 #(set-global-staff-size 17)
73 \paper {
74   indent = 3.0\cm  % space for instrumentName
75   short-indent = 1.5\cm  % space for shortInstrumentName
76 }
77
78 fluteMusic = \relative c' { \key g \major g'1 b }
79 % Pitches as written on a manuscript for Clarinet in A
80 % are transposed to concert pitch.
81 clarinetMusic = \transpose c' a
82   \relative c'' { \key bes \major bes1 d }
83 trumpetMusic = \relative c { \key g \major g''1 b }
84 % Key signature is often omitted for horns
85 hornMusic = \transpose c' f
86   \relative c { d'1 fis }
87 percussionMusic = \relative c { \key g \major g1 b }
88 sopranoMusic = \relative c'' { \key g \major g'1 b }
89 sopranoLyrics = \lyricmode { Lyr -- ics }
90 altoIMusic = \relative c' { \key g \major g'1 b }
91 altoIIMusic = \relative c' { \key g \major g'1 b }
92 altoILyrics =  \sopranoLyrics
93 altoIILyrics = \lyricmode { Ah -- ah }
94 tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
95 tenorLyrics = \sopranoLyrics
96 pianoRHMusic = \relative c { \key g \major g''1 b }
97 pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
98 violinIMusic = \relative c' { \key g \major g'1 b }
99 violinIIMusic = \relative c' { \key g \major g'1 b }
100 violaMusic = \relative c { \clef alto \key g \major g'1 b }
101 celloMusic = \relative c { \clef bass \key g \major g1 b }
102 bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
103
104 \score {
105   <<
106     \new StaffGroup = "StaffGroup_woodwinds" <<
107       \new Staff = "Staff_flute" {
108         \set Staff.instrumentName = #"Flute"
109         % shortInstrumentName, midiInstrument, etc.
110         % may be set here as well
111         \fluteMusic
112       }
113       \new Staff = "Staff_clarinet" {
114         \set Staff.instrumentName =
115         \markup { \concat { "Clarinet in B" \flat } }
116         % Declare that written Middle C in the music
117         %  to follow sounds a concert B flat, for
118         %  output using sounded pitches such as MIDI.
119         \transposition bes
120         % Print music for a B-flat clarinet
121         \transpose bes c' \clarinetMusic
122       }
123     >>
124     \new StaffGroup = "StaffGroup_brass" <<
125       \new Staff = "Staff_hornI" {
126         \set Staff.instrumentName = #"Horn in F"
127         \transposition f
128         \transpose f c' \hornMusic
129       }
130       \new Staff = "Staff_trumpet" {
131         \set Staff.instrumentName = #"Trumpet in  C"
132         \trumpetMusic
133       }
134     >>
135     \new RhythmicStaff = "RhythmicStaff_percussion" <<
136       \set RhythmicStaff.instrumentName = #"Percussion"
137       \percussionMusic
138     >>
139     \new PianoStaff <<
140       \set PianoStaff.instrumentName = #"Piano"
141       \new Staff { \pianoRHMusic }
142       \new Staff { \pianoLHMusic }
143     >>
144     \new ChoirStaff = "ChoirStaff_choir" <<
145       \new Staff = "Staff_soprano" {
146         \set Staff.instrumentName = #"Soprano"
147         \new Voice = "soprano"
148         \sopranoMusic
149       }
150       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
151       \new GrandStaff = "GrandStaff_altos"
152       \with { \accepts Lyrics } <<
153         \new Staff = "Staff_altoI"  {
154           \set Staff.instrumentName = #"Alto I"
155           \new Voice = "altoI"
156           \altoIMusic
157         }
158         \new Lyrics \lyricsto "altoI" { \altoILyrics }
159         \new Staff = "Staff_altoII" {
160           \set Staff.instrumentName = #"Alto II"
161           \new Voice = "altoII"
162           \altoIIMusic
163         }
164         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
165       >>
166       \new Staff = "Staff_tenor" {
167         \set Staff.instrumentName = #"Tenor"
168         \new Voice = "tenor"
169         \tenorMusic
170       }
171       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
172     >>
173     \new StaffGroup = "StaffGroup_strings" <<
174       \new GrandStaff = "GrandStaff_violins" <<
175         \new Staff = "Staff_violinI" {
176           \set Staff.instrumentName = #"Violin I"
177           \violinIMusic
178         }
179         \new Staff = "Staff_violinII" {
180           \set Staff.instrumentName = #"Violin II"
181           \violinIIMusic
182         }
183       >>
184       \new Staff = "Staff_viola" {
185         \set Staff.instrumentName = #"Viola"
186         \violaMusic
187       }
188       \new Staff = "Staff_cello" {
189         \set Staff.instrumentName = #"Cello"
190         \celloMusic
191       }
192       \new Staff = "Staff_bass" {
193         \set Staff.instrumentName = #"Double Bass"
194         \bassMusic
195       }
196     >>
197   >>
198   \layout { }
199 }
200