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