]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/orchestra,-choir-and-piano-template.ly
Merge branch 'release/unstable'
[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.0"
8
9 \header {
10   lsrtags = "pitches, staff-notation, vocal-music, template"
11
12 %% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
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: 514674cb00c18629242dfcde0c1a4976758adc56
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 #(set-global-staff-size 17)
72 \paper {
73   indent = 3.0\cm  % space for instrumentName
74   short-indent = 1.5\cm  % space for shortInstrumentName
75 }
76
77 fluteMusic = \relative c' { \key g \major g'1 b }
78 % Pitches as written on a manuscript for Clarinet in A
79 % are transposed to concert pitch.
80 clarinetMusic = \transpose c' a
81   \relative c'' { \key bes \major bes1 d }
82 trumpetMusic = \relative c { \key g \major g''1 b }
83 % Key signature is often omitted for horns
84 hornMusic = \transpose c' f
85   \relative c { d'1 fis }
86 percussionMusic = \relative c { \key g \major g1 b }
87 sopranoMusic = \relative c'' { \key g \major g'1 b }
88 sopranoLyrics = \lyricmode { Lyr -- ics }
89 altoIMusic = \relative c' { \key g \major g'1 b }
90 altoIIMusic = \relative c' { \key g \major g'1 b }
91 altoILyrics =  \sopranoLyrics
92 altoIILyrics = \lyricmode { Ah -- ah }
93 tenorMusic = \relative c' { \clef "treble_8" \key g \major g1 b }
94 tenorLyrics = \sopranoLyrics
95 pianoRHMusic = \relative c { \key g \major g''1 b }
96 pianoLHMusic = \relative c { \clef bass \key g \major g1 b }
97 violinIMusic = \relative c' { \key g \major g'1 b }
98 violinIIMusic = \relative c' { \key g \major g'1 b }
99 violaMusic = \relative c { \clef alto \key g \major g'1 b }
100 celloMusic = \relative c { \clef bass \key g \major g1 b }
101 bassMusic = \relative c { \clef "bass_8" \key g \major g,1 b }
102
103 \score {
104   <<
105     \new StaffGroup = "StaffGroup_woodwinds" <<
106       \new Staff = "Staff_flute" {
107         \set Staff.instrumentName = #"Flute"
108         % shortInstrumentName, midiInstrument, etc.
109         % may be set here as well
110         \fluteMusic
111       }
112       \new Staff = "Staff_clarinet" {
113         \set Staff.instrumentName =
114         \markup { \concat { "Clarinet in B" \flat } }
115         % Declare that written Middle C in the music
116         %  to follow sounds a concert B flat, for
117         %  output using sounded pitches such as MIDI.
118         \transposition bes
119         % Print music for a B-flat clarinet
120         \transpose bes c' \clarinetMusic
121       }
122     >>
123     \new StaffGroup = "StaffGroup_brass" <<
124       \new Staff = "Staff_hornI" {
125         \set Staff.instrumentName = #"Horn in F"
126         \transposition f
127         \transpose f c' \hornMusic
128       }
129       \new Staff = "Staff_trumpet" {
130         \set Staff.instrumentName = #"Trumpet in  C"
131         \trumpetMusic
132       }
133     >>
134     \new RhythmicStaff = "RhythmicStaff_percussion" <<
135       \set RhythmicStaff.instrumentName = #"Percussion"
136       \percussionMusic
137     >>
138     \new PianoStaff <<
139       \set PianoStaff.instrumentName = #"Piano"
140       \new Staff { \pianoRHMusic }
141       \new Staff { \pianoLHMusic }
142     >>
143     \new ChoirStaff = "ChoirStaff_choir" <<
144       \new Staff = "Staff_soprano" {
145         \set Staff.instrumentName = #"Soprano"
146         \new Voice = "soprano"
147         \sopranoMusic
148       }
149       \new Lyrics \lyricsto "soprano" { \sopranoLyrics }
150       \new GrandStaff = "GrandStaff_altos"
151       \with { \accepts Lyrics } <<
152         \new Staff = "Staff_altoI"  {
153           \set Staff.instrumentName = #"Alto I"
154           \new Voice = "altoI"
155           \altoIMusic
156         }
157         \new Lyrics \lyricsto "altoI" { \altoILyrics }
158         \new Staff = "Staff_altoII" {
159           \set Staff.instrumentName = #"Alto II"
160           \new Voice = "altoII"
161           \altoIIMusic
162         }
163         \new Lyrics \lyricsto "altoII" { \altoIILyrics }
164       >>
165       \new Staff = "Staff_tenor" {
166         \set Staff.instrumentName = #"Tenor"
167         \new Voice = "tenor"
168         \tenorMusic
169       }
170       \new Lyrics \lyricsto "tenor" { \tenorLyrics }
171     >>
172     \new StaffGroup = "StaffGroup_strings" <<
173       \new GrandStaff = "GrandStaff_violins" <<
174         \new Staff = "Staff_violinI" {
175           \set Staff.instrumentName = #"Violin I"
176           \violinIMusic
177         }
178         \new Staff = "Staff_violinII" {
179           \set Staff.instrumentName = #"Violin II"
180           \violinIIMusic
181         }
182       >>
183       \new Staff = "Staff_viola" {
184         \set Staff.instrumentName = #"Viola"
185         \violaMusic
186       }
187       \new Staff = "Staff_cello" {
188         \set Staff.instrumentName = #"Cello"
189         \celloMusic
190       }
191       \new Staff = "Staff_bass" {
192         \set Staff.instrumentName = #"Double Bass"
193         \bassMusic
194       }
195     >>
196   >>
197   \layout { }
198 }
199