]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-with-separate-parts.ly
LSR: run makelsr.py locally.
[lilypond.git] / Documentation / snippets / string-quartet-template-with-separate-parts.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   texidoc = "
12 Il frammento di codice del @qq{Modello per quartetto d'archi} crea un bel
13 quartetto, ma cosa fare se si ha bisogno di creare le singole parti? Questo
14 nuovo modello mostra come usare la funzionalità @code{\\tag} per dividere
15 facilmente un pezzo in parti individuali.
16
17 Occorre dividere questo modello in file separati; i nomi dei file sono
18 indicati nei commenti all'inizio di ogni file. @code{piece.ly}
19 contiene tutte le definizioni musicali. Gli altri file – @code{score.ly},
20 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} e @code{vlc.ly} –
21 creano ciascuna parte.
22
23
24 Non dimenticare di togliere i commenti specificati quando usi i file separati!
25
26 "
27   doctitle = "Modello per quartetto d'archi con parti separate"
28
29
30 %% Translation of GIT committish: 4077120c18ac1dc490501b3d7d5886bc93e61a42
31   texidoc = "
32 Il frammento di codice del @qq{Modello per quartetto d'archi} crea un bel
33 quartetto, ma cosa fare se si ha bisogno di creare le singole parti? Questo
34 nuovo modello mostra come usare la funzionalità @code{\\tag} per dividere
35 facilmente un pezzo in parti individuali.
36
37 Occorre dividere questo modello in file separati; i nomi dei file sono
38 indicati nei commenti all'inizio di ogni file. @code{piece.ly}
39 contiene tutte le definizioni musicali. Gli altri file – @code{score.ly},
40 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} e @code{vlc.ly} –
41 creano ciascuna parte.
42
43
44 Non dimenticare di togliere i commenti specificati quando usi i file separati!
45
46 "
47   doctitle = "Modello per quartetto d'archi con parti separate"
48
49
50
51 %% Translation of GIT committish: 4077120c18ac1dc490501b3d7d5886bc93e61a42
52   texidoc = "
53 Il frammento di codice del @qq{Modello per quartetto d'archi} crea un bel
54 quartetto, ma cosa fare se si ha bisogno di creare le singole parti? Questo
55 nuovo modello mostra come usare la funzionalità @code{\\tag} per dividere
56 facilmente un pezzo in parti individuali.
57
58 Occorre dividere questo modello in file separati; i nomi dei file sono
59 indicati nei commenti all'inizio di ogni file. @code{piece.ly}
60 contiene tutte le definizioni musicali. Gli altri file – @code{score.ly},
61 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} e @code{vlc.ly} –
62 creano ciascuna parte.
63
64
65 Non dimenticare di togliere i commenti specificati quando usi i file separati!
66
67 "
68   doctitle = "Modello per quartetto d'archi con parti separate"
69
70   lsrtags = "unfretted-strings, template"
71
72
73
74
75 %% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
76   texidoces = "
77 El fragmento de código @qq{Plantilla de cuarteto de cuerda} produce un
78 resultado satisfactorio para el cuarteto, pero ¿y si tenemos que
79 imprimir las particellas? Esta nueva plantilla muestra cómo usar la
80 funcionalidad @code{\\tag} (etiqueta) para dividir fácilmente una
81 pieza en particellas indicviduales.
82
83 Tenemos que dividir esta plantilla en archivos independientes; los
84 nombres de archivo están dentro de los comentarios al principio de
85 cada archivo. @file{piece.ly} contiene todas las definiciones de
86 música. Los otros archivos (@file{score.ly}, @file{vn1.ly},
87 @file{vn2.ly}, @file{vla.ly} y @file{vlc.ly}) producen la particella
88 correspondiente.
89
90 ¡No olvide quitar los comentarios que hemos especificado cuando use
91 los archivos independientes!
92
93 "
94   doctitlees = "Plantilla de cuarteto de cuerda con particellas independientes"
95
96
97 %% Translation of GIT committish: fa1aa6efe68346f465cfdb9565ffe35083797b86
98   texidocja = "
99 \"弦楽四重奏テンプレート\" は適切な弦楽四重奏の楽譜を作り出しますが、個々の@c
100 パート譜を譜刻する必要がある場合はどうでしょうか?今度の新しいテンプレートは
101 @code{@bs{}tag} 機能を用いて容易に楽曲を個々のパートに分ける方法を示しています。
102
103 このテンプレートは別々のファイルに分ける必要があります。ファイル名は各ファイル@c
104 の開始部分のコメントの中に記述されています。@code{piece.ly} はすべての音楽定義@c
105 を保持しています。他のファイル - @code{score.ly}, @code{vn1.ly}, @code{vn2.ly},
106 @code{vla.ly} それに @code{vlc.ly} - は対応するパートを作り出します。
107
108
109 別々のファイルに分ける場合は、指定されたコメントを外すことを忘れないでください!
110 "
111
112 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
113   texidocde = "
114 Mit diesem Beispiel können Sie ein schönes Streichquartett notieren,
115 aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel
116 oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt
117 voneinander notieren können. Im nächsten Beispiel wird nun
118 gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen.
119
120 Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen
121 sind in den Kommentaren am Anfang jeder Datei enthalten.  @file{piece.ly}
122 enthält die Noten. Die anderen Dateien -- @file{score.ly},
123 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly} und
124 @file{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die
125 Partitur (@file{score.ly}). Mit @code{\\tag} wird den Stimmen ein Name
126 zugewiesen, auf den zurückgegriffen werden kann.
127 "
128
129   doctitlede = "Vorlage für Streichquartett mit einzelnen Stimmen"
130
131
132 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
133   texidocfr = "
134 Grâce à ce canevas, vous pouvez obtenir une partition d'excellente
135 facture pour quatuor à cordes mais aussi, si le besoin s'en faisait
136 sentir, une partie séparée par instrument.  Par ailleurs, cet exemple
137 illustre l'utilisation de la fonction @code{\\tag} dans le but
138 d'extraire des parties séparées.
139
140 Il vous faudra découper ce canevas en plusieurs fichiers séparés ; leur
141 nom respectif est indiqué en commentaire : @file{piece.ly} comporte tout
142 ce qui a trait à la musique, les autres fichiers -- @file{score.ly},
143 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly}, et @file{vlc.ly} -- vous
144 permettront d'obtenir les parties selon le pupitre.
145
146
147 N'oubliez pas de supprimer les commentaires superflus des fichiers
148 individualisés !
149
150 "
151   doctitlefr = "Quatuor à cordes avec parties séparées"
152
153   texidoc = "
154 The @qq{String quartet template} snippet produces a nice string
155 quartet, but what if you needed to print parts? This new template
156 demonstrates how to use the @code{\\tag} feature to easily split a
157 piece into individual parts.
158
159 You need to split this template into separate files; the filenames are
160 contained in comments at the beginning of each file. @code{piece.ly}
161 contains all the music definitions. The other files – @code{score.ly},
162 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly}, and @code{vlc.ly} –
163 produce the appropriate part.
164
165
166 Do not forget to remove specified comments when using separate files!
167
168 "
169   doctitle = "String quartet template with separate parts"
170 } % begin verbatim
171
172 %%%%% piece.ly
173 %%%%% (This is the global definitions file)
174
175 global= {
176   \time 4/4
177   \key c \major
178 }
179
180 Violinone = \new Voice { \relative c''{
181   \set Staff.instrumentName = #"Violin 1 "
182
183   c2 d e1
184
185 \bar "|." }}   %*********************************
186 Violintwo = \new Voice { \relative c''{
187   \set Staff.instrumentName = #"Violin 2 "
188
189   g2 f e1
190
191 \bar "|." }}   %*********************************
192 Viola = \new Voice { \relative c' {
193   \set Staff.instrumentName = #"Viola "
194   \clef alto
195
196   e2 d c1
197
198 \bar "|." }}   %*********************************
199 Cello = \new Voice { \relative c' {
200   \set Staff.instrumentName = #"Cello "
201   \clef bass
202
203   c2 b a1
204
205 \bar "|."}}   %**********************************
206
207 music = {
208   <<
209     \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
210     \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
211     \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
212     \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
213   >>
214 }
215
216 %%% These are the other files you need to save on your computer
217
218 %%%%% score.ly
219 %%%%% (This is the main file)
220
221
222 %\include "piece.ly"             %%% uncomment this line when using a separate file
223 #(set-global-staff-size 14)
224 \score {
225   \new StaffGroup \keepWithTag #'score \music
226   \layout { }
227   \midi { }
228 }
229
230
231 %{ Uncomment this block when using separate files
232
233 %%%%% vn1.ly
234 %%%%% (This is the Violin 1 part file)
235
236 \include "piece.ly"
237 \score {
238   \keepWithTag #'vn1 \music
239   \layout { }
240 }
241
242
243 %%%%% vn2.ly
244 %%%%% (This is the Violin 2 part file)
245
246 \include "piece.ly"
247 \score {
248   \keepWithTag #'vn2 \music
249   \layout { }
250 }
251
252
253 %%%%% vla.ly
254 %%%%% (This is the Viola part file)
255
256 \include "piece.ly"
257 \score {
258   \keepWithTag #'vla \music
259   \layout { }
260 }
261
262
263 %%%%% vlc.ly
264 %%%%% (This is the Cello part file)
265
266 \include "piece.ly"
267 \score {
268   \keepWithTag #'vlc \music
269   \layout { }
270 }
271
272 %}
273