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