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