]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-with-separate-parts.ly
New version of LSR upgrade
[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.2"
8
9 \header {
10   lsrtags = "preparing-parts, template, unfretted-strings"
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
129 %%%%% piece.ly
130 %%%%% (This is the global definitions file)
131
132 global= {
133   \time 4/4
134   \key c \major
135 }
136
137 Violinone = \new Voice { \relative c''{
138   \set Staff.instrumentName = #"Violin 1 "
139
140   c2 d e1
141
142 \bar "|." }}   %*********************************
143 Violintwo = \new Voice { \relative c''{
144   \set Staff.instrumentName = #"Violin 2 "
145
146   g2 f e1
147
148 \bar "|." }}   %*********************************
149 Viola = \new Voice { \relative c' {
150   \set Staff.instrumentName = #"Viola "
151   \clef alto
152
153   e2 d c1
154
155 \bar "|." }}   %*********************************
156 Cello = \new Voice { \relative c' {
157   \set Staff.instrumentName = #"Cello "
158   \clef bass
159
160   c2 b a1
161
162 \bar "|."}}   %**********************************
163
164 music = {
165   <<
166     \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
167     \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
168     \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
169     \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
170   >>
171 }
172
173 %%% These are the other files you need to save on your computer
174
175 %%%%% score.ly
176 %%%%% (This is the main file)
177
178 %%% uncomment the line below when using a separate file
179 %\include "piece.ly"
180 #(set-global-staff-size 14)
181 \score {
182   \new StaffGroup \keepWithTag #'score \music
183   \layout { }
184   \midi { }
185 }
186
187
188 %{ Uncomment this block when using separate files
189
190 %%%%% vn1.ly
191 %%%%% (This is the Violin 1 part file)
192
193 \include "piece.ly"
194 \score {
195   \keepWithTag #'vn1 \music
196   \layout { }
197 }
198
199
200 %%%%% vn2.ly
201 %%%%% (This is the Violin 2 part file)
202
203 \include "piece.ly"
204 \score {
205   \keepWithTag #'vn2 \music
206   \layout { }
207 }
208
209
210 %%%%% vla.ly
211 %%%%% (This is the Viola part file)
212
213 \include "piece.ly"
214 \score {
215   \keepWithTag #'vla \music
216   \layout { }
217 }
218
219
220 %%%%% vlc.ly
221 %%%%% (This is the Cello part file)
222
223 \include "piece.ly"
224 \score {
225   \keepWithTag #'vlc \music
226   \layout { }
227 }
228
229 %}
230