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