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