1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
3 Translation of GIT committish: 3c62ac104645533873bba800f7b0f371089f535a
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 @cindex Chord, repetition (和音の繰り返し)
141 @cindex repetition, using @code{q} (@code{q} を用いた繰り返し)
143 入力の手間を省くために、前の和音を繰り返すための短縮記法があります。@c
144 和音を繰り返すためのシンボルは @code{q} です:
146 @lilypond[verbatim,quote,relative=2]
147 <a c e>1 q <f a c>2 q
150 前の和音のピッチが複製されているだけなので、
151 通常の和音と同様に、和音の繰り返しのシンボルにも演奏時間、@c
152 アーティキュレーション、マークアップ、スラー、連桁などを使うことができます。
154 @lilypond[verbatim,quote,relative=2]
155 <a c e>1\p^"text" q2\<( q8)[-| q8.]\! q16-1-2-3 q8\prall
158 和音繰り返しのシンボルは常に最後の和音を覚えているため、@c
159 最後の和音の後に和音ではない音符や休符があったとしても、@c
162 @lilypond[verbatim,quote,relative=2]
163 <a c e>1 c'4 q2 r8 q8 |
167 しかしながら、和音繰り返しのシンボルは前の和音の中にある、あるいは付属している@c
168 強弱記号、アーティキュレーション、あるいは装飾を持ち越しません。
170 @lilypond[verbatim,quote,relative=2]
171 <a-. c\prall e>1\sfz c'4 q2 r8 q8 |
175 それらのイベントを持ち越すには、@code{\chordRepeats} 関数を明示的に呼び出し、@c
176 引数に持ち越す @var{イベント タイプ} を指定するリストを持たせます。@c
177 これにより持ち越されるイベントはすでに和音 @code{q} に存在しているものだけです。
179 @lilypond[verbatim,quote]
181 \chordRepeats #'(articulation-event)
182 { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
187 上記の例では @code{\chordRepeats} を @code{\relative} 構造の内部で使用する@c
189 @code{\chordRepeats} の和音イベントが展開されると、@c
190 通常どおりに入力された和音と区別が付かず、@c
191 @code{\relative} はカレントのコンテキストに基づいて音程を割り当てます。
193 ネストされた @code{\relative} のインスタンスは内外のインスタンスに@c
195 @code{\chordRepeats} の内側に @code{\relative} を配置することで@c
196 @code{\chordRepeats} の和音を展開する前に音程を確定させることができます。@c
197 今回のケースでは、内側にある @code{\relative} の内容は@c
198 外側にある @code{\relative} の影響を受けないので、@c
199 繰り返しの和音は前の和音の音程を維持しています。@c
200 また、内側の @code{\relative} は外側の @code{\relative} に影響を与えないので、@c
203 @c Without \new Voice, implicit voice creation does the dumbest thing.
204 @lilypond[verbatim,quote]
207 \chordRepeats #'(articulation-event)
209 { <a-. c\prall e>1\sfz c'4 q2 r8 q8-. } |
214 @code{\chordRepeats} は明示的に呼び出された場合にのみ
215 @code{\relative} と相互作用します:
216 暗黙的な繰り返し和音の展開はすべての @code{\relative} インスタンスが@c
221 @ref{Chord notation},
225 @file{ly/chord-repetition-init.ly}
229 @unnumberedsubsubsec 同時進行表記
230 @translationof Simultaneous expressions
232 2 重山括弧で囲まれた 1 つあるいは複数の音楽表記は同時進行します。@c
234 あるいは同時進行する表記全体が明らかに単一のボイスの中にある場合、@c
235 その表記全体は単一の譜の上に配置されます。@c
236 そうでない場合、同時進行する表記の要素は別々の譜の上に配置されます。
238 以下の例は 1 つの譜の上にある同時進行表記を示しています:
241 @lilypond[quote,verbatim,relative=2]
242 \new Voice { % 明らかに単一のボイスです
243 << { a4 b g2 } { d4 g c,2 } >>
247 @lilypond[quote,verbatim,relative=2]
249 a << {a4 b g} {d4 g c,} >>
252 これは同時進行するセクションが同一のリズムを持つ場合に役に立ちます。@c
253 しかしながら、異なる演奏時間を持つ音符を同じ符幹に取り付けようとすると@c
256 以下の例は、同時進行する表記が暗黙的に複数の譜を生成する様子を示しています:
259 @lilypond[quote,verbatim,relative=2]
261 << {a4 b g2} {d4 g2 c,4} >>
264 ここでは、リズムが異なっていても問題ありません。
266 @cindex collisions, clashing note columns (音符列の衝突)
267 @cindex collisions, ignoring (衝突を無視する)
270 譜の同じ場所で、同じ向きの符幹を持つ複数のボイスから音符がシフトされずに
271 (あるいは同じシフトで) 配置された場合、@c
272 コンパイル中に以下のメッセージが表示されます:
275 warning: ignoring too many clashing note columns
279 以下でこのメッセージを表示させなくすることができます:
282 \override NoteColumn #'ignore-collision = ##t
285 しかしながら、これは警告を非表示にするだけでなく、@c
286 衝突解決に関するすべてのメッセージを非表示にして、@c
287 他にも意図しない影響を与える可能性があります
288 (@ref{衝突の解決} の @emph{既知の問題} も参照してください)。
292 @unnumberedsubsubsec クラスタ
293 @translationof Clusters
295 @cindex cluster (クラスタ)
296 @cindex note cluster (音符のクラスタ)
298 @funindex \makeClusters
299 @funindex makeClusters
301 クラスタは演奏すべき連続したピッチの範囲を示します。@c
302 クラスタは 1 組の音符の範囲 (envelope) として表されます。@c
303 クラスタはひと続きの和音に関数 @code{\makeClusters}
307 @lilypond[quote,relative=2,verbatim]
308 \makeClusters { <g b>2 <c g'> }
311 通常の音符とクラスタを同じ譜に一緒にして配置することができます
312 -- たとえ、それらが同時進行であってもです。@c
313 そのようなケースでは、通常の音符とクラスタの衝突を@c
314 自動的に回避しようとする試みは行われません。
322 @rlsr{Simultaneous notes}
325 @rinternals{ClusterSpanner},
326 @rinternals{ClusterSpannerBeacon},
327 @rinternals{Cluster_spanner_engraver}
332 クラスタは少なくとも 2 つの和音を持つ場合にのみうまく譜刻されます。@c
333 さもなければ、あまりにも狭く譜刻されます。
335 クラスタは符幹を持たず、それ自体で演奏時間を示すことはできません。@c
336 しかしながら、譜刻されるクラスタの長さはクラスタを定義する和音の演奏時間に@c
337 よって決定されます。クラスタを分割するには、クラスタとクラスタの間に@c
340 クラスタは MIDI 出力を作り出しません。
344 @translationof Multiple voices
346 このセクションでは複数のボイスあるいは複数の譜の中にある同時進行する音符に@c
359 @unnumberedsubsubsec 単一譜の多声
360 @translationof Single-staff polyphony
362 @cindex single-staff polyphony (単一譜の多声)
363 @cindex polyphony, single-staff (単一譜の多声)
365 @cindex lyrics assigned to one voice (1 つのボイスに代入される歌詞)
369 @funindex \voiceOne ... \voiceFour
374 @strong{@i{明示的にボイスをインスタンス化する}}
376 単一の譜の中に複数の独立したボイスを配置するのに必要とされる基本的な構造が@c
379 @lilypond[quote,relative=3,verbatim]
382 { \voiceOne r8 r16 g e8. f16 g8[ c,] f e16 d }
384 { \voiceTwo d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. }
389 ここでは、ボイスは明示的にインスタンス化されていて、名前を与えられています。@c
390 @code{\voiceOne} @dots{} @code{\voiceFour} コマンドはボイスをセット アップし、@c
391 それにより、1 番目と 3 番目のボイスは上向きの符幹を持ち、2 番目と 4 番目の@c
392 ボイスは下向きの符幹を持ち、3 番目と 4 番目のボイスの符頭は水平方向にずれて、@c
393 それぞれのボイスの中の休符は衝突を避けるために自動的に移動させられます。@c
394 @code{\oneVoice} コマンドはすべてのボイス設定をニュートラルなデフォルトの@c
398 @strong{@i{一時的に多声となる楽節 (passage)}}
400 一時的に多声となる楽節は以下のような構成で作成することができます:
403 << @{ \voiceOne ... @}
404 \new Voice @{ \voiceTwo ... @}
409 ここで、一時多声楽節の中の最初の表記は直前に使われていた
410 @code{Voice} コンテキストに配置され、@c
411 その @code{Voice} コンテキストは一時セクションの後も続いていきます。@c
412 山括弧の中の他の表記は別の一時ボイスに代入されます。@c
413 これと同様に、歌詞は多声セクションの前、最中、後に続いているボイスに@c
416 @lilypond[quote, verbatim, relative=2]
418 \new Voice = "melody" {
433 \new Lyrics \lyricsto "melody" {
440 ここで、@code{\voiceOne} と @code{\voiceTwo} コマンドはそれぞれのボイスの@c
443 @strong{@i{2 重バックスラッシュ構造}}
445 @code{<< @{...@} \\ @{...@} >>} 構造
446 -- この中では 2 つ (あるいはそれ以上) の表記が
447 2 重バックスラッシュで区切られています --
448 は、同じような構造だが 2 重バックスラッシュを持たない構造とは@c
450 この構造の中にある @emph{すべての} 表記は新たな @code{Voice} コンテキストに@c
452 それらの新しい @code{Voice} コンテキストは暗黙的に作成され、@c
453 あらかじめ決められた名前 @code{"1"}, @code{"2"} などを与えられます。
455 最初の例は以下のように書き換えることができます:
457 @lilypond[quote,relative=3,verbatim]
459 { r8 r16 g e8. f16 g8[ c,] f e16 d }
461 { d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. }
465 一時ボイスが作成され、それから消去されることが問題にならない場合に、@c
467 暗黙的に作成されるボイスには、それらがコードの中で現れる順番に従って、@c
468 @code{\voiceOne} @dots{} @code{\voiceFour} コマンドと同じ設定が与えられます。
470 以下の例では、真ん中のボイスは上向きの符幹を持ちます。@c
471 そのため、それを 3 番目に置いて、望みどおりに上向きの符幹を持つボイス 3 に@c
473 休符が 2 重に譜刻されることを避けるために、空白休符を使用しています。
475 @lilypond[quote,relative=3,verbatim]
477 { r8 g g g g f16 ees f8 d }
479 { ees,8 r ees r d r d r }
481 { d'8 s c s bes s a s }
485 簡単なことですが、@rlearning{コンテキストとエングラーバ} と
486 @rlearning{ボイスを明示的にインスタンス化する} で説明されているように、@c
487 明示的に @code{Voice} コンテキストを作成しておくと賢明です。
491 入力ファイルの中にある複数のボイスを譜刻する時、以下の順序で譜刻されます:
503 これは直感に反するように見えるかもしれませんが、@c
504 自動レイアウト処理をシンプルにできます。@c
505 奇数番号のボイスには上向きの符幹が与えられ、@c
506 偶数番号のボイスには下向きの符幹が与えられるということに注意してください:
509 @lilypond[quote,verbatim]
516 { d''2 } % 3: 上から 2 番
526 @warning{歌詞、スパナ (スラー、タイ、強弱のヘアピン等) はボイスを @q{跨ぐ}
531 同じリズムを持ち、並行して進行する音楽を譜刻するという特殊なケースでは、@c
532 並行する音楽を単一の @code{Voice} の中に組み込み、@c
533 それにより和音を形成することができます。@c
534 これを実現するには、並行する音楽を明示的にインスタンス化されたボイス内の@c
537 @lilypond[quote,relative=2,verbatim]
539 { e4 f8 d e16 f g8 d4 }
540 { c4 d8 b c16 d e8 b4 }
544 この手法では、音楽が同じリズムを持たない場合に、@c
557 @rlsr{Simultaneous notes}
561 @rlearning{音楽を保持するボイス},
562 @rlearning{ボイスを明示的にインスタンス化する}
571 @unnumberedsubsubsec ボイス スタイル
572 @translationof Voice styles
574 @cindex voice styles (ボイス スタイル)
575 @cindex styles, voice (ボイス スタイル)
576 @cindex coloring voices (ボイスに色を付ける)
577 @funindex \voiceOneStyle
578 @funindex \voiceTwoStyle
579 @funindex \voiceThreeStyle
580 @funindex \voiceFourStyle
581 @funindex \voiceNeutralStyle
583 ボイス毎に異なる色と形を与えて、容易に見分けられるようにすることができます:
585 @lilypond[quote,relative=2,verbatim]
587 { \voiceOneStyle d4 c2 b4 }
589 { \voiceTwoStyle e,2 e }
591 { \voiceThreeStyle b2. c4 }
593 { \voiceFourStyle g'2 g }
597 @code{\voiceNeutralstyle} コマンドは標準の体裁に戻すために使用されます。
601 @code{\voiceOneStyle},
602 @code{\voiceTwoStyle},
603 @code{\voiceThreeStyle},
604 @code{\voiceFourStyle},
605 @code{\voiceNeutralStyle}
611 @rlearning{私はボイスを聴いている},
615 @rlsr{Simultaneous notes}
619 @unnumberedsubsubsec 衝突の解決
620 @translationof Collision resolution
622 @cindex merging notes (音符に余白を設ける)
623 @cindex note collisions (音符の衝突)
624 @cindex collisions (衝突)
625 @cindex shift note (音符のシフト)
626 @cindex multiple voices
627 @cindex voices, multiple (複数のボイス)
628 @cindex polyphonic music (多声の音楽)
629 @cindex shifting voices (ボイスをずらす)
630 @cindex voices, multiple (複数のボイス)
631 @cindex shift rest, automatic (自動的な休符のシフト)
640 @funindex \mergeDifferentlyDottedOn
641 @funindex mergeDifferentlyDottedOn
642 @funindex \mergeDifferentlyDottedOff
643 @funindex mergeDifferentlyDottedOff
644 @funindex \mergeDifferentlyHeadedOn
645 @funindex mergeDifferentlyHeadedOn
646 @funindex \mergeDifferentlyHeadedOff
647 @funindex mergeDifferentlyHeadedOff
649 同じピッチ、同じ符頭を持ち、符幹の方向が逆で異なるボイスの中にある符頭は@c
650 自動的に 1 つの符頭にまとめられます -- マージされます。@c
651 しかしながら、音符の符頭が異なっていたり、符幹の方向が同じである場合は@c
653 異なるボイスの中にあり、符幹の方向が逆の休符は垂直方向にずらされます。@c
654 以下の例は 3 つの異なる状態を示しています
655 -- 第 1 小節の 1, 3 拍目、それに第 2 小節の 1 拍目で自動マージが失敗しています。
657 @lilypond[quote,verbatim,relative=2]
673 以下に示すように、異なる符頭を持つ音符をマージすることができます
674 -- 例外として、半音符と 4 分音符のマージはできません。@c
675 第 1 小節の 1 拍目の符頭がマージされました:
677 @lilypond[quote,verbatim,relative=2]
680 \mergeDifferentlyHeadedOn
694 第 1 小節の 3 拍目のように異なる付点を持つ符頭もマージすることができます:
696 @lilypond[quote,relative=2,verbatim]
699 \mergeDifferentlyHeadedOn
700 \mergeDifferentlyDottedOn
714 第 2 小節の最初の版音符と 8 分音符は正しくマージされていません。@c
715 なぜなら 3 つ以上の音符が同じ列に並ぶ場合、@c
716 自動マージは正しく機能できないからです。@c
717 今回のケースでは、マージされた符頭が間違っています。@c
718 マージが正しい符頭を選択できるようにするため、@c
719 マージすべきでない符頭に @code{\shift} を適用する必要があります。@c
720 ここでは、@code{\shiftOn} を適用することで、@c
721 最上段にある @notation{g} を列から外し、@c
722 @code{\mergeDifferentlyHeadedOn} を正しく機能させています。
724 @lilypond[quote,relative=2,verbatim]
727 \mergeDifferentlyHeadedOn
728 \mergeDifferentlyDottedOn
743 @code{\shiftOn} コマンドは、ボイスの中にある音符がずれることを許可します
745 @code{\shiftOn} がボイスに適用されると、そのボイスの中にある音符あるいは和音は、@c
746 同じ向きの符幹を持つ他のボイスと符幹が衝突する場合にのみ、ずらされます。@c
747 @code{\shiftOff} コマンドは、適用された時点から、@c
751 外側のボイス (通常はボイス 1 と 2) には @code{\shiftOff} が指定されていて、@c
752 内側のボイス (ボイス 3 以上) には @code{\shiftOn} が指定されています。@c
753 音符をずらす場合、上向きの符幹を持つボイス (奇数番号のボイス) は右側にずらされ、@c
754 下向きの符幹を持つボイス (偶数番号のボイス) は左側にずらされます。
756 簡略化された多声表記が内部的にどのように展開されるかをお見せするための@c
759 @warning{3 つ以上のボイスがある場合、@c
760 入力ファイルでのボイスの垂直方向の順序は、@c
761 譜上でのボイスの垂直方向の順序と同じにすべきではありません!}
764 @lilypond[quote,verbatim]
765 \new Staff \relative c'' {
778 \new Voice = "1" { \voiceOne \shiftOff f'2 }
779 \new Voice = "2" { \voiceTwo \shiftOff g,2 }
780 \new Voice = "3" { \voiceThree \shiftOn d'2 } % shifts right
781 \new Voice = "4" { \voiceFour \shiftOn b2 } % shifts left
786 さらに 2 つのコマンド -- @code{\shiftOnn} と @code{\shiftOnnn} -- は、@c
787 複雑な状況で衝突を解決するために一時的に指定されるさらに大きなずれを提供します。@c
788 @rlearning{実際の音楽からの例} を参照してください。
791 (例えば、デフォルトのボイス 1 と 2 である場合や、@c
792 明示的に符幹の向きが反対になるよう指定されている場合)
796 @code{\mergeDifferentlyDottedOn},
797 @code{\mergeDifferentlyDottedOff},
798 @code{\mergeDifferentlyHeadedOn},
799 @code{\mergeDifferentlyHeadedOff}
808 @lilypondfile[verbatim,quote,texidoc,doctitle]
809 {additional-voices-to-avoid-collisions.ly}
811 @lilypondfile[verbatim,quote,texidoc,doctitle]
812 {forcing-horizontal-shift-of-notes.ly}
819 @rlearning{同時に演奏する複数の音符},
820 @rlearning{音楽を保持するボイス},
821 @rlearning{オブジェクトの衝突}
824 @rlsr{Simultaneous notes}
827 @rinternals{NoteColumn},
828 @rinternals{NoteCollision},
829 @rinternals{RestCollision}
831 @cindex collisions, ignoring (衝突を無視する)
834 @code{\override NoteColumn #'ignore-collision = ##t} を使うと@c
835 異なるボイスにある符頭が異なる音符を不適切にマージします。
837 @lilypond[quote,relative=1,verbatim]
838 \mergeDifferentlyHeadedOn
839 << { c16 a' b a } \\ { c,2 } >>
840 \override NoteColumn #'ignore-collision = ##t
841 << { c16 a' b a } \\ { c,2 } >>
846 上向きの符幹を持つ 8 分音符やそれよりも短い音符と下向きの符幹を持つ@c
847 半音符に対して @code{\mergeDifferentlyHeadedOn} を使用した場合、@c
848 8 分音符の符幹のオフセットはわずかに正しくなりません。@c
849 なぜなら、半音符の符頭シンボルと幅が異なるからです。
851 @c TODO investigate! Sometimes it works, sometimes not. --FV
852 The requirements for successfully merging different note heads that
853 are at the same time differently dotted are not clear.
855 同じ和音の中で同じ音符が異なる臨時記号を持つ場合、その和音の衝突回避は@c
857 そのような場合、異名同音 (エンハーモニック) に書き換えるか、@c
858 クラスタという特殊な記譜法 (@ref{クラスタ} を参照してください)
864 @unnumberedsubsubsec 自動パート結合
865 @translationof Automatic part combining
867 @cindex automatic part combining (自動パート結合)
868 @cindex part combiner (パート結合)
869 @cindex combining parts (パート結合)
870 @cindex a due part (二重奏パート)
871 @cindex solo part (ソロ パート)
872 @funindex \partcombine
873 @funindex partcombine
875 自動パート結合は 2 つのパートに分かれた音楽を単一の譜にマージします。@c
876 これはオーケストラ譜を譜刻する時に特に有用です。@c
877 ある範囲で 2 つのパートの音楽が同一である場合、@c
878 1 つの @code{Voice} だけが譜刻されます。@c
879 2 つのパートが異なる箇所では第 2 @code{Voice} が譜刻されます。@c
880 この場合、符幹の向きはそれぞれ上と下ににセットされ、@c
881 さらにソロ パートと @notation{二重奏 (due)} パートが識別されて@c
887 \partcombine @var{musicexpr1} @var{musicexpr2}
890 以下の例は自動パート結合の基本的な機能を示しています:
891 2 つのパートを単一の譜に多声部として配置し@c
892 、それぞれの符幹の向きをセットしています。@c
893 個々のパート譜と結合譜で同じ変数が使用されています。
895 @lilypond[quote,verbatim]
896 instrumentOne = \relative c' {
904 instrumentTwo = \relative g' {
913 \new Staff \instrumentOne
914 \new Staff \instrumentTwo
915 \new Staff \partcombine \instrumentOne \instrumentTwo
919 両パートの第 3 小節の音符は同じなので、片方の音符だけが譜刻されています。@c
920 符幹、スラー、それにタイの向きは、ソロなのかあるいは斉奏なのかによって、@c
922 多声が必要になる場合、第 1 パート (@code{one} と呼ばれるコンテキストを持ちます)
924 一方、第 2 パート (@code{two} と呼ばれるコンテキストを持ちます) は@c
926 ソロの場合、第 1 パートと第 2 パートにはそれぞれ @q{Solo} と @q{Solo II}
928 斉奏 (@notation{二重奏}) パートには、デフォルトで、テキスト @qq{a2} という@c
931 @code{\partcombine} の 2 つの引数は別個の @code{Voice} コンテキストとして@c
933 そのため、相対オクターブを用いる場合、両方のパートで @code{\relative} を@c
939 \relative @dots{} @var{musicexpr1}
940 \relative @dots{} @var{musicexpr2}
944 @code{\partcombine} の外側にある @code{\relative} セクションは @var{musicexpr1}
945 と @var{musicexpr2} のピッチには影響を与えません。
947 @funindex \partcombineChords
948 @funindex partcombineChords
949 @funindex \partcombineApart
950 @funindex partcombineApart
951 @funindex \partcombineUnisono
952 @funindex partcombineUnisono
953 @funindex \partcombineSoloI
954 @funindex partcombineSoloI
955 @funindex \partcombineSoloII
956 @funindex partcombineSoloII
957 @funindex \partcombineAutomatic
958 @funindex partcombineAutomatic
961 2 つのボイスの音符のいくつかが同じでユニゾンとして譜刻できる場合であっても、@c
963 ですから、音符を和音に組み合わせることと、1 つのボイスをソロとして表示すること@c
965 なぜなら、@code{\partcombine} 関数は各音符を個々に考慮するからです。
966 このような場合、@code{\partcombine} 関数を以下のコマンドで@c
969 @code{...Once} で終わるコマンドは、コマンドの次に来る音符だけに適用されます。
973 @code{\partcombineApart} と @code{\partcombineApartOnce} は@c
974 音符を 2 つの別個のボイスとして譜刻します
975 -- たとえ和音やユニゾンにできる場合であっても分けて譜刻します。
978 @code{\partcombineChords} と @code{\partcombineChordsOnce} は@c
979 音符を組み合わせて、和音として譜刻します。
982 @code{\partcombineUnisono} と @code{\partcombineUnisonoOnce} は@c
983 音符を組み合わせて、@qq{ユニゾン} として譜刻します。
986 @code{\partcombineSoloI} と @code{\partcombineSoloIOnce} は@c
987 ボイス 1 だけを譜刻して、@qq{Solo} のマークを付けます。
990 @code{\partcombineSoloII} と @code{\partcombineSoloIIOnce} は@c
991 ボイス 2 だけを譜刻して、@qq{Solo} のマークを付けます。
994 @code{\partcombineAutomatic} と @code{\partcombineAutomaticOnce}は@c
995 上記のコマンドの効果を終わらせ、標準の @code{\partcombine} に戻します。
998 @lilypond[quote,verbatim]
999 instrumentOne = \relative c' {
1000 \partcombineApart c2^"apart" e |
1001 \partcombineAutomatic e2^"auto" e |
1002 \partcombineChords e'2^"chord" e |
1003 \partcombineAutomatic c2^"auto" c |
1004 \partcombineApart c2^"apart" \partcombineChordsOnce e^"chord once" |
1007 instrumentTwo = \relative c' {
1017 \new Staff { \instrumentOne }
1018 \new Staff { \instrumentTwo }
1019 \new Staff { \partcombine \instrumentOne \instrumentTwo }
1025 @lilypondfile[verbatim,quote,texidoc,doctitle]
1026 {combining-two-parts-on-the-same-staff.ly}
1028 @lilypondfile[verbatim,quote,texidoc,doctitle]
1029 {changing-partcombine-texts.ly}
1041 @rlsr{Simultaneous notes}
1044 @rinternals{PartCombineMusic},
1049 すべての @code{\partcombine...} はボイスを 2 つだけ受け取ることができ、@c
1050 歌詞を処理するようには設計されていません。@c
1051 ボイスに歌詞が付けられている場合、パート結合は処理を停止します。
1053 @code{\partcombine} 関数を @code{\times} ブロックや @code{\relative} ブロック@c
1056 @code{printPartCombineTexts} がセットされていて、ある小節で 2 つのボイスの@c
1058 パート結合はその小節で @code{a2} を複数譜刻する可能性があります。
1060 @code{\partcombine} は @code{Voice} の中の音符の開始だけを検知します。@c
1061 例えば、ある @code{Voice} でパート結合を開始した時に、@c
1062 他の @code{Voice} で音符がすでに開始しているかどうかを知ることはできません。@c
1063 このことは @qq{Solo} や @qq{Unison} が不適切に譜刻されるといった@c
1064 予期しない問題を引き起こす可能性があります
1066 @code{\partcombine} はすべてのスパナ (スラー、タイ、強弱のヘアピン等) を@c
1067 同じ @code{Voice} で維持します。@c
1068 そのため、異なる @code{Voice} で始まる / 終わるスパナは@c
1069 不適切にの譜刻されたり、全く譜刻されなかったりする可能性があります。
1071 @code{\partcombine} 関数が 2 つのパートを組み合わせることができない場合
1072 (すなわち、2 つのボイスの演奏時間が異なる場合)、@c
1073 内部的に 2 つのボイスにカスタム名を付与します:
1074 それぞれ @code{one} と @code{two} です。@c
1075 このことは、異なる名前を付けられた @code{Voice} への @qq{切り替え}
1077 その @code{Voice} のイベントは無視されることを意味します。
1079 @ref{デフォルトのタブ譜} のタブ譜や @ref{自動連桁} の @emph{音符} に対して@c
1080 @code{\partcombine} を使う場合は、@c
1081 それぞれの @emph{既知の問題と警告} も参照してください。
1085 @unnumberedsubsubsec 音楽を並列に記述する
1086 @translationof Writing music in parallel
1088 @cindex writing music in parallel (音楽を並列に記述する)
1089 @cindex interleaved music (間奏)
1090 @cindex parallel music (並列な音楽)
1091 @funindex \parallelMusic
1092 @funindex parallelMusic
1094 複数のパートを持つ音楽を入力コードの途中に挿入することができます。@c
1095 関数 @code{\parallelMusic} は、@c
1096 作成する変数名をいくつか持つリストと音楽表記を受け付けます。@c
1097 各小節ごとの音楽表記は各変数の値となり、@c
1098 後で音楽を譜刻するために使用することができます。
1100 @warning{小節チェック @code{|} を使用する必要があり、@c
1101 各小節は同じ長さでなければなりません。}
1103 @lilypond[quote,verbatim]
1104 \parallelMusic #'(voiceA voiceB voiceC) {
1106 r8 g'16 c'' e'' g' c'' e'' r8 g'16 c'' e'' g' c'' e'' |
1107 r16 e'8.~ e'4 r16 e'8.~ e'4 |
1111 r8 a'16 d'' f'' a' d'' f'' r8 a'16 d'' f'' a' d'' f'' |
1112 r16 d'8.~ d'4 r16 d'8.~ d'4 |
1117 \new Staff << \voiceA \\ \voiceB >>
1118 \new Staff { \clef bass \voiceC }
1122 相対モードを使用することができます。@c
1123 @code{\relative} コマンドを @code{\parallelMusic} 自体の中では@c
1124 使用しないということに注意してください。@c
1125 音符が前の音符と相対関係になるのはボイスの中であり、入力の中ではありません --
1126 言い換えると、@code{voiceA} の相対音符は @code{voiceB} の音符を無視します。
1128 @lilypond[quote,verbatim]
1129 \parallelMusic #'(voiceA voiceB voiceC) {
1131 r8 g16 c e g, c e r8 g,16 c e g, c e |
1132 r16 e8.~ e4 r16 e8.~ e4 |
1136 r8 a,16 d f a, d f r8 a,16 d f a, d f |
1137 r16 d8.~ d4 r16 d8.~ d4 |
1142 \new Staff << \relative c'' \voiceA \\ \relative c' \voiceB >>
1143 \new Staff \relative c' { \clef bass \voiceC }
1147 これはピアノ譜で非常に良く機能します。@c
1148 以下の例は、4 つの連続する小節を 4 つの変数に割り当てています:
1150 @lilypond[quote,verbatim]
1156 \parallelMusic #'(voiceA voiceB voiceC voiceD) {
1160 c16 d e fis d e fis g |
1166 e16 fis g a fis g a b |
1177 \relative c'' \voiceA
1179 \relative c' \voiceB
1197 @rlearning{変数を用いて楽曲を編成する}
1200 @rlsr{Simultaneous notes}