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