]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/combining-two-parts-on-the-same-staff.ly
13d6888620069551cae35aaa0c25a6c5277d1ffd
[lilypond.git] / Documentation / snippets / combining-two-parts-on-the-same-staff.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 = "syntax-and-expressions, text, simultaneous-notes"
11
12 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
13   texidoces = "
14
15 La herramienta de combinación de partes (instrucción
16 @code{\\partcombine}) permite la combinación de varias partes
17 diferentes sobre el mismo pentagrama.  Las indicaciones textuales
18 tales como @qq{solo} o @qq{a2} se añaden de forma predeterminada; para
19 quitarlas, sencillamente establezca la propiedad
20 @code{printPartCombineTexts} al valor @qq{falso}.  Para partituras
21 vocales (como himnos), no hay necesidad de añadir los textos @qq{solo}
22 o @qq{a2}, por lo que se deben desactivar.  Sin embargo, podría ser
23 mejor no usarlo si hay solos, porque éstos no se indicarán.  En tales
24 casos podría ser preferible la notación polifónica estándar.
25
26 Este fragmento de código presenta las tres formas en que se pueden
27 imprimir dos partes sobre un solo pentagrama: polifonía estándar,
28 @code{\\partcombine} sin textos, y @code{\\partcombine} con
29 textos.
30
31 "
32   doctitlees = "Combinar dos partes sobre el mismo pentagrama"
33
34
35 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
36   texidocde = "
37 Die Funktion, die Stimmen kombiniert (also der @code{\\partcombine}-Befehl)
38 ermöglicht die Kombination unterschiedlicher Stimmen auf einem
39 System.  Textanweisungen wie \"solo\" oder \"a2\" werden automatisch
40 hinzugefügt.  Wenn man sie entfernen will, muss man die Eigenschaft
41 @code{printPartCombineTexts} auf falsch setzen.  Für Klavierauszüge
42 muss natürlich kein \"solo\"/\"a2\" usw. hinzugefügt werden, man
43 sollte sie also ausschalten.  Wenn aber Solo-Stellen in einem
44 Klavierauszug oder einer Chorpartitur angezeigt werden, ist es besser,
45 normale Polyphonie zu verwenden, weil so die Solostellen angezeigt
46 werden, auch wenn der Text des Stimmenkombinierers ausgeschaltet ist.
47
48 Der Schnipsel zeigt drei Möglichkeiten, Stimmen auf einem System zu
49 kombinieren: Standardpolyphonie, @code{\\partcombine} ohne Text und
50 @code{\\partcombine} mit Text.
51
52 "
53   doctitlede = "Zwei Stimmen auf einem System kombinieren"
54
55 %% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
56   texidocfr = "
57 L'outil de combinaison de parties (la commande @code{\\partcombine})
58 permet d'avoir deux parties différentes sur une même portée.  LilyPond
59 ajoute automatiquement des indications textuelles, telles que @qq{solo}
60 ou @qq{a2}.  Si votre intention n'est que de fusionner les parties, sans
61 ajouter de texte, assignez faux à la propriété
62 @code{printPartCombineTexts}.  Dans le cas de partitions vocales, et
63 plus particulièrement d'hymnes, ces @qq{solo/a2} ne sont d'aucune
64 utilité, aussi vaut-il mieux les désactiver.  Dans le cas où il y aurait
65 alternance entre @emph{solo} et @emph{tutti}, il vaut mieux faire appel
66 à de la musique polyphonique standard.
67
68 Voici trois moyens d'imprimer deux parties sur une même portée@tie{}: en
69 polyphonie normale, avec @code{\\partcombine} sans indication
70 supplémentaire, et avec @code{\\partcombine} commentée.
71
72 "
73   doctitlefr = "Combinaison de deux parties sur une même portée"
74
75
76   texidoc = "
77 The part combiner tool ( @code{\\partcombine} command ) allows the
78 combination of several different parts on the same staff.  Text
79 directions such as @qq{solo} or @qq{a2} are added by default; to remove
80 them, simply set the property @code{printPartCombineTexts} to @code{f}.
81 For vocal scores (hymns), there is no need to add @qq{solo/a2} texts,
82 so they should be switched off.  However, it might be better not to use
83 it if there are any solos, as they won't be indicated.  In such cases,
84 standard polyphonic notation may be preferable.
85
86 This snippet presents the three ways two parts can be printed on a same
87 staff: standard polyphony, @code{\\partcombine} without texts, and
88 @code{\\partcombine} with texts.
89
90
91
92
93 "
94   doctitle = "Combining two parts on the same staff"
95 } % begin verbatim
96
97
98 musicUp = \relative c'' {
99   \time 4/4
100   a4 c4.( g8) a4 |
101   g4 e' g,( a8 b) |
102   c b a2.
103 }
104
105 musicDown = \relative c'' {
106   g4 e4.( d8) c4 |
107   r2 g'4( f8 e) |
108   d2 \stemDown a
109 }
110
111 \score {
112   <<
113     <<
114     \new Staff {
115       \set Staff.instrumentName = #"Standard polyphony"
116       << \musicUp \\ \musicDown >>
117     }
118     \new Staff \with { printPartCombineTexts = ##f } {
119       \set Staff.instrumentName = #"PartCombine without texts"
120       \partcombine \musicUp \musicDown
121     }
122     \new Staff {
123       \set Staff.instrumentName = #"PartCombine with texts"
124       \partcombine \musicUp \musicDown
125     }
126     >>
127   >>
128   \layout {
129     indent = 6.0\cm
130     \context {
131       \Score
132       \override SystemStartBar #'collapse-height = #30
133     }
134   }
135 }
136