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