1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
3 Translation of GIT committish: 673cef312bbefe407f87a1c2e041980bc61396c6
5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. See TRANSLATION for details.
12 @c Translators: Yoshiki Sawada
13 @c Translation status: post-GDP
18 @translationof Simultaneous notes
20 @lilypondfile[quote]{simultaneous-headword.ly}
22 楽譜の中で多声部は楽曲の 1 節の中にある複数のボイスを参照します。@c
23 LilyPond の中で多声部は同じ譜にある複数のボイスを参照します。
33 @translationof Single voice
35 このセクションでは同じボイスの中にある同時進行する音符について議論します。
46 @unnumberedsubsubsec 和音の音符
47 @translationof Chorded notes
50 @cindex brackets, angle (山括弧)
56 和音は @code{<} と @code{>} で 1 組のピッチを囲むことによって形成されます。@c
57 和音の後には -- 普通の音符と同様に -- 演奏時間が続くかもしれません:
59 @lilypond[verbatim,quote,relative=2]
60 <a c e>1 <a c e>2 <f a c e>4 <a c>8. <g c e>16
63 さらに、和音の後には -- 普通の音符と同様に -- アーティキュレーションが@c
66 @lilypond[verbatim,quote,relative=2]
67 <a c e>1\fermata <a c e>2-> <f a c e>4\prall <a c>8.^| <g c e>16-.
70 和音の中にある音符自体にもアーティキュレーションや装飾を付けることができます。
72 @lilypond[verbatim,quote,relative=2]
73 <a c\prall e>1 <a-> c-^ e>2 <f-. a c-. e-.>4 <a-+ c-->8. <g\fermata c e\turn>16
77 -- 強弱記号、ヘアピン、それにスラーなど --
78 は和音の中の音符ではなく、和音に付ける必要があります。@c
81 @lilypond[verbatim,quote,relative=2]
82 <a\f c( e>1 <a c) e>\f <a\< c e>( <a\! c e>) <a c e>\< <a c e> <a c e>\!
85 @cindex relative pitch, chords (和音と相対ピッチ)
86 @cindex chords, relative pitch (相対ピッチと和音)
88 和音の中のピッチに対して相対モードを使うことができます。@c
89 各和音の最初の音符は常に、前の和音の最初の音符との相対関係で決まります。@c
90 前が和音でない場合は、その和音の前にある最後のピッチとの相対関係になります。@c
91 和音の中にある残りの音符はすべて @emph{同じ和音の中にある}
94 @lilypond[verbatim,quote,relative=2]
95 <a c e>1 <f a c> <a c e> <f' a c> <b, e b,>
98 和音についての更なる情報は、@ref{Chord notation} を参照してください。
106 @rlearning{音符を組み合わせて和音にする}
109 @ref{Chord notation},
110 @ref{アーティキュレーションと装飾},
115 @rlsr{Simultaneous notes}
118 1 譜スペース内に 3 つ以上のピッチを保持している和音
119 -- @samp{<e f! fis!>} など --
126 一時的に @ref{複数のボイス} を使用する -- @samp{<< f! \\ <e fis!> >>},
129 いくつかのピッチを異名同音に書き換える -- @samp{<e f ges>},
137 @unnumberedsubsubsec 和音の繰り返し
138 @translationof Chord repetition
140 入力の手間を省くために、前の和音を繰り返すための短縮記法があります。@c
141 和音を繰り返すためのシンボルは @code{q} です:
143 @lilypond[verbatim,quote,relative=2]
144 <a c e>1 q <f a c>2 q
147 前の和音のピッチが複製されているだけなので、
148 通常の和音と同様に、和音の繰り返しのシンボルにも演奏時間、@c
149 アーティキュレーション、マークアップ、スラー、連桁などを使うことができます。
151 @lilypond[verbatim,quote,relative=2]
152 <a c e>1\p^"text" q2\<( q8)[-| q8.]\! q16-1-2-3 q8\prall
155 和音繰り返しのシンボルは常に最後の和音を覚えているため、@c
156 最後の和音の後に和音ではない音符や休符があったとしても、@c
159 @lilypond[verbatim,quote,relative=2]
163 しかしながら、和音繰り返しのシンボルは前の和音の強弱記号、@c
164 アーティキュレーション、あるいは装飾を持ち越しません。
166 @lilypond[verbatim,quote,relative=2]
167 <a-. c\prall e>1\sfz c4 q2 r8 q8
172 @ref{Chord notation},
176 @file{ly/chord-repetition-init.ly}
180 @unnumberedsubsubsec 同時進行表記
181 @translationof Simultaneous expressions
183 2 重山括弧で囲まれた 1 つあるいは複数の音楽表記は同時進行します。@c
185 あるいは同時進行する表記全体が明らかに単一のボイスの中にある場合、@c
186 その表記全体は単一の譜の上に配置されます。@c
187 そうでない場合、同時進行する表記の要素は別々の譜の上に配置されます。
189 以下の例は 1 つの譜の上にある同時進行表記を示しています:
192 @lilypond[quote,verbatim,relative=2]
193 \new Voice { % 明らかに単一のボイスです
194 << { a4 b g2 } { d4 g c,2 } >>
198 @lilypond[quote,verbatim,relative=2]
200 a << {a4 b g} {d4 g c,} >>
203 これは同時進行するセクションが同一のリズムを持つ場合に役に立ちます。@c
204 しかしながら、異なる演奏時間を持つ音符を同じ符幹に取り付けようとすると@c
207 以下の例は、同時進行する表記が暗黙的に複数の譜を生成する様子を示しています:
210 @lilypond[quote,verbatim,relative=2]
212 << {a4 b g2} {d4 g2 c,4} >>
215 ここでは、リズムが異なっていても問題ありません。
219 @unnumberedsubsubsec クラスタ
220 @translationof Clusters
222 @cindex cluster (クラスタ)
223 @cindex note cluster (音符のクラスタ)
225 @funindex \makeClusters
226 @funindex makeClusters
228 クラスタは演奏すべき連続したピッチの範囲を示します。@c
229 クラスタは 1 組の音符の範囲 (envelope) として表されます。@c
230 クラスタはひと続きの和音に関数 @code{\makeClusters}
234 @lilypond[quote,relative=2,verbatim]
235 \makeClusters { <g b>2 <c g'> }
238 通常の音符とクラスタを同じ譜に一緒にして配置することができます
239 -- たとえ、それらが同時進行であってもです。@c
240 そのようなケースでは、通常の音符とクラスタの衝突を@c
241 自動的に回避しようとする試みは行われません。
249 @rlsr{Simultaneous notes}
252 @rinternals{ClusterSpanner},
253 @rinternals{ClusterSpannerBeacon},
254 @rinternals{Cluster_spanner_engraver}
259 クラスタは少なくとも 2 つの和音を持つ場合にのみうまく譜刻されます。@c
260 さもなければ、あまりにも狭く譜刻されます。
262 クラスタは符幹を持たず、それ自体で演奏時間を示すことはできません。@c
263 しかしながら、譜刻されるクラスタの長さはクラスタを定義する和音の演奏時間に@c
264 よって決定されます。クラスタを分割するには、クラスタとクラスタの間に@c
267 クラスタは MIDI 出力を作り出しません。
271 @translationof Multiple voices
273 このセクションでは複数のボイスあるいは複数の譜の中にある同時進行する音符に@c
286 @unnumberedsubsubsec 単一譜の多声
287 @translationof Single-staff polyphony
289 @cindex single-staff polyphony (単一譜の多声)
290 @cindex polyphony, single-staff (単一譜の多声)
292 @cindex lyrics assigned to one voice (1 つのボイスに代入される歌詞)
296 @funindex \voiceOne ... \voiceFour
301 @strong{@i{明示的にボイスをインスタンス化する}}
303 単一の譜の中に複数の独立したボイスを配置するのに必要とされる基本的な構造が@c
306 @lilypond[quote,relative=3,verbatim]
309 { \voiceOne r8 r16 g e8. f16 g8[ c,] f e16 d }
311 { \voiceTwo d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. }
316 ここでは、ボイスは明示的にインスタンス化されていて、名前を与えられています。@c
317 @code{\voiceOne} ... @code{\voiceFour} コマンドはボイスをセット アップし、@c
318 それにより、1 番目と 3 番目のボイスは上向きの符幹を持ち、2 番目と 4 番目の@c
319 ボイスは下向きの符幹を持ち、3 番目と 4 番目のボイスの符頭は水平方向にずれて、@c
320 それぞれのボイスの中の休符は衝突を避けるために自動的に移動させられます。@c
321 @code{\oneVoice} コマンドはすべてのボイス設定をニュートラルなデフォルトの@c
325 @strong{@i{一時的に多声となる楽節 (passage)}}
327 一時的に多声となる楽節は以下のような構成で作成することができます:
330 << @{ \voiceOne ... @}
331 \new Voice @{ \voiceTwo ... @}
336 ここで、一時多声楽節の中の最初の表記は直前に使われていた
337 @code{Voice} コンテキストに配置され、@c
338 その @code{Voice} コンテキストは一時セクションの後も続いていきます。@c
339 山括弧の中の他の表記は別の一時ボイスに代入されます。@c
340 これと同様に、歌詞は多声セクションの前、最中、後に続いているボイスに@c
343 @lilypond[quote, verbatim, relative=2]
345 \new Voice = "melody" {
360 \new Lyrics \lyricsto "melody" {
367 ここで、@code{\voiceOne} と @code{\voiceTwo} コマンドはそれぞれのボイスの@c
370 @strong{@i{2 重バックスラッシュ構造}}
372 @code{<< @{...@} \\ @{...@} >>} 構造
373 -- この中では 2 つ (あるいはそれ以上) の表記が
374 2 重バックスラッシュで区切られています --
375 は、同じような構造だが 2 重バックスラッシュを持たない構造とは@c
377 この構造の中にある @emph{すべての} 表記は新たな @code{Voice} コンテキストに@c
379 それらの新しい @code{Voice} コンテキストは暗黙的に作成され、@c
380 あらかじめ決められた名前 @code{"1"}, @code{"2"} などを与えられます。
382 最初の例は以下のように書き換えることができます:
384 @lilypond[quote,relative=3,verbatim]
386 { r8 r16 g e8. f16 g8[ c,] f e16 d }
388 { d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. }
392 一時ボイスが作成され、それから消去されることが問題にならない場合に、@c
394 暗黙的に作成されるボイスには、それらがコードの中で現れる順番に従って、@c
395 @code{\voiceOne} ... @code{\voiceFour} コマンドと同じ設定が与えられます。
397 以下の例では、真ん中のボイスは上向きの符幹を持ちます。@c
398 そのため、それを 3 番目に置いて、望みどおりに上向きの符幹を持つボイス 3 に@c
400 休符が 2 重に譜刻されることを避けるために、空白休符を使用しています。
402 @lilypond[quote,relative=3,verbatim]
404 { r8 g g g g f16 ees f8 d }
406 { ees,8 r ees r d r d r }
408 { d'8 s c s bes s a s }
412 簡単なことですが、@rlearning{コンテキストとエングラーバ} と
413 @rlearning{ボイスを明示的にインスタンス化する} で説明されているように、@c
414 明示的に @code{Voice} コンテキストを作成しておくと賢明です。
418 入力ファイルの中にある複数のボイスを譜刻する時、以下の順序で譜刻されます:
430 これは直感に反するように見えるかもしれませんが、@c
431 自動レイアウト処理をシンプルにできます。@c
432 奇数番号のボイスには上向きの符幹が与えられ、@c
433 偶数番号のボイスには下向きの符幹が与えられるということに注意してください:
436 @lilypond[quote,verbatim]
443 { d''2 } % 3: 上から 2 番
455 同じリズムを持ち、並行して進行する音楽を譜刻するという特殊なケースでは、@c
456 並行する音楽を単一の @code{Voice} の中に組み込み、@c
457 それにより和音を形成することができます。@c
458 これを実現するには、並行する音楽を明示的にインスタンス化されたボイス内の@c
461 @lilypond[quote,relative=2,verbatim]
463 { e4 f8 d e16 f g8 d4 }
464 { c4 d8 b c16 d e8 b4 }
468 この手法では、音楽が同じリズムを持たない場合に、@c
483 @rlearning{音楽を保持するボイス},
484 @rlearning{ボイスを明示的にインスタンス化する}
487 @ref{Percussion staves},
492 @rlsr{Simultaneous notes}
496 @unnumberedsubsubsec ボイス スタイル
497 @translationof Voice styles
499 @cindex voice styles (ボイス スタイル)
500 @cindex styles, voice (ボイス スタイル)
501 @cindex coloring voices (ボイスに色を付ける)
502 @funindex \voiceOneStyle
503 @funindex \voiceTwoStyle
504 @funindex \voiceThreeStyle
505 @funindex \voiceFourStyle
506 @funindex \voiceNeutralStyle
508 ボイス毎に異なる色と形を与えて、容易に見分けられるようにすることができます:
510 @lilypond[quote,relative=2,verbatim]
512 { \voiceOneStyle d4 c2 b4 }
514 { \voiceTwoStyle e,2 e }
516 { \voiceThreeStyle b2. c4 }
518 { \voiceFourStyle g'2 g }
522 @code{\voiceNeutralstyle} コマンドは標準の体裁に戻すために使用されます。
526 @code{\voiceOneStyle},
527 @code{\voiceTwoStyle},
528 @code{\voiceThreeStyle},
529 @code{\voiceFourStyle},
530 @code{\voiceNeutralStyle}
536 @rlearning{私はボイスを聴いている},
540 @rlsr{Simultaneous notes}
544 @unnumberedsubsubsec 衝突の解決
545 @translationof Collision resolution
547 @cindex merging notes (音符に余白を設ける)
548 @cindex note collisions (音符の衝突)
549 @cindex collisions (衝突)
550 @cindex shift note (音符のシフト)
551 @cindex multiple voices
552 @cindex voices, multiple (複数のボイス)
553 @cindex polyphonic music (多声の音楽)
554 @cindex shifting voices (ボイスをずらす)
555 @cindex voices, multiple (複数のボイス)
556 @cindex shift rest, automatic (自動的な休符のシフト)
565 @funindex \mergeDifferentlyDottedOn
566 @funindex mergeDifferentlyDottedOn
567 @funindex \mergeDifferentlyDottedOff
568 @funindex mergeDifferentlyDottedOff
569 @funindex \mergeDifferentlyHeadedOn
570 @funindex mergeDifferentlyHeadedOn
571 @funindex \mergeDifferentlyHeadedOff
572 @funindex mergeDifferentlyHeadedOff
574 同じピッチ、同じ符頭を持ち、符幹の方向が逆で異なるボイスの中にある符頭は@c
575 自動的に 1 つの符頭にまとめられます -- マージされます。@c
576 しかしながら、音符の符頭が異なっていたり、符幹の方向が同じである場合は@c
578 異なるボイスの中にあり、符幹の方向が逆の休符は垂直方向にずらされます。@c
579 以下の例は 3 つの異なる状態を示しています
580 -- 第 1 小節の 1, 3 拍目、それに第 2 小節の 1 拍目で自動マージが失敗しています。
582 @lilypond[quote,verbatim,relative=2]
598 以下に示すように、異なる符頭を持つ音符をマージすることができます
599 -- 例外として、半音符と 4 分音符のマージはできません。@c
600 第 1 小節の 1 拍目の符頭がマージされました:
602 @lilypond[quote,verbatim,relative=2]
605 \mergeDifferentlyHeadedOn
619 第 1 小節の 3 拍目のように異なる付点を持つ符頭もマージすることができます:
621 @lilypond[quote,relative=2,verbatim]
624 \mergeDifferentlyHeadedOn
625 \mergeDifferentlyDottedOn
640 第 2 小節の最初の版音符と 8 分音符は正しくマージされていません。@c
641 なぜなら 3 つ以上の音符が同じ列に並ぶ場合、@c
642 自動マージは正しく機能できないからです。@c
643 今回のケースでは、マージされた符頭が間違っています。@c
644 マージが正しい符頭を選択できるようにするため、@c
645 マージすべきでない符頭に @code{\shift} を適用する必要があります。@c
646 ここでは、@code{\shiftOn} を適用することで、@c
647 最上段にある @notation{g} を列から外し、@c
648 @code{\mergeDifferentlyHeadedOn} を正しく機能させています。
650 @lilypond[quote,relative=2,verbatim]
653 \mergeDifferentlyHeadedOn
654 \mergeDifferentlyDottedOn
669 @code{\shiftOn} コマンドは、ボイスの中にある音符がずれることを許可します
671 @code{\shiftOn} がボイスに適用されると、そのボイスの中にある音符あるいは和音は、@c
672 同じ向きの符幹を持つ他のボイスと符幹が衝突する場合にのみ、ずらされます。@c
673 @code{\shiftOff} コマンドは、適用された時点から、@c
677 外側のボイス (通常はボイス 1 と 2) には @code{\shiftOff} が指定されていて、@c
678 内側のボイス (ボイス 3 以上) には @code{\shiftOn} が指定されています。@c
679 音符をずらす場合、上向きの符幹を持つボイス (奇数番号のボイス) は右側にずらされ、@c
680 下向きの符幹を持つボイス (偶数番号のボイス) は左側にずらされます。
682 簡略化された多声表記が内部的にどのように展開されるかをお見せするための@c
685 @warning{3 つ以上のボイスがある場合、@c
686 入力ファイルでのボイスの垂直方向の順序は、@c
687 譜上でのボイスの垂直方向の順序と同じにすべきではありません!}
690 @lilypond[quote,verbatim]
691 \new Staff \relative c'' {
704 \new Voice = "1" { \voiceOne \shiftOff f'2 }
705 \new Voice = "2" { \voiceTwo \shiftOff g,2 }
706 \new Voice = "3" { \voiceThree \shiftOn d'2 } % shifts right
707 \new Voice = "4" { \voiceFour \shiftOn b2 } % shifts left
712 さらに 2 つのコマンド -- @code{\shiftOnn} と @code{\shiftOnnn} -- は、@c
713 複雑な状況で衝突を解決するために一時的に指定されるさらに大きなずれを提供します。@c
714 @rlearning{実際の音楽からの例} を参照してください。
717 (例えば、デフォルトのボイス 1 と 2 である場合や、@c
718 明示的に符幹の向きが反対になるよう指定されている場合)
724 @code{\mergeDifferentlyDottedOn},
725 @code{\mergeDifferentlyDottedOff},
726 @code{\mergeDifferentlyHeadedOn},
727 @code{\mergeDifferentlyHeadedOff}
738 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
739 {additional-voices-to-avoid-collisions.ly}
741 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
742 {forcing-horizontal-shift-of-notes.ly}
750 @rlearning{同時に演奏する複数の音符},
751 @rlearning{音楽を保持するボイス},
752 @rlearning{オブジェクトの衝突}
755 @rlsr{Simultaneous notes}
758 @rinternals{NoteColumn},
759 @rinternals{NoteCollision},
760 @rinternals{RestCollision}
765 上向きの符幹を持つ 8 分音符やそれよりも短い音符と下向きの符幹を持つ@c
766 半音符に対して @code{\mergeDifferentlyHeadedOn} を使用した場合、@c
767 8 分音符の符幹のオフセットはわずかに正しくなりません。@c
768 なぜなら、半音符の符頭シンボルと幅が異なるからです。
770 @c TODO investigate! Sometimes it works, sometimes not. --FV
771 The requirements for successfully merging different note heads that
772 are at the same time differently dotted are not clear.
774 同じ和音の中で同じ音符が異なる臨時記号を持つ場合、その和音の衝突回避は@c
776 そのような場合、異名同音 (エンハーモニック) に書き換えるか、@c
777 クラスタという特殊な記譜法 (@ref{クラスタ} を参照してください)
783 @unnumberedsubsubsec 自動パート結合
784 @translationof Automatic part combining
786 @cindex automatic part combining (自動パート結合)
787 @cindex part combiner (パート結合)
788 @cindex combining parts (パート結合)
789 @cindex a due part (二重奏パート)
790 @cindex solo part (ソロ パート)
791 @funindex \partcombine
792 @funindex partcombine
794 自動パート結合は 1 つの譜上にある 2 つのパートを 1 つに結合するために@c
796 これはオーケストラ譜を譜刻することを目的としています。@c
797 ある範囲で 2 つのパートが同一である場合、1 つだけが譜刻されます。@c
798 2 つのパートが異なる箇所では別々のボイスとして譜刻され、@c
800 さらに、デフォルトで、ソロ パートと @notation{二重奏 (due)} パートが識別され、@c
806 \partcombine @var{musicexpr1} @var{musicexpr2}
809 以下の例はパート結合の基本的な機能を示しています:
810 パートを 1 つの譜に配置し、符幹の向きと多声をセットします。@c
811 個々のパートと結合譜で同じ変数が使用されています。
813 @lilypond[quote,verbatim]
814 instrumentOne = \relative c' {
822 instrumentTwo = \relative g' {
831 \new Staff \instrumentOne
832 \new Staff \instrumentTwo
833 \new Staff \partcombine \instrumentOne \instrumentTwo
837 第 3 小節の音符は、両方のパートで指定されているにもかかわらず、@c
839 符幹、スラーそれにタイの向きは、ソロなのかあるいは斉奏なのかによって、@c
841 多声が必要になる場合、第 1 パート (@code{one} と呼ばれるコンテキストを持ちます)
843 一方、第 2 パート (@code{two} と呼ばれるコンテキストを持ちます) は@c
845 ソロの場合、第 1 パートと第 2 パートにはそれぞれ @q{Solo} と @q{Solo II}
847 斉奏 (@notation{二重奏}) パートには、デフォルトで、テキスト @qq{a2} という@c
850 @code{\partcombine} の引数は 2 つとも @code{Voice} コンテキストとして@c
852 相対オクターブを用いる場合、@code{\relative} を両方の音楽表記に@c
858 \relative @dots{} @var{musicexpr1}
859 \relative @dots{} @var{musicexpr2}
863 @code{\partcombine} の外側にある @code{\relative} セクションは @var{musicexpr1}
864 と @var{musicexpr2} のピッチには影響を与えません。
867 1, 2 の音符が同時進行していて容易にユニゾンとして譜刻できる場合であっても、
868 長い間ボイスが分かれていることがしばしばあります。@c
869 @c その場合、音符を結合させて和音にしたり、@c
870 @c ボイスの 1 つをソロとして見せることは望ましくありません
872 Combining notes into a chord, or showing one voice as solo
873 is therefore not ideal as the @code{\partcombine} function considers
874 each note separately.
875 そのため、以下のコマンドで @code{\partcombine} 関数を@c
880 @code{\partcombineApart}, @code{\partcombineApartOnce}:
881 音符を結合させて和音やユニゾンにすることができる場合であっても、@c
882 音符を 2 つの別個のボイスに分けて譜刻します。
885 @code{\partcombineChords}, @code{\partcombineChordsOnce}:
889 @code{\partcombineUnisono}, @code{\partcombineUnisonoOnce}:
890 2 つのボイスをユニゾンとして譜刻します。
893 @code{\partcombineSoloI}, @code{\partcombineSoloIOnce}:
894 ボイス 1 だけを譜刻して、ソロのマークを付けます。
897 @code{\partcombineSoloII}, @code{\partcombineSoloIIOnce}:
898 ボイス 2 だけを譜刻して、ソロのマークを付けます。
901 @code{\partcombineAutomatic}, @code{\partcombineAutomaticOnce}:
902 上記の特殊コマンドの効果を終わらせ、デフォルトのパート結合機能に戻します。
906 終わりが @code{...Once} のコマンドはすべて、その後の音符にのみ適用されます。
908 @lilypond[quote,verbatim]
909 instrumentOne = \relative c' {
910 \partcombineApart c2^"apart" e |
911 \partcombineAutomatic e^"auto" e |
912 \partcombineChords e'^"chord" e |
913 \partcombineAutomatic c^"auto" c |
914 \partcombineApart c^"apart" \partcombineChordsOnce e^"chord once" |
917 instrumentTwo = \relative c' {
927 \new Staff { \instrumentOne }
928 \new Staff { \instrumentTwo }
929 \new Staff { \partcombine \instrumentOne \instrumentTwo }
936 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
937 {combining-two-parts-on-the-same-staff.ly}
939 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
940 {changing-partcombine-texts.ly}
952 @rlsr{Simultaneous notes}
955 @rinternals{PartCombineMusic},
961 @code{\partcombine} が受け取れるボイスは 2 つだけです。
963 When @code{printPartCombineTexts} is set, if the two voices play
964 the same notes on and off, the part combiner may typeset @code{a2}
965 more than once in a measure.
967 @code{\partcombine} を @code{\times} の中に置くことはできません。
969 @code{\partcombine} を @code{\relative} の中に置くことはできません。
971 内部的には、@code{\partcombine} は 2 つの引数を @code{Voice} として解釈し、@c
972 2 つのパートを結合することができるかどうかを決定します。@c
973 2 つのパートが異なる演奏時間を持つ場合、@c
975 それぞれに @code{one}, @code{two} という名前が与えられます。@c
977 Consequently, if the arguments switch to
978 differently named @rinternals{Voice} contexts, the events in those will
980 同様に、パート結合は歌詞に対して機能するようには設計されていません。@c
981 ボイスの 1 つが、歌詞を持つために明示的に名前を付けられた場合、@c
984 @code{\partcombine} は @code{\partcombine} の開始後の音符だけを観察します。@c
985 その前に開始した音符が演奏中であるかどうかを検出することはできません。@c
991 @unnumberedsubsubsec 音楽を並列に記述する
992 @translationof Writing music in parallel
994 @cindex writing music in parallel (音楽を並列に記述する)
995 @cindex interleaved music (間奏)
996 @cindex parallel music (並列な音楽)
997 @funindex \parallelMusic
998 @funindex parallelMusic
1000 複数のパートを持つ音楽を入力コードの途中に挿入することができます。@c
1001 関数 @code{\parallelMusic} は、@c
1002 作成する変数名をいくつか持つリストと音楽表記を受け付けます。@c
1003 各小節ごとの音楽表記は各変数の値となり、@c
1004 後で音楽を譜刻するために使用することができます。
1006 @warning{小節チェック @code{|} を使用する必要があり、@c
1007 各小節は同じ長さでなければなりません。}
1009 @lilypond[quote,verbatim]
1010 \parallelMusic #'(voiceA voiceB voiceC) {
1012 r8 g'16 c'' e'' g' c'' e'' r8 g'16 c'' e'' g' c'' e'' |
1013 r16 e'8.~ e'4 r16 e'8.~ e'4 |
1017 r8 a'16 d'' f'' a' d'' f'' r8 a'16 d'' f'' a' d'' f'' |
1018 r16 d'8.~ d'4 r16 d'8.~ d'4 |
1023 \new Staff << \voiceA \\ \voiceB >>
1024 \new Staff { \clef bass \voiceC }
1028 相対モードを使用することができます。@c
1029 @code{\relative} コマンドを @code{\parallelMusic} 自体の中では@c
1030 使用しないということに注意してください。@c
1031 音符が前の音符と相対関係になるのはボイスの中であり、入力の中ではありません --
1032 言い換えると、@code{voiceA} の相対音符は @code{voiceB} の音符を無視します。
1034 @lilypond[quote,verbatim]
1035 \parallelMusic #'(voiceA voiceB voiceC) {
1037 r8 g16 c e g, c e r8 g,16 c e g, c e |
1038 r16 e8.~ e4 r16 e8.~ e4 |
1042 r8 a,16 d f a, d f r8 a,16 d f a, d f |
1043 r16 d8.~ d4 r16 d8.~ d4 |
1048 \new Staff << \relative c'' \voiceA \\ \relative c' \voiceB >>
1049 \new Staff \relative c' { \clef bass \voiceC }
1053 これはピアノ譜で非常に良く機能します。@c
1054 以下の例は、4 つの連続する小節を 4 つの変数に割り当てています:
1056 @lilypond[quote,verbatim]
1062 \parallelMusic #'(voiceA voiceB voiceC voiceD) {
1066 c16 d e fis d e fis g |
1072 e16 fis g a fis g a b |
1083 \relative c'' \voiceA
1085 \relative c' \voiceB
1103 @rlearning{変数を用いて楽曲を編成する}
1106 @rlsr{Simultaneous notes}