]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-with-separate-parts.ly
abf723f3b7fd72b2cb80af0d8a3da3ad9872460a
[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.12.2"
8
9 \header {
10   lsrtags = "unfretted-strings, template"
11
12 %% Translation of GIT committish: 59caa3adce63114ca7972d18f95d4aadc528ec3d
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: 0a868be38a775ecb1ef935b079000cebbc64de40
50   texidocde = "
51 Mit diesem Beispiel können Sie ein schönes Streichquartett notieren,
52 aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel
53 oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt
54 voneinander notieren können. Im nächsten Beispiel wird nun
55 gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen.
56
57 Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen
58 sind in den Kommentaren am Anfang jeder Datei enthalten.  @file{piece.ly}
59 enthält die Noten. Die anderen Dateien -- @file{score.ly},
60 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly} und
61 @file{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die
62 Partitur (@file{score.ly}). Mit @code{\\tag} wird den Stimmen ein Name
63 zugewiesen, auf den zurückgegriffen werden kann.
64 "
65
66   doctitlede = "Vorlage für Streichquartett mit einzelnen Stimmen"
67
68
69 %% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
70   texidocfr = "
71 Grâce à ce canevas, vous pouvez obtenir une partition d'excellente
72 facture pour quatuor à cordes mais aussi, si le besoin s'en faisait
73 sentir, une partie séparée par instrument.  Par ailleurs, cet exemple
74 illustre l'utilisation de la fonction @code{\\tag} dans le but
75 d'extraire des parties séparées.
76
77 Il vous faudra découper ce canevas en plusieurs fichiers séparés ; leur
78 nom respectif est indiqué en commentaire : @file{piece.ly} comporte tout
79 ce qui a trait à la musique, les autres fichiers -- @file{score.ly},
80 @file{vn1.ly}, @file{vn2.ly}, @file{vla.ly}, et @file{vlc.ly} -- vous
81 permettront d'obtenir les parties selon le pupitre.
82
83
84 N'oubliez pas de supprimer les commentaires superflus des fichiers
85 individualisés !
86
87 "
88   doctitlefr = "Quatuor à cordes avec parties séparées"
89
90   texidoc = "
91 The @qq{String quartet template} snippet produces a nice string
92 quartet, but what if you needed to print parts? This new template
93 demonstrates how to use the @code{\\tag} feature to easily split a
94 piece into individual parts.
95
96 You need to split this template into separate files; the filenames are
97 contained in comments at the beginning of each file. @code{piece.ly}
98 contains all the music definitions. The other files – @code{score.ly},
99 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly}, and @code{vlc.ly} –
100 produce the appropriate part.
101
102
103 Do not forget to remove specified comments when using separate files!
104
105 "
106   doctitle = "String quartet template with separate parts"
107 } % begin verbatim
108
109 %%%%% piece.ly
110 %%%%% (This is the global definitions file)
111
112 global= {
113   \time 4/4
114   \key c \major
115 }
116
117 Violinone = \new Voice { \relative c''{
118   \set Staff.instrumentName = #"Violin 1 "
119
120   c2 d e1
121
122 \bar "|." }}   %*********************************
123 Violintwo = \new Voice { \relative c''{
124   \set Staff.instrumentName = #"Violin 2 "
125
126   g2 f e1
127
128 \bar "|." }}   %*********************************
129 Viola = \new Voice { \relative c' {
130   \set Staff.instrumentName = #"Viola "
131   \clef alto
132
133   e2 d c1
134
135 \bar "|." }}   %*********************************
136 Cello = \new Voice { \relative c' {
137   \set Staff.instrumentName = #"Cello "
138   \clef bass
139
140   c2 b a1
141
142 \bar "|."}}   %**********************************
143
144 music = {
145   <<
146     \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> }
147     \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> }
148     \tag #'score \tag #'vla \new Staff { << \global \Viola>> }
149     \tag #'score \tag #'vlc \new Staff { << \global \Cello>> }
150   >>
151 }
152
153 %%% These are the other files you need to save on your computer
154
155 %%%%% score.ly
156 %%%%% (This is the main file)
157
158
159 %\include "piece.ly"             %%% uncomment this line when using a separate file
160 #(set-global-staff-size 14)
161 \score {
162   \new StaffGroup \keepWithTag #'score \music
163   \layout { }
164   \midi { }
165 }
166
167
168 %{ Uncomment this block when using separate files
169
170 %%%%% vn1.ly
171 %%%%% (This is the Violin 1 part file)
172
173 \include "piece.ly"
174 \score {
175   \keepWithTag #'vn1 \music
176   \layout { }
177 }
178
179
180 %%%%% vn2.ly
181 %%%%% (This is the Violin 2 part file)
182
183 \include "piece.ly"
184 \score {
185   \keepWithTag #'vn2 \music
186   \layout { }
187 }
188
189
190 %%%%% vla.ly
191 %%%%% (This is the Viola part file)
192
193 \include "piece.ly"
194 \score {
195   \keepWithTag #'vla \music
196   \layout { }
197 }
198
199
200 %%%%% vlc.ly
201 %%%%% (This is the Cello part file)
202
203 \include "piece.ly"
204 \score {
205   \keepWithTag #'vlc \music
206   \layout { }
207 }
208
209 %}
210