]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/string-quartet-template-with-separate-parts.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / Documentation / snippets / string-quartet-template-with-separate-parts.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6 %% Translation of GIT committish: 892286cbfdbe89420b8181975032ea975e79d2f5
7   texidocfr = "
8 Grâce à ce canevas, vous pouvez obtenir une partition d'excellente
9 facture pour quatuor à cordes mais aussi, si le besoin s'en faisait
10 sentir, une partie séparée par instrument.  Par ailleurs, cet exemple
11 illustre l'utilisation de la fonction @code{\\tag} dans le but
12 d'extraire des parties séparées.
13
14 Il vous faudra découper ce canevas en plusieurs fichiers séparés ; leur
15 nom respectif est indiqué en commentaire : @code{piece.ly} comporte tout
16 ce qui a trait à la musique, les autres fichiers -- @code{score.ly},
17 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly}, et @code{vlc.ly} -- vous
18 permettront d'obtenir les parties selon le pupitre.
19
20
21 N'oubliez pas de supprimer les commentaires superflus des fichiers
22 individualisés !
23
24 "
25   doctitlefr = "Quatuor à cordes, avec parties séparées"
26
27   lsrtags = "unfretted-strings, template"
28
29 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
30   texidoces = "
31 El fragmento de código \"Plantilla de cuarteto de cuerda\" produce un
32 resultado satisfactorio para el cuarteto, pero ¿y si tenemos que
33 imprimir las particellas? Esta nueva plantilla muestra cómo usar la
34 funcionalidad @code{\\tag} (etiqueta) para dividir fácilmente una
35 pieza en particellas indicviduales.
36
37 Tenemos que dividir esta plantilla en archivos independientes; los
38 nombres de archivo están dentro de los comentarios al principio de
39 cada archivo. @code{piece.ly} contiene todas las definiciones de
40 música. Los otros archivos (@code{score.ly}, @code{vn1.ly},
41 @code{vn2.ly}, @code{vla.ly} y @code{vlc.ly}) producen la particella
42 correspondiente.
43
44 ¡No olvide quitar los comentarios que hemos especificado cuando use
45 los archivos independientes!
46
47 "
48   doctitlees = "Plantilla de cuarteto de cuerda con particellas independientes"
49   
50 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
51   texidocde = "
52 Mit diesem Beispiel können Sie ein schönes Streichquartett notieren, 
53 aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel 
54 oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt 
55 voneinander notieren können. Im nächsten Beispiel wird nun 
56 gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen.
57
58 Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen
59 sind in den Kommentaren am Anfang jeder Datei enthalten.  @code{piece.ly}
60 enthält die Noten. Die anderen Dateien -- @code{score.ly},
61 @code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} und
62 @code{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die 
63 Partitur (@code{score.ly}). Mit @code{\tag} wird den Stimmen ein Name 
64 zugewiesen, auf den zurückgegriffen werden kann.
65 "
66
67   doctitlede = "Vorlage für Streichquartett mit einzelnen Stimmen"
68   
69 %% Translation of GIT committish: 06d99c3c9ad1c3472277b4eafd7761c4aadb84ae
70   texidocja = "
71 \"弦楽四重奏テンプレート\" は適切な弦楽四重奏の楽譜を作り出しますが、個々の@c
72 パート譜を譜刻する必要がある場合はどうでしょうか?今度の新しいテンプレートは 
73 @code{@bs{}tag} 機能を用いて容易に楽曲を個々のパートに分ける方法を示しています。
74
75 このテンプレートは別々のファイルに分ける必要があります。ファイル名は各ファイル@c
76 の開始部分のコメントの中に記述されています。@code{piece.ly} はすべての音楽定義@c
77 を保持しています。他のファイル - @code{score.ly}, @code{vn1.ly}, @code{vn2.ly}, 
78 @code{vla.ly} それに @code{vlc.ly} - は対応するパートを作り出します。
79
80
81 別々のファイルに分ける場合は、指定されたコメントを外すことを忘れないでください!
82 "
83
84   texidoc = "
85 The \"String quartet template\" snippet produces a nice string quartet,
86 but what if you needed to print parts? This new template demonstrates
87 how to use the @code{\\tag} feature to easily split a piece into
88 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