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