From 43985acee859f999d16605ea1f4434a4f903bbb4 Mon Sep 17 00:00:00 2001 From: Yoshiki Sawada Date: Fri, 29 Apr 2011 00:08:29 +0900 Subject: [PATCH] Doc-ja: adding simultaneous.itely and staff.itely. Doc-ja NR Adding simultaneous.itely and staff.itely. Changing notation.itely and expressive.itely. --- Documentation/ja/notation/expressive.itely | 52 +- Documentation/ja/notation/notation.itely | 8 +- Documentation/ja/notation/simultaneous.itely | 1106 +++++++++++++ Documentation/ja/notation/staff.itely | 1503 ++++++++++++++++++ 4 files changed, 2638 insertions(+), 31 deletions(-) create mode 100644 Documentation/ja/notation/simultaneous.itely create mode 100644 Documentation/ja/notation/staff.itely diff --git a/Documentation/ja/notation/expressive.itely b/Documentation/ja/notation/expressive.itely index d26647c685..e6a4142660 100644 --- a/Documentation/ja/notation/expressive.itely +++ b/Documentation/ja/notation/expressive.itely @@ -13,27 +13,27 @@ @c Translation status: post-GDP -@node 表現記号 -@section 表現記号 +@node 発想記号 +@section 発想記号 @translationof Expressive marks @lilypondfile[quote]{expressive-headword.ly} -このセクションでは楽譜の中で作成可能なさまざまな表現記号をリストアップします。 +このセクションでは楽譜の中で作成可能なさまざまな発想記号をリストアップします。 @menu -* 音符に付けられる表現記号:: -* 曲線の表現記号:: -* 直線の表現記号:: +* 音符に付けられる発想記号:: +* 曲線の発想記号:: +* 直線の発想記号:: @end menu -@node 音符に付けられる表現記号 -@subsection 音符に付けられる表現記号 +@node 音符に付けられる発想記号 +@subsection 音符に付けられる発想記号 @translationof Expressive marks attached to notes -このセクションでは、音符に添付される表現記号を作成する方法について説明します。@c -音符に添付される表現記号には以下のものがあります: +このセクションでは、音符に添付される発想記号を作成する方法について説明します。@c +音符に添付される発想記号には以下のものがあります: アーティキュレーション、装飾、強弱記号。@c 新たに強弱記号を作成する方法についても議論します。 @@ -219,7 +219,7 @@ R1\fermataMarkup @file{scm/@/script@/.scm} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{Script}, @@ -513,7 +513,7 @@ c4\< d\! e\> d\! | @ref{Controlling MIDI dynamics} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{DynamicText}, @@ -634,15 +634,15 @@ moltoF = #(make-dynamic-script @ref{Controlling MIDI dynamics} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} -@node 曲線の表現記号 -@subsection 曲線の表現記号 +@node 曲線の発想記号 +@subsection 曲線の発想記号 @translationof Expressive marks as curves @c 未訳 -このセクションでは曲線を持つさまざまな表現記号 +このセクションでは曲線を持つさまざまな発想記号 -- 通常のスラー、フレージング スラー、ブレス記号、falls それに doits -- を作成する方法について説明します。 @@ -799,7 +799,7 @@ g4( e c2) @ref{フレージング スラー} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{Slur} @@ -937,7 +937,7 @@ g4\( e c2\) @ref{スラー} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{PhrasingSlur} @@ -993,7 +993,7 @@ divisiones (ディビジョン: 区切り) がサポートされています。@ @ref{Divisiones} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{BreathingEvent}, @@ -1039,14 +1039,14 @@ command is @emph{required} when writing falls and doits. @rglos{doit} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} -@node 直線の表現記号 -@subsection 直線の表現記号 +@node 直線の発想記号 +@subsection 直線の発想記号 @translationof Expressive marks as lines -このセクションでは直線的な軌道をとるさまざまな表現記号 -- +このセクションでは直線的な軌道をとるさまざまな発想記号 -- グリッサンド、アルペジオそれにトリル -- を作成する方法について説明します。 @menu @@ -1088,7 +1088,7 @@ c2\glissando c, @ref{Line styles} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{Glissando} @@ -1209,7 +1209,7 @@ c2\glissando c, @ref{タイ} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{Arpeggio}, @@ -1347,7 +1347,7 @@ eis4\stopTrillSpan @ref{装飾小音符} コード断片集: -@rlsrnamed{Expressive marks,表現記号} +@rlsrnamed{Expressive marks,発想記号} 内部リファレンス: @rinternals{TrillSpanner} diff --git a/Documentation/ja/notation/notation.itely b/Documentation/ja/notation/notation.itely index 76e492a700..50a2d3cc14 100644 --- a/Documentation/ja/notation/notation.itely +++ b/Documentation/ja/notation/notation.itely @@ -21,18 +21,16 @@ @menu * ピッチ:: 音符のピッチを記述、表示する * リズム:: 音符の演奏時間を記述、表示する -* 表現記号:: 音符に表現を付け加える +* 発想記号:: 音符に表現を付け加える * 繰り返し:: 音楽の繰り返し -* Simultaneous notes:: More than one note at once. -* Staff notation:: Displaying staves. +* 同時進行する音符:: 同時に複数の音符を演奏する +* 譜の記譜法:: 譜を表示する * Editorial annotations:: Special notation to increase legibility. * Text:: Adding text to scores. @end menu @ignore @menu -* 同時進行する音符:: 同時に複数の音符を演奏する -* 譜の記譜法:: 譜を表示する * 編集者の注釈:: 可読性を良くするための特別な表記 * テキスト:: 楽譜にテキストを追加する @end menu diff --git a/Documentation/ja/notation/simultaneous.itely b/Documentation/ja/notation/simultaneous.itely new file mode 100644 index 0000000000..4099678ed5 --- /dev/null +++ b/Documentation/ja/notation/simultaneous.itely @@ -0,0 +1,1106 @@ +@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*- +@ignore + Translation of GIT committish: 673cef312bbefe407f87a1c2e041980bc61396c6 + + When revising a translation, copy the HEAD committish of the + version that you are working on. See TRANSLATION for details. +@end ignore + +@c \version "2.13.36" + + +@c Translators: Yoshiki Sawada +@c Translation status: post-GDP + + +@node 同時進行する音符 +@section 同時進行する音符 +@translationof Simultaneous notes + +@lilypondfile[quote]{simultaneous-headword.ly} + +楽譜の中で多声部は楽曲の 1 節の中にある複数のボイスを参照します。@c +LilyPond の中で多声部は同じ譜にある複数のボイスを参照します。 + +@menu +* 単一のボイス:: +* 複数のボイス:: +@end menu + + +@node 単一のボイス +@subsection 単一のボイス +@translationof Single voice + +このセクションでは同じボイスの中にある同時進行する音符について議論します。 + +@menu +* 和音の音符:: +* 和音の繰り返し:: +* 同時進行表記:: +* クラスタ:: +@end menu + + +@node 和音の音符 +@unnumberedsubsubsec 和音の音符 +@translationof Chorded notes + +@cindex chords (和音) +@cindex brackets, angle (山括弧) + +@funindex < +@funindex > +@funindex <...> + +和音は @code{<} と @code{>} で 1 組のピッチを囲むことによって形成されます。@c +和音の後には -- 普通の音符と同様に -- 演奏時間が続くかもしれません: + +@lilypond[verbatim,quote,relative=2] +1 2 4 8. 16 +@end lilypond + +さらに、和音の後には -- 普通の音符と同様に -- アーティキュレーションが@c +続くかもしれません: + +@lilypond[verbatim,quote,relative=2] +1\fermata 2-> 4\prall 8.^| 16-. +@end lilypond + +和音の中にある音符自体にもアーティキュレーションや装飾を付けることができます。 + +@lilypond[verbatim,quote,relative=2] +1 c-^ e>2 4 8. 16 +@end lilypond + +しかしながら、いくつかの記譜要素 +-- 強弱記号、ヘアピン、それにスラーなど -- +は和音の中の音符ではなく、和音に付ける必要があります。@c +そうしなければ、譜刻されません。 + +@lilypond[verbatim,quote,relative=2] +1 \f ( ) \< \! +@end lilypond + +@cindex relative pitch, chords (和音と相対ピッチ) +@cindex chords, relative pitch (相対ピッチと和音) + +和音の中のピッチに対して相対モードを使うことができます。@c +各和音の最初の音符は常に、前の和音の最初の音符との相対関係で決まります。@c +前が和音でない場合は、その和音の前にある最後のピッチとの相対関係になります。@c +和音の中にある残りの音符はすべて @emph{同じ和音の中にある} +前の音符との相対関係になります。 + +@lilypond[verbatim,quote,relative=2] +1 +@end lilypond + +和音についての更なる情報は、@ref{Chord notation} を参照してください。 + + +@seealso +音楽用語集: +@rglos{chord} + +学習マニュアル: +@rlearning{音符を組み合わせて和音にする} + +記譜法リファレンス: +@ref{Chord notation}, +@ref{アーティキュレーションと装飾}, +@ref{相対オクターブ入力}, +@ref{複数のボイス} + +コード断片集: +@rlsr{Simultaneous notes} + +@knownissues +1 譜スペース内に 3 つ以上のピッチを保持している和音 +-- @samp{} など -- +では、符頭が重なります。@c +状況に応じて、適切な表記を用います + +@itemize + +@item +一時的に @ref{複数のボイス} を使用する -- @samp{<< f! \\ >>}, + +@item +いくつかのピッチを異名同音に書き換える -- @samp{}, + +@item +@ref{Clusters} + +@end itemize + +@node 和音の繰り返し +@unnumberedsubsubsec 和音の繰り返し +@translationof Chord repetition + +入力の手間を省くために、前の和音を繰り返すための短縮記法があります。@c +和音を繰り返すためのシンボルは @code{q} です: + +@lilypond[verbatim,quote,relative=2] +1 q 2 q +@end lilypond + +前の和音のピッチが複製されているだけなので、 +通常の和音と同様に、和音の繰り返しのシンボルにも演奏時間、@c +アーティキュレーション、マークアップ、スラー、連桁などを使うことができます。 + +@lilypond[verbatim,quote,relative=2] +1\p^"text" q2\<( q8)[-| q8.]\! q16-1-2-3 q8\prall +@end lilypond + +和音繰り返しのシンボルは常に最後の和音を覚えているため、@c +最後の和音の後に和音ではない音符や休符があったとしても、@c +和音を繰り返すことができます。 + +@lilypond[verbatim,quote,relative=2] +1 c4 q2 r8 q8 +@end lilypond + +しかしながら、和音繰り返しのシンボルは前の和音の強弱記号、@c +アーティキュレーション、あるいは装飾を持ち越しません。 + +@lilypond[verbatim,quote,relative=2] +1\sfz c4 q2 r8 q8 +@end lilypond + +@seealso +記譜法リファレンス: +@ref{Chord notation}, +@ref{アーティキュレーションと装飾} + +インストールされているファイル: +@file{ly/chord-repetition-init.ly} + + +@node 同時進行表記 +@unnumberedsubsubsec 同時進行表記 +@translationof Simultaneous expressions + +2 重山括弧で囲まれた 1 つあるいは複数の音楽表記は同時進行します。@c +最初の表記が単一の音符で始まる場合、@c +あるいは同時進行する表記全体が明らかに単一のボイスの中にある場合、@c +その表記全体は単一の譜の上に配置されます。@c +そうでない場合、同時進行する表記の要素は別々の譜の上に配置されます。 + +以下の例は 1 つの譜の上にある同時進行表記を示しています: + +@c KEEP LY +@lilypond[quote,verbatim,relative=2] +\new Voice { % 明らかに単一のボイスです + << { a4 b g2 } { d4 g c,2 } >> +} +@end lilypond + +@lilypond[quote,verbatim,relative=2] +% 単一の音符で始まります +a << {a4 b g} {d4 g c,} >> +@end lilypond + +これは同時進行するセクションが同一のリズムを持つ場合に役に立ちます。@c +しかしながら、異なる演奏時間を持つ音符を同じ符幹に取り付けようとすると@c +エラーとなります。 + +以下の例は、同時進行する表記が暗黙的に複数の譜を生成する様子を示しています: + +@c KEEP LY +@lilypond[quote,verbatim,relative=2] +% 単一の音符で始まりません +<< {a4 b g2} {d4 g2 c,4} >> +@end lilypond + +ここでは、リズムが異なっていても問題ありません。 + + +@node クラスタ +@unnumberedsubsubsec クラスタ +@translationof Clusters + +@cindex cluster (クラスタ) +@cindex note cluster (音符のクラスタ) + +@funindex \makeClusters +@funindex makeClusters + +クラスタは演奏すべき連続したピッチの範囲を示します。@c +クラスタは 1 組の音符の範囲 (envelope) として表されます。@c +クラスタはひと続きの和音に関数 @code{\makeClusters} +を適用することによって入力されます。@c +例えば以下のように: + +@lilypond[quote,relative=2,verbatim] +\makeClusters { 2 } +@end lilypond + +通常の音符とクラスタを同じ譜に一緒にして配置することができます +-- たとえ、それらが同時進行であってもです。@c +そのようなケースでは、通常の音符とクラスタの衝突を@c +自動的に回避しようとする試みは行われません。 + + +@seealso +音楽用語集: +@rglos{cluster} + +コード断片集: +@rlsr{Simultaneous notes} + +内部リファレンス: +@rinternals{ClusterSpanner}, +@rinternals{ClusterSpannerBeacon}, +@rinternals{Cluster_spanner_engraver} + + +@knownissues + +クラスタは少なくとも 2 つの和音を持つ場合にのみうまく譜刻されます。@c +さもなければ、あまりにも狭く譜刻されます。 + +クラスタは符幹を持たず、それ自体で演奏時間を示すことはできません。@c +しかしながら、譜刻されるクラスタの長さはクラスタを定義する和音の演奏時間に@c +よって決定されます。クラスタを分割するには、クラスタとクラスタの間に@c +分割するための休符が必要です。 + +クラスタは MIDI 出力を作り出しません。 + +@node 複数のボイス +@subsection 複数のボイス +@translationof Multiple voices + +このセクションでは複数のボイスあるいは複数の譜の中にある同時進行する音符に@c +ついて議論します。 + +@menu +* 単一譜の多声:: +* ボイス スタイル:: +* 衝突の解決:: +* 自動パート結合:: +* 音楽を並列に記述する:: +@end menu + + +@node 単一譜の多声 +@unnumberedsubsubsec 単一譜の多声 +@translationof Single-staff polyphony + +@cindex single-staff polyphony (単一譜の多声) +@cindex polyphony, single-staff (単一譜の多声) +@cindex voice (ボイス) +@cindex lyrics assigned to one voice (1 つのボイスに代入される歌詞) + +@funindex \voiceOne +@funindex voiceOne +@funindex \voiceOne ... \voiceFour +@funindex Voice +@funindex \oneVoice +@funindex oneVoice + +@strong{@i{明示的にボイスをインスタンス化する}} + +単一の譜の中に複数の独立したボイスを配置するのに必要とされる基本的な構造が@c +以下の例で示されています: + +@lilypond[quote,relative=3,verbatim] +\new Staff << + \new Voice = "first" + { \voiceOne r8 r16 g e8. f16 g8[ c,] f e16 d } + \new Voice= "second" + { \voiceTwo d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. } +>> +@end lilypond + +@noindent +ここでは、ボイスは明示的にインスタンス化されていて、名前を与えられています。@c +@code{\voiceOne} ... @code{\voiceFour} コマンドはボイスをセット アップし、@c +それにより、1 番目と 3 番目のボイスは上向きの符幹を持ち、2 番目と 4 番目の@c +ボイスは下向きの符幹を持ち、3 番目と 4 番目のボイスの符頭は水平方向にずれて、@c +それぞれのボイスの中の休符は衝突を避けるために自動的に移動させられます。@c +@code{\oneVoice} コマンドはすべてのボイス設定をニュートラルなデフォルトの@c +向きに戻します。 + +@c passage: 楽節 +@strong{@i{一時的に多声となる楽節 (passage)}} + +一時的に多声となる楽節は以下のような構成で作成することができます: + +@example +<< @{ \voiceOne ... @} + \new Voice @{ \voiceTwo ... @} +>> \oneVoice +@end example + +@noindent +ここで、一時多声楽節の中の最初の表記は直前に使われていた +@code{Voice} コンテキストに配置され、@c +その @code{Voice} コンテキストは一時セクションの後も続いていきます。@c +山括弧の中の他の表記は別の一時ボイスに代入されます。@c +これと同様に、歌詞は多声セクションの前、最中、後に続いているボイスに@c +代入されます: + +@lilypond[quote, verbatim, relative=2] +<< + \new Voice = "melody" { + a4 + << + { + \voiceOne + g f + } + \new Voice { + \voiceTwo + d2 + } + >> + \oneVoice + e4 + } + \new Lyrics \lyricsto "melody" { + This is my song. + } +>> +@end lilypond + +@noindent +ここで、@code{\voiceOne} と @code{\voiceTwo} コマンドはそれぞれのボイスの@c +設定を定義するために必要とされています。 + +@strong{@i{2 重バックスラッシュ構造}} + +@code{<< @{...@} \\ @{...@} >>} 構造 +-- この中では 2 つ (あるいはそれ以上) の表記が +2 重バックスラッシュで区切られています -- +は、同じような構造だが 2 重バックスラッシュを持たない構造とは@c +まったく異なる振る舞いをします: +この構造の中にある @emph{すべての} 表記は新たな @code{Voice} コンテキストに@c +代入されます。@c +それらの新しい @code{Voice} コンテキストは暗黙的に作成され、@c +あらかじめ決められた名前 @code{"1"}, @code{"2"} などを与えられます。 + +最初の例は以下のように書き換えることができます: + +@lilypond[quote,relative=3,verbatim] +<< + { r8 r16 g e8. f16 g8[ c,] f e16 d } + \\ + { d16 c d8~ d16 b c8~ c16 b c8~ c16 b8. } +>> +@end lilypond + +一時ボイスが作成され、それから消去されることが問題にならない場合に、@c +この構文を使用することができます。@c +暗黙的に作成されるボイスには、それらがコードの中で現れる順番に従って、@c +@code{\voiceOne} ... @code{\voiceFour} コマンドと同じ設定が与えられます。 + +以下の例では、真ん中のボイスは上向きの符幹を持ちます。@c +そのため、それを 3 番目に置いて、望みどおりに上向きの符幹を持つボイス 3 に@c +しています。@c +休符が 2 重に譜刻されることを避けるために、空白休符を使用しています。 + +@lilypond[quote,relative=3,verbatim] +<< + { r8 g g g g f16 ees f8 d } + \\ + { ees,8 r ees r d r d r } + \\ + { d'8 s c s bes s a s } +>> +@end lilypond + +簡単なことですが、@rlearning{コンテキストとエングラーバ} と +@rlearning{ボイスを明示的にインスタンス化する} で説明されているように、@c +明示的に @code{Voice} コンテキストを作成しておくと賢明です。 + +@strong{@i{ボイスの順序}} + +入力ファイルの中にある複数のボイスを譜刻する時、以下の順序で譜刻されます: + +@example +ボイス 1: 最上段 +ボイス 2: 最下段 +ボイス 3: 上から 2 番目 +ボイス 4: 下から 2 番目 +ボイス 5: 上から 3 番目 +ボイス 6: 下から 3 番目 +etc. +@end example + +これは直感に反するように見えるかもしれませんが、@c +自動レイアウト処理をシンプルにできます。@c +奇数番号のボイスには上向きの符幹が与えられ、@c +偶数番号のボイスには下向きの符幹が与えられるということに注意してください: + +@c KEEP LY +@lilypond[quote,verbatim] +\new Staff << + \time 2/4 + { f''2 } % 1: 最上段 + \\ + { c'2 } % 2: 最下段 + \\ + { d''2 } % 3: 上から 2 番 + \\ + { e'2 } % 4: 下から 2 番 + \\ + { b'2 } % 5: 上から 2 番 + \\ + { g'2 } % 6: 下から 3 番 +>> +@end lilypond + +@strong{@i{同一のリズム}} + +同じリズムを持ち、並行して進行する音楽を譜刻するという特殊なケースでは、@c +並行する音楽を単一の @code{Voice} の中に組み込み、@c +それにより和音を形成することができます。@c +これを実現するには、並行する音楽を明示的にインスタンス化されたボイス内の@c +同時進行音楽構造の中に置きます: + +@lilypond[quote,relative=2,verbatim] +\new Voice << + { e4 f8 d e16 f g8 d4 } + { c4 d8 b c16 d e8 b4 } +>> +@end lilypond + +この手法では、音楽が同じリズムを持たない場合に、@c +おかしな連桁と警告を生じます。 + + +@predefined +@code{\voiceOne}, +@code{\voiceTwo}, +@code{\voiceThree}, +@code{\voiceFour}, +@code{\oneVoice} +@endpredefined + + +@seealso +学習マニュアル: +@rlearning{音楽を保持するボイス}, +@rlearning{ボイスを明示的にインスタンス化する} + +記譜法リファレンス: +@ref{Percussion staves}, +@ref{不可視の休符}, +@ref{Stems} + +コード断片集: +@rlsr{Simultaneous notes} + + +@node ボイス スタイル +@unnumberedsubsubsec ボイス スタイル +@translationof Voice styles + +@cindex voice styles (ボイス スタイル) +@cindex styles, voice (ボイス スタイル) +@cindex coloring voices (ボイスに色を付ける) +@funindex \voiceOneStyle +@funindex \voiceTwoStyle +@funindex \voiceThreeStyle +@funindex \voiceFourStyle +@funindex \voiceNeutralStyle + +ボイス毎に異なる色と形を与えて、容易に見分けられるようにすることができます: + +@lilypond[quote,relative=2,verbatim] +<< + { \voiceOneStyle d4 c2 b4 } + \\ + { \voiceTwoStyle e,2 e } + \\ + { \voiceThreeStyle b2. c4 } + \\ + { \voiceFourStyle g'2 g } +>> +@end lilypond + +@code{\voiceNeutralstyle} コマンドは標準の体裁に戻すために使用されます。 + + +@predefined +@code{\voiceOneStyle}, +@code{\voiceTwoStyle}, +@code{\voiceThreeStyle}, +@code{\voiceFourStyle}, +@code{\voiceNeutralStyle} +@endpredefined + + +@seealso +学習マニュアル: +@rlearning{私はボイスを聴いている}, +@rlearning{その他の情報源} + +コード断片集: +@rlsr{Simultaneous notes} + + +@node 衝突の解決 +@unnumberedsubsubsec 衝突の解決 +@translationof Collision resolution + +@cindex merging notes (音符に余白を設ける) +@cindex note collisions (音符の衝突) +@cindex collisions (衝突) +@cindex shift note (音符のシフト) +@cindex multiple voices +@cindex voices, multiple (複数のボイス) +@cindex polyphonic music (多声の音楽) +@cindex shifting voices (ボイスをずらす) +@cindex voices, multiple (複数のボイス) +@cindex shift rest, automatic (自動的な休符のシフト) +@funindex \shiftOn +@funindex shiftOn +@funindex \shiftOnn +@funindex shiftOnn +@funindex \shiftOnnn +@funindex shiftOnnn +@funindex \shiftOff +@funindex shiftOff +@funindex \mergeDifferentlyDottedOn +@funindex mergeDifferentlyDottedOn +@funindex \mergeDifferentlyDottedOff +@funindex mergeDifferentlyDottedOff +@funindex \mergeDifferentlyHeadedOn +@funindex mergeDifferentlyHeadedOn +@funindex \mergeDifferentlyHeadedOff +@funindex mergeDifferentlyHeadedOff + +同じピッチ、同じ符頭を持ち、符幹の方向が逆で異なるボイスの中にある符頭は@c +自動的に 1 つの符頭にまとめられます -- マージされます。@c +しかしながら、音符の符頭が異なっていたり、符幹の方向が同じである場合は@c +マージされません。@c +異なるボイスの中にあり、符幹の方向が逆の休符は垂直方向にずらされます。@c +以下の例は 3 つの異なる状態を示しています +-- 第 1 小節の 1, 3 拍目、それに第 2 小節の 1 拍目で自動マージが失敗しています。 + +@lilypond[quote,verbatim,relative=2] +<< + { + c8 d e d c d c4 + g'2 fis + } \\ { + c2 c8. b16 c4 + e,2 r + } \\ { + \oneVoice + s1 + e8 a b c d2 + } +>> +@end lilypond + +以下に示すように、異なる符頭を持つ音符をマージすることができます +-- 例外として、半音符と 4 分音符のマージはできません。@c +第 1 小節の 1 拍目の符頭がマージされました: + +@lilypond[quote,verbatim,relative=2] +<< + { + \mergeDifferentlyHeadedOn + c8 d e d c d c4 + g'2 fis + } \\ { + c2 c8. b16 c4 + e,2 r + } \\ { + \oneVoice + s1 + e8 a b c d2 + } +>> +@end lilypond + +第 1 小節の 3 拍目のように異なる付点を持つ符頭もマージすることができます: + +@lilypond[quote,relative=2,verbatim] +<< + { + \mergeDifferentlyHeadedOn + \mergeDifferentlyDottedOn + c8 d e d c d c4 + g'2 fis + } \\ { + c2 c8. b16 c4 + e,2 r + } \\ { + \oneVoice + s1 + e8 a b c d2 + } +>> +@end lilypond + + +第 2 小節の最初の版音符と 8 分音符は正しくマージされていません。@c +なぜなら 3 つ以上の音符が同じ列に並ぶ場合、@c +自動マージは正しく機能できないからです。@c +今回のケースでは、マージされた符頭が間違っています。@c +マージが正しい符頭を選択できるようにするため、@c +マージすべきでない符頭に @code{\shift} を適用する必要があります。@c +ここでは、@code{\shiftOn} を適用することで、@c +最上段にある @notation{g} を列から外し、@c +@code{\mergeDifferentlyHeadedOn} を正しく機能させています。 + +@lilypond[quote,relative=2,verbatim] +<< + { + \mergeDifferentlyHeadedOn + \mergeDifferentlyDottedOn + c8 d e d c d c4 + \shiftOn + g'2 fis + } \\ { + c2 c8. b16 c4 + e,2 r + } \\ { + \oneVoice + s1 + e8 a b c d2 + } +>> +@end lilypond + +@code{\shiftOn} コマンドは、ボイスの中にある音符がずれることを許可します +(強制はしません)。@c +@code{\shiftOn} がボイスに適用されると、そのボイスの中にある音符あるいは和音は、@c +同じ向きの符幹を持つ他のボイスと符幹が衝突する場合にのみ、ずらされます。@c +@code{\shiftOff} コマンドは、適用された時点から、@c +このタイプの音符の移動を禁止します。 + +デフォルトでは、@c +外側のボイス (通常はボイス 1 と 2) には @code{\shiftOff} が指定されていて、@c +内側のボイス (ボイス 3 以上) には @code{\shiftOn} が指定されています。@c +音符をずらす場合、上向きの符幹を持つボイス (奇数番号のボイス) は右側にずらされ、@c +下向きの符幹を持つボイス (偶数番号のボイス) は左側にずらされます。 + +簡略化された多声表記が内部的にどのように展開されるかをお見せするための@c +例を挙げます。 + +@warning{3 つ以上のボイスがある場合、@c +入力ファイルでのボイスの垂直方向の順序は、@c +譜上でのボイスの垂直方向の順序と同じにすべきではありません!} + +@c KEEP LY +@lilypond[quote,verbatim] +\new Staff \relative c'' { + %% 簡略化された入力 + << + { f2 } % 1: 最上段 + \\ + { g,2 } % 2: 最下段 + \\ + { d'2 } % 3: 真ん中の上側 + \\ + { b2 } % 4: 真ん中の下側 + >> + %% 上記の内部的な展開 + << + \new Voice = "1" { \voiceOne \shiftOff f'2 } + \new Voice = "2" { \voiceTwo \shiftOff g,2 } + \new Voice = "3" { \voiceThree \shiftOn d'2 } % shifts right + \new Voice = "4" { \voiceFour \shiftOn b2 } % shifts left + >> +} +@end lilypond + +さらに 2 つのコマンド -- @code{\shiftOnn} と @code{\shiftOnnn} -- は、@c +複雑な状況で衝突を解決するために一時的に指定されるさらに大きなずれを提供します。@c +@rlearning{実際の音楽からの例} を参照してください。 + +音符は符幹の向きが反対である場合 +(例えば、デフォルトのボイス 1 と 2 である場合や、@c +明示的に符幹の向きが反対になるよう指定されている場合) +にのみマージされます。 + + + +@predefined +@code{\mergeDifferentlyDottedOn}, +@code{\mergeDifferentlyDottedOff}, +@code{\mergeDifferentlyHeadedOn}, +@code{\mergeDifferentlyHeadedOff} + +@code{\shiftOn}, +@code{\shiftOnn}, +@code{\shiftOnnn}, +@code{\shiftOff} +@endpredefined + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{additional-voices-to-avoid-collisions.ly} + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{forcing-horizontal-shift-of-notes.ly} + + +@seealso +音楽用語集: +@rglos{polyphony} + +学習マニュアル: +@rlearning{同時に演奏する複数の音符}, +@rlearning{音楽を保持するボイス}, +@rlearning{オブジェクトの衝突} + +コード断片集: +@rlsr{Simultaneous notes} + +内部リファレンス: +@rinternals{NoteColumn}, +@rinternals{NoteCollision}, +@rinternals{RestCollision} + + +@ignore +@knownissues +上向きの符幹を持つ 8 分音符やそれよりも短い音符と下向きの符幹を持つ@c +半音符に対して @code{\mergeDifferentlyHeadedOn} を使用した場合、@c +8 分音符の符幹のオフセットはわずかに正しくなりません。@c +なぜなら、半音符の符頭シンボルと幅が異なるからです。 + +@c TODO investigate! Sometimes it works, sometimes not. --FV +The requirements for successfully merging different note heads that +are at the same time differently dotted are not clear. + +同じ和音の中で同じ音符が異なる臨時記号を持つ場合、その和音の衝突回避は@c +サポートされません。@c +そのような場合、異名同音 (エンハーモニック) に書き換えるか、@c +クラスタという特殊な記譜法 (@ref{クラスタ} を参照してください) +を用いることを推奨します。 +@end ignore + + +@node 自動パート結合 +@unnumberedsubsubsec 自動パート結合 +@translationof Automatic part combining + +@cindex automatic part combining (自動パート結合) +@cindex part combiner (パート結合) +@cindex combining parts (パート結合) +@cindex a due part (二重奏パート) +@cindex solo part (ソロ パート) +@funindex \partcombine +@funindex partcombine + +自動パート結合は 1 つの譜上にある 2 つのパートを 1 つに結合するために@c +使用されます。@c +これはオーケストラ譜を譜刻することを目的としています。@c +ある範囲で 2 つのパートが同一である場合、1 つだけが譜刻されます。@c +2 つのパートが異なる箇所では別々のボイスとして譜刻され、@c +符幹の向きは自動的にセットされます。@c +さらに、デフォルトで、ソロ パートと @notation{二重奏 (due)} パートが識別され、@c +デフォルトでマークを付けられます。 + +パート結合の構文は以下の通りです: + +@example +\partcombine @var{musicexpr1} @var{musicexpr2} +@end example + +以下の例はパート結合の基本的な機能を示しています: +パートを 1 つの譜に配置し、符幹の向きと多声をセットします。@c +個々のパートと結合譜で同じ変数が使用されています。 + +@lilypond[quote,verbatim] +instrumentOne = \relative c' { + c4 d e f + R1 + d'4 c b a + b4 g2 f4 + e1 +} + +instrumentTwo = \relative g' { + R1 + g4 a b c + d c b a + g f( e) d + e1 +} + +<< + \new Staff \instrumentOne + \new Staff \instrumentTwo + \new Staff \partcombine \instrumentOne \instrumentTwo +>> +@end lilypond + +第 3 小節の音符は、両方のパートで指定されているにもかかわらず、@c +1 パート分だけ譜刻されています。@c +符幹、スラーそれにタイの向きは、ソロなのかあるいは斉奏なのかによって、@c +自動的に設定されます。@c +多声が必要になる場合、第 1 パート (@code{one} と呼ばれるコンテキストを持ちます) +は常に上向きの符幹を持ち、@c +一方、第 2 パート (@code{two} と呼ばれるコンテキストを持ちます) は@c +常に下向きの符幹を持ちます。@c +ソロの場合、第 1 パートと第 2 パートにはそれぞれ @q{Solo} と @q{Solo II} +というマークが付けられます。@c +斉奏 (@notation{二重奏}) パートには、デフォルトで、テキスト @qq{a2} という@c +マークが付けられます。 + +@code{\partcombine} の引数は 2 つとも @code{Voice} コンテキストとして@c +解釈されます。@c +相対オクターブを用いる場合、@code{\relative} を両方の音楽表記に@c +対して指定すべきです。@c +すなわち、 + +@example +\partcombine + \relative @dots{} @var{musicexpr1} + \relative @dots{} @var{musicexpr2} +@end example + +@noindent +@code{\partcombine} の外側にある @code{\relative} セクションは @var{musicexpr1} +と @var{musicexpr2} のピッチには影響を与えません。 + +プロの楽譜では、@c +1, 2 の音符が同時進行していて容易にユニゾンとして譜刻できる場合であっても、 +長い間ボイスが分かれていることがしばしばあります。@c +@c その場合、音符を結合させて和音にしたり、@c +@c ボイスの 1 つをソロとして見せることは望ましくありません +@c 未訳 +Combining notes into a chord, or showing one voice as solo +is therefore not ideal as the @code{\partcombine} function considers +each note separately. +そのため、以下のコマンドで @code{\partcombine} 関数を@c +オーバライドすることができます: + +@itemize +@item +@code{\partcombineApart}, @code{\partcombineApartOnce}: +音符を結合させて和音やユニゾンにすることができる場合であっても、@c +音符を 2 つの別個のボイスに分けて譜刻します。 + +@item +@code{\partcombineChords}, @code{\partcombineChordsOnce}: +音符を結合させて、和音として譜刻します。 + +@item +@code{\partcombineUnisono}, @code{\partcombineUnisonoOnce}: +2 つのボイスをユニゾンとして譜刻します。 + +@item +@code{\partcombineSoloI}, @code{\partcombineSoloIOnce}: +ボイス 1 だけを譜刻して、ソロのマークを付けます。 + +@item +@code{\partcombineSoloII}, @code{\partcombineSoloIIOnce}: +ボイス 2 だけを譜刻して、ソロのマークを付けます。 + +@item +@code{\partcombineAutomatic}, @code{\partcombineAutomaticOnce}: +上記の特殊コマンドの効果を終わらせ、デフォルトのパート結合機能に戻します。 + +@end itemize + +終わりが @code{...Once} のコマンドはすべて、その後の音符にのみ適用されます。 + +@lilypond[quote,verbatim] +instrumentOne = \relative c' { + \partcombineApart c2^"apart" e | + \partcombineAutomatic e^"auto" e | + \partcombineChords e'^"chord" e | + \partcombineAutomatic c^"auto" c | + \partcombineApart c^"apart" \partcombineChordsOnce e^"chord once" | + c c | +} +instrumentTwo = \relative c' { + c2 c | + e2 e | + a,2 c | + c2 c' | + c2 c | + c2 c | +} + +<< + \new Staff { \instrumentOne } + \new Staff { \instrumentTwo } + \new Staff { \partcombine \instrumentOne \instrumentTwo } +>> +@end lilypond + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{combining-two-parts-on-the-same-staff.ly} + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{changing-partcombine-texts.ly} + + +@seealso +音楽用語集: +@rglos{a due}, +@rglos{part} + +記譜法リファレンス: +@ref{Writing parts} + +コード断片集: +@rlsr{Simultaneous notes} + +内部リファレンス: +@rinternals{PartCombineMusic}, +@rinternals{Voice} + + +@knownissues + +@code{\partcombine} が受け取れるボイスは 2 つだけです。 + +When @code{printPartCombineTexts} is set, if the two voices play +the same notes on and off, the part combiner may typeset @code{a2} +more than once in a measure. + +@code{\partcombine} を @code{\times} の中に置くことはできません。 + +@code{\partcombine} を @code{\relative} の中に置くことはできません。 + +内部的には、@code{\partcombine} は 2 つの引数を @code{Voice} として解釈し、@c +2 つのパートを結合することができるかどうかを決定します。@c +2 つのパートが異なる演奏時間を持つ場合、@c +それらを結合させることはできず、@c +それぞれに @code{one}, @code{two} という名前が与えられます。@c +@c 未訳 +Consequently, if the arguments switch to +differently named @rinternals{Voice} contexts, the events in those will +be ignored. +同様に、パート結合は歌詞に対して機能するようには設計されていません。@c +ボイスの 1 つが、歌詞を持つために明示的に名前を付けられた場合、@c +パート結合は機能しなくなります。 + +@code{\partcombine} は @code{\partcombine} の開始後の音符だけを観察します。@c +その前に開始した音符が演奏中であるかどうかを検出することはできません。@c +これはさまざまな問題を引き起こします。 + + +@c ここから L954 +@node 音楽を並列に記述する +@unnumberedsubsubsec 音楽を並列に記述する +@translationof Writing music in parallel + +@cindex writing music in parallel (音楽を並列に記述する) +@cindex interleaved music (間奏) +@cindex parallel music (並列な音楽) +@funindex \parallelMusic +@funindex parallelMusic + +複数のパートを持つ音楽を入力コードの途中に挿入することができます。@c +関数 @code{\parallelMusic} は、@c +作成する変数名をいくつか持つリストと音楽表記を受け付けます。@c +各小節ごとの音楽表記は各変数の値となり、@c +後で音楽を譜刻するために使用することができます。 + +@warning{小節チェック @code{|} を使用する必要があり、@c +各小節は同じ長さでなければなりません。} + +@lilypond[quote,verbatim] +\parallelMusic #'(voiceA voiceB voiceC) { + % Bar 1 + r8 g'16 c'' e'' g' c'' e'' r8 g'16 c'' e'' g' c'' e'' | + r16 e'8.~ e'4 r16 e'8.~ e'4 | + c'2 c'2 | + + % Bar 2 + r8 a'16 d'' f'' a' d'' f'' r8 a'16 d'' f'' a' d'' f'' | + r16 d'8.~ d'4 r16 d'8.~ d'4 | + c'2 c'2 | + +} +\new StaffGroup << + \new Staff << \voiceA \\ \voiceB >> + \new Staff { \clef bass \voiceC } +>> +@end lilypond + +相対モードを使用することができます。@c +@code{\relative} コマンドを @code{\parallelMusic} 自体の中では@c +使用しないということに注意してください。@c +音符が前の音符と相対関係になるのはボイスの中であり、入力の中ではありません -- +言い換えると、@code{voiceA} の相対音符は @code{voiceB} の音符を無視します。 + +@lilypond[quote,verbatim] +\parallelMusic #'(voiceA voiceB voiceC) { + % Bar 1 + r8 g16 c e g, c e r8 g,16 c e g, c e | + r16 e8.~ e4 r16 e8.~ e4 | + c2 c | + + % Bar 2 + r8 a,16 d f a, d f r8 a,16 d f a, d f | + r16 d8.~ d4 r16 d8.~ d4 | + c2 c | + + } +\new StaffGroup << + \new Staff << \relative c'' \voiceA \\ \relative c' \voiceB >> + \new Staff \relative c' { \clef bass \voiceC } +>> +@end lilypond + +これはピアノ譜で非常に良く機能します。@c +以下の例は、4 つの連続する小節を 4 つの変数に割り当てています: + +@lilypond[quote,verbatim] +global = { + \key g \major + \time 2/4 +} + +\parallelMusic #'(voiceA voiceB voiceC voiceD) { + % Bar 1 + a8 b c d | + d4 e | + c16 d e fis d e fis g | + a4 a | + + % Bar 2 + e8 fis g a | + fis4 g | + e16 fis g a fis g a b | + a4 a | + + % Bar 3 ... +} + +\score { + \new PianoStaff << + \new Staff { + \global + << + \relative c'' \voiceA + \\ + \relative c' \voiceB + >> + } + \new Staff { + \global \clef bass + << + \relative c \voiceC + \\ + \relative c \voiceD + >> + } + >> +} +@end lilypond + + +@seealso +学習マニュアル: +@rlearning{変数を用いて楽曲を編成する} + +コード断片集: +@rlsr{Simultaneous notes} diff --git a/Documentation/ja/notation/staff.itely b/Documentation/ja/notation/staff.itely new file mode 100644 index 0000000000..5c8912c94c --- /dev/null +++ b/Documentation/ja/notation/staff.itely @@ -0,0 +1,1503 @@ +@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*- +@ignore + Translation of GIT committish: 7cd8c1d1e389edc26c26b7eba8358578329f5881 + + When revising a translation, copy the HEAD committish of the + version that you are working on. See TRANSLATION for details. +@end ignore + +@c \version "2.13.36" + + +@c Translators: Yoshiki Sawada +@c Translation status: post-GDP + + +@node 譜の記譜法 +@section 譜の記譜法 +@translationof Staff notation + +@lilypondfile[quote]{staff-headword.ly} + +このセクションでは、譜の見た目を変える方法、複数の譜を持つ楽譜を譜刻する方法、@c +それに、テンポ指示と演奏指示楽節の音符を譜に付け加える方法について説明します。 + +@menu +* 譜を表示する:: +* 個々の譜を変更する:: +* パートを記述する:: +@end menu + + +@node 譜を表示する +@subsection 譜を表示する +@translationof Displaying staves + +このセクションでは、譜を作成する方法と、@c +譜をグループ化する方法をいくつか説明します。 + +@menu +* 新たに譜をインスタンス化する:: +* 譜をグループ化する:: +* ネストされた譜グループ:: +* Separating systems:: +@end menu + + +@node 新たに譜をインスタンス化する +@unnumberedsubsubsec 新たに譜をインスタンス化する +@translationof Instantiating new staves + +@cindex new staff (新しい譜) +@cindex staff initiation (譜の開始) +@cindex staff instantiation (譜のインスタンス化) +@cindex staff, new (新しい譜) +@cindex staff, single (単一の譜) +@cindex staff, drum (ドラム譜) +@cindex staff, percussion (打楽器譜) +@cindex drum staff (ドラム譜) +@cindex percussion staff (打楽器譜) +@cindex Gregorian transcription staff (グレゴリア編曲譜) +@cindex rhythmic staff (リズム譜) +@cindex tabstaff (タブ譜) +@cindex tablature (タブ譜) + +@funindex \drummode +@funindex drummode +@funindex DrumStaff +@funindex RhythmicStaff +@funindex TabStaff +@funindex MensuralStaff +@funindex VaticanaStaff +@funindex GregorianTranscriptionStaff + +@notation{stave: 譜} (@notation{staff}: 譜 (表) の単称) は +@code{\new} コマンドや @code{\context} コマンドで作成されます。@c +詳細は @ref{Creating contexts} を参照してください。 + +基本的な譜コンテキストは @code{Staff} です: + +@lilypond[verbatim,quote,relative=2] +\new Staff { c4 d e f } +@end lilypond + +@code{DrumStaff} コンテキストは、一般的なドラム セットのための 5 線譜を@c +作成します。@c +各楽器は異なるシンボルで示されます。@c +@code{\drummode} コマンドの後に続けて、楽器をドラム モードで入力します。@c +各楽器は名前によって指定されます。@c +詳細は @ref{Percussion staves} を参照してください。 + +@lilypond[verbatim,quote] +\new DrumStaff { + \drummode { cymc hh ss tomh } +} +@end lilypond + +@code{RhythmicStaff} は、入力のリズム価だけを表示する単線譜を作成します。@c +(ピッチは無視されますが) 演奏時間が保持されます。@c +詳細は @ref{旋律のリズムを示す} を参照してください。 + +@lilypond[verbatim,quote,relative=2] +\new RhythmicStaff { c4 d e f } +@end lilypond + +@code{TabStaff} は、標準のギター チューニングの 6 弦のタブ譜を作成します。@c +詳細は @ref{Default tablatures} を参照してください。 + +@lilypond[verbatim,quote,relative=2] +\new TabStaff { c4 d e f } +@end lilypond + +古代音楽の記譜法のために 2 つの譜コンテキストが用意されています: +@code{MensuralStaff} と @code{VaticanaStaff} です。@c +これらのことは @ref{Pre-defined contexts} で説明されています。 + +@code{GregorianTranscriptionStaff} コンテキストは、@c +現代グレゴリア聖歌を記譜するための譜を作成します。@c +これは小節線を譜刻しません。 + +@lilypond[verbatim,quote,relative=2] +\new GregorianTranscriptionStaff { c4 d e f e d } +@end lilypond + +新たに単一譜コンテキストを定義する場合があります。@c +詳細は @ref{Defining new contexts} を参照してください。 + + +@seealso +音楽用語集: +@rglos{staff}, +@rglos{staves} + +記譜法リファレンス: +@ref{Creating contexts}, +@ref{Percussion staves}, +@ref{旋律のリズムを示す}, +@ref{Default tablatures}, +@ref{Pre-defined contexts}, +@ref{譜シンボル}, +@ref{Gregorian chant contexts}, +@ref{Mensural contexts}, +@ref{Defining new contexts} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{Staff}, +@rinternals{DrumStaff}, +@rinternals{GregorianTranscriptionStaff}, +@rinternals{RhythmicStaff}, +@rinternals{TabStaff}, +@rinternals{MensuralStaff}, +@rinternals{VaticanaStaff}, +@rinternals{StaffSymbol} + + +@node 譜をグループ化する +@unnumberedsubsubsec 譜をグループ化する +@translationof Grouping staves + +@cindex start of system (システムの開始) +@cindex staff, multiple (複数の譜) +@cindex staves, multiple (複数の譜) +@cindex system start delimiters (システム開始の境界線) +@cindex bracket, vertical (垂直の角括弧) +@cindex brace, vertical (垂直の波括弧) +@cindex choir staff (合唱譜) +@cindex grand staff (グランド譜) +@cindex piano staff (ピアノ譜) +@cindex staff group (譜グループ) +@cindex staff, choir (合唱譜) +@cindex staff, piano (ピアノ譜) +@cindex staff, grand (グランド譜) +@cindex system (システム) + +複数の譜からなるシステムを形成するために譜をグループ化する@c +さまざまなコンテキストが存在します。@c +グループ化を行うコンテキストはそれぞれにシステム開始境界線のスタイルと@c +小節線の振る舞いを設定します。 + +コンテキストが指定されていない場合、デフォルトのプロパティが使用されます: +グループは垂直の線で始まり、小節線はつながりません。 + +@lilypond[verbatim,quote,relative=2] +<< + \new Staff { c1 c } + \new Staff { c1 c } +>> +@end lilypond + +@code{StaffGroup} コンテキストでは、グループは角括弧で始まり、@c +小節線はすべての譜を貫いて刻譜されます。 + +@lilypond[verbatim,quote,relative=2] +\new StaffGroup << + \new Staff { c1 c } + \new Staff { c1 c } +>> +@end lilypond + +@code{ChoirStaff} では、グループは角括弧で始まりますが、小節線はつながりません。 + +@lilypond[verbatim,quote,relative=2] +\new ChoirStaff << + \new Staff { c1 c } + \new Staff { c1 c } +>> +@end lilypond + +@code{GrandStaff} では、グループは波括弧で始まり、小節線はすべての譜を貫きます。 + +@lilypond[verbatim,quote,relative=2] +\new GrandStaff << + \new Staff { c1 c } + \new Staff { c1 c } +>> +@end lilypond + +@code{PianoStaff} は @code{GrandStaff} と同一ですが、@c +例外として楽器名を刻譜することができます。@c +詳細は @ref{楽器名} を参照してください。 + +@lilypond[verbatim,quote,relative=2] +\new PianoStaff << + \set PianoStaff.instrumentName = #"Piano" + \new Staff { c1 c } + \new Staff { c1 c } +>> +@end lilypond + +各譜グループ化コンテキストはプロパティ @code{systemStartDelimiter} を@c +以下の値の 1 つにセットします: +@code{SystemStartBar}, @code{SystemStartBrace} あるいは +@code{SystemStartBracket}。@c +4 つ目の境界線 -- @code{SystemStartSquare} も利用可能ですが、@c +これは明示的に指定する必要があります。 + +新たな譜グループ化コンテキストを定義することもできます。@c +詳細は @ref{Defining new contexts} を参照してください。 + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{use-square-bracket-at-the-start-of-a-staff-group.ly} + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{display-bracket-with-only-one-staff-in-a-system.ly} + +@c 未訳 +@cindex mensurstriche layout +@cindex renaissance music) +@cindex transcription of mensural music +@cindex mensural music, transcription of + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{mensurstriche-layout-bar-lines-between-the-staves.ly} + + +@seealso +音楽用語集: +@rglos{brace}, +@rglos{bracket}, +@rglos{grand staff} + +記譜法リファレンス: +@ref{楽器名}, +@ref{Defining new contexts} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{Staff}, +@rinternals{StaffGroup}, +@rinternals{ChoirStaff}, +@rinternals{GrandStaff}, +@rinternals{PianoStaff}, +@rinternals{SystemStartBar}, +@rinternals{SystemStartBrace}, +@rinternals{SystemStartBracket}, +@rinternals{SystemStartSquare} + +@knownissues +デフォルトでは @code{PianoStaff} は @code{ChordNames} を受け付けません。 + + +@node ネストされた譜グループ +@unnumberedsubsubsec ネストされた譜グループ +@translationof Nested staff groups + +@cindex staff, nested (ネストされた譜) +@cindex staves, nested (ネストされた譜) +@cindex nesting of staves (譜をネストする) +@cindex system start delimiters, nested (ネストされたシステムの開始境界線) +@cindex nested staff brackets (ネストされた譜の角括弧) +@cindex brackets, nesting of (角括弧をネストする) +@cindex braces, nesting of (波括弧をネストする) + +譜グループ化コンテキストは任意の深さにネストすることができます。@c +そうした場合、それぞれの子コンテキストは、@c +親グループの角括弧に隣接して新しい角括弧を作成します。 + +@lilypond[verbatim,quote,relative=2]@lilypond[verbatim,quote,relative=2] +\new StaffGroup << + \new Staff { c2 c | c2 c } + \new StaffGroup << + \new Staff { g2 g | g2 g } + \new StaffGroup \with { + systemStartDelimiter = #'SystemStartSquare + } + << + \new Staff { e2 e | e2 e } + \new Staff { c2 c | c2 c } + >> + >> +>> +@end lilypond + +新たにネストされた譜グループ化コンテキストを定義することができます。@c +詳細は @ref{Defining new contexts} を参照してください。 + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{nesting-staves.ly} + + +@seealso +記譜法リファレンス: +@ref{譜をグループ化する}, +@ref{楽器名}, +@ref{Defining new contexts} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{StaffGroup}, +@rinternals{ChoirStaff}, +@rinternals{SystemStartBar}, +@rinternals{SystemStartBrace}, +@rinternals{SystemStartBracket}, +@rinternals{SystemStartSquare} + +@c 未訳 +@node Separating systems +@unnumberedsubsubsec Separating systems + +@cindex system separator mark + +If the number of systems per page changes from page to page it is +customary to separate the systems by placing a system separator mark +between them. By default the system separator is blank, but can be +turned on with a @code{\paper} option. + +@c \book is required here to display the system separator +@c ragged-right is required as there are two systems +@lilypond[verbatim,quote,ragged-right] +\book { + \score { + \new StaffGroup << + \new Staff { + \relative c'' { + c4 c c c + \break + c4 c c c + } + } + \new Staff { + \relative c'' { + c4 c c c + \break + c4 c c c + } + } + >> + } + \paper { + system-separator-markup = \slashSeparator + % following commands are needed only to format this documentation + paper-width = 100\mm + paper-height = 100\mm + tagline = ##f + } +} +@end lilypond + +@seealso +Notation Reference: +@ref{Page layout}. + +Snippets: +@rlsr{Staff notation}. + + +@node 個々の譜を変更する +@subsection 個々の譜を変更する +@translationof Modifying single staves + +このセクションでは、譜の属性を変更する方法について説明します: +例えば、譜線の本数や譜サイズを変更します。@c +譜を開始/終了する方法とオッシア セクションをセットする方法についても記述します。 + +@menu +* 譜シンボル:: +* オッシア譜:: +* 譜を隠す:: +@end menu + + +@node 譜シンボル +@unnumberedsubsubsec 譜シンボル +@translationof Staff symbol + +@cindex adjusting staff symbol (譜シンボルを調節する) +@cindex drawing staff symbol (譜シンボルを描く) +@cindex staff symbol, setting of (譜シンボルを設定する) +@cindex staff symbol, drawing (譜シンボルを描く) +@cindex stop staff lines (譜線の譜刻を停止する) +@cindex start staff lines (譜線の譜刻を開始する) +@cindex staff lines, amount of (譜線の本数) +@cindex staff lines, number of (譜線の本数) +@cindex staff line, thickness of (譜線の太さ) +@cindex amount of staff lines (譜線の本数) +@cindex thickness of staff lines (譜線の太さ) +@cindex ledger lines, setting (加線を設定する) +@cindex setting of ledger lines (加線の設定) +@cindex spacing of ledger lines (加線の間隔) +@cindex number of staff lines (譜線の本数) + +譜の線は @code{StaffSymbol} グラフィカル オブジェクトに属します。@c +@code{StaffSymbol} プロパティを変更して、譜の見た目を変えることができます。@c +しかしながら、変更は譜を作成する前に行う必要があります。 + +譜線の本数を変えることもできます。音部記号の位置とミドル C の位置を、@c +新しい譜にフィットさせるために、変更する必要があるかもしれません。@c +具体例は、@ref{音部記号} にあるコード断片集セクションを参照してください。 + +@lilypond[verbatim,quote,relative=2] +\new Staff \with { + \override StaffSymbol #'line-count = #3 +} +{ d4 d d d } +@end lilypond + +譜線の太さを変えることができます。加線 (訳者注: ledger line, 譜の上下に@c +突き出た符頭と符幹に付けられる短い譜線) と符幹の太さも影響を受けます。@c +なぜなら、それらの太さは譜線の太さに基づいているからです。 + +@lilypond[verbatim,quote,relative=1] +\new Staff \with { + \override StaffSymbol #'thickness = #3 +} +{ e4 d c b } +@end lilypond + +加線の太さを譜線の太さから独立して設定することができます。@c +以下の例では、2 つの数は譜線の太さと譜線の間隔に掛けられる因子です。@c +2 つを足し合わせて加線の太さになります。 + +@lilypond[verbatim,quote,relative=1] +\new Staff \with { + \override StaffSymbol #'ledger-line-thickness = #'(1 . 0.2) +} +{ e4 d c b } +@end lilypond + +譜線の間隔を変えることができます。この設定は加線の間隔にも影響を与えます。 + +@lilypond[verbatim,quote,relative=1] +\new Staff \with { + \override StaffSymbol #'staff-space = #1.5 +} +{ a4 b c d } +@end lilypond + +@code{StaffSymbol} のプロパティについて更に詳細な説明が +@rinternals{staff-symbol-interface} に記述されています。 + +@cindex stopping a staff (譜の停止) +@cindex starting a staff (譜の開始) +@cindex staff, starting (譜の開始) +@cindex staff, stopping (譜の停止) + +@funindex \startStaff +@funindex startStaff +@funindex \stopStaff +@funindex stopStaff + +楽譜の途中で譜プロパティに変更を加えるには、@c +@code{\stopStaff} と @code{\startStaff} の間で行います。 + +@lilypond[verbatim,quote,relative=2] +c2 c +\stopStaff +\override Staff.StaffSymbol #'line-count = #2 +\startStaff +b2 b +\stopStaff +\revert Staff.StaffSymbol #'line-count +\startStaff +a2 a +@end lilypond + +@noindent +一般的に言うと、@code{\stopStaff} と @code{\startStaff} を用いることで、@c +楽譜の途中で譜を停止あるいは再開することができます。 + +@lilypond[verbatim,quote,relative=2] +c4 b a2 +\stopStaff +b4 c d2 +\startStaff +e4 d c2 +@end lilypond + + +@predefined +@code{\startStaff}, +@code{\stopStaff} +@endpredefined + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{making-some-staff-lines-thicker-than-the-others.ly} + + +@seealso +音楽用語集: +@rglos{line}, +@rglos{ledger line}, +@rglos{staff} + +記譜法リファレンス: +@ref{音部記号} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{StaffSymbol}, +@rinternals{staff-symbol-interface} + + +@node オッシア譜 +@unnumberedsubsubsec オッシア譜 +@translationof Ossia staves + +@c 未訳 +@cindex staff, Frenched +@cindex ossia (オッシア) +@c 未訳 +@cindex Frenched staves +@cindex staff, resizing of (譜をリサイズする) +@cindex resizing of staves (譜をリサイズする) + +@funindex \startStaff +@funindex startStaff +@funindex \stopStaff +@funindex stopStaff + +適切な位置で新しく同時進行の譜を作成することによって、@c +@notation{オッシア} 譜をセットすることができます: + +@lilypond[verbatim,quote] +\new Staff \relative c'' { + c4 b d c + << + { c4 b d c } + \new Staff { e4 d f e } + >> + c4 b c2 +} +@end lilypond + +@noindent +しかしながら、上の例は通常は望ましいものではありません。@c +オリジナルの譜の上にあり、拍子記号や音部記号を持たず、@c +小さなサイズのフォントを使用するオッシア譜を作成するには調整が必要です。@c +学習マニュアルの @rlearning{音楽表記をネストする} に望ましいオッシア譜を@c +作成するための方法が記述されています。 + +以下の例は、オッシア譜をオリジナルの譜の上に配置するために +@code{alignAboveContext} プロパティを用いています。@c +この手法は、2, 3 のオッシア譜が必要とされているだけである場合であれば、@c +最も適切な方法です。 + +@lilypond[verbatim,quote] +\new Staff = main \relative c'' { + c4 b d c + << + { c4 b d c } + + \new Staff \with { + \remove "Time_signature_engraver" + alignAboveContext = #"main" + fontSize = #-3 + \override StaffSymbol #'staff-space = #(magstep -3) + \override StaffSymbol #'thickness = #(magstep -3) + firstClef = ##f + } + { e4 d f e } + >> + c4 b c2 +} +@end lilypond + +多くの別個のオッシア譜が必要である場合、@c +ある特有の @emph{コンテキスト ID} を持つ空の @code{Staff} コンテキストを@c +作成する方が適切かもしれません: +このコンテキストを @emph{呼び出し}、@c +オッシア譜が必要とされる場所で @code{\startStaff} と @code{\stopStaff} +を用いることでオッシア譜が作成されます。@c +この手法の利点は、以下の例よりも長い楽曲であれば、明らかです。 + +@lilypond[verbatim,quote,ragged-right] +<< + \new Staff = ossia \with { + \remove "Time_signature_engraver" + \override Clef #'transparent = ##t + fontSize = #-3 + \override StaffSymbol #'staff-space = #(magstep -3) + \override StaffSymbol #'thickness = #(magstep -3) + } + { \stopStaff s1*6 } + + \new Staff \relative c' { + c4 b c2 + << + { e4 f e2 } + \context Staff = ossia { + \startStaff e4 g8 f e2 \stopStaff + } + >> + g4 a g2 \break + c4 b c2 + << + { g4 a g2 } + \context Staff = ossia { + \startStaff g4 e8 f g2 \stopStaff + } + >> + e4 d c2 + } +>> +@end lilypond + +オッシア譜を作成するための代替手段として、@c +@code{\RemoveEmptyStaffContext} コマンドが用いられるかもしれません。@c +この手法は、オッシア譜が改行の直後に発生する場合、最も便利な手法です。@c +@c そのようなケースでは、空白休符を使用する必要はまったくありません: +@c @code{\startStaff} と @code{\stopStaff} が必要であるだけです。@c +@code{\RemoveEmptyStaffContext} についての更なる情報は、@c +@ref{譜を隠す} を参照してください。 + +@lilypond[verbatim,quote,ragged-right] +<< + \new Staff = ossia \with { + \remove "Time_signature_engraver" + \override Clef #'transparent = ##t + fontSize = #-3 + \override StaffSymbol #'staff-space = #(magstep -3) + \override StaffSymbol #'thickness = #(magstep -3) + } \relative c'' { + R1*3 + c4 e8 d c2 + } + \new Staff \relative c' { + c4 b c2 + e4 f e2 + g4 a g2 \break + c4 b c2 + g4 a g2 + e4 d c2 + } +>> + +\layout { + \context { + \Staff \RemoveEmptyStaves + \override VerticalAxisGroup #'remove-first = ##t + } +} +@end lilypond + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{vertically-aligning-ossias-and-lyrics.ly} + + +@seealso +音楽用語集: +@rglos{ossia}, +@rglos{staff}, +@rglos{Frenched staff} + +学習マニュアル: +@rlearning{音楽表記をネストする}, +@rlearning{オブジェクトのサイズ}, +@rlearning{オブジェクトの長さと太さ} + +記譜法リファレンス: +@ref{譜を隠す} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{StaffSymbol} + + +@node 譜を隠す +@unnumberedsubsubsec 譜を隠す +@translationof Hiding staves + +@c 未訳 +@cindex Frenched score +@c 未訳 +@cindex Frenched staff +@cindex staff, hiding (譜を隠す) +@cindex staff, empty (空の譜) +@cindex hiding of staves (譜を隠す) +@cindex empty staves (空の譜) + +@funindex \RemoveEmptyStaves +@funindex Staff_symbol_engraver +@funindex \stopStaff +@funindex stopStaff + +@code{Staff} コンテキストから @code{Staff_symbol_engraver} を@c +削除することによって、譜線を隠すことができます。@c +そうする代わりに、@code{\stopStaff} を用いることもできます。 + +@lilypond[verbatim,quote] +\new Staff \with { + \remove "Staff_symbol_engraver" +} +\relative c''' { a8 f e16 d c b a2 } +@end lilypond + +@c 未訳: Frenched Score +@code{\layout} ブロックの中で +@code{\RemoveEmptyStaffContext} コマンドをセットすることによって、@c +空の譜を隠すことができます。@c +オーケストラ譜では、@c +このようなスタイルの譜は @q{Frenched Score} として知られています。@c +デフォルトでは、このコマンドは@c +最初のシステム以外のところにあるすべての空の譜を隠して、削除します。 + +@warning{譜が空であると見なされるのは、@c +それが複数小節にわたる休符、休符、スキップ、空白休符、@c +あるいはそれらの要素の組み合わせだけで構成されている場合です。} + +@lilypond[verbatim,quote,ragged-right] +\layout { + \context { + \Staff \RemoveEmptyStaves + } +} + +\relative c' << + \new Staff { + e4 f g a \break + b1 \break + a4 b c2 + } + \new Staff { + c,4 d e f \break + R1 \break + f4 g c,2 + } +>> +@end lilypond + +@cindex ossia (オッシア) + +@noindent +譜に対してオッシア セクションを作成するために、@c +@code{\RemoveEmptyStaffContext} を用いることもできます。@c +詳細は @ref{オッシア譜} を参照してください。 + +@cindex hiding ancient staves (古代譜を隠す) +@cindex hiding rhythmic staves (リズム譜を隠す) + +@funindex \RemoveEmptyStaves + +古代音楽コンテキストの中にある空の譜を隠すために、@c +@code{\VaticanaStaff \RemoveEmptyStaves} コマンドが用いられることがあります。@c +同様に、空の @code{RhythmicStaff} コンテキストを隠すために、@c +@code{\RhythmicStaff \RemoveEmptyStaves} が用いられることがあります。 + + +@predefined +@code{\Staff \RemoveEmptyStaves}, +@code{\VaticanaStaff \RemoveEmptyStaves}, +@code{\RhythmicStaff \RemoveEmptyStaves} +@endpredefined + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{removing-the-first-empty-line.ly} + + +@seealso +音楽用語集: +@rglos{Frenched staff} + +学習マニュアル: +@rlearning{オブジェクトの可視性と色} + +記譜法リファレンス: +@ref{Changing context default settings}, +@ref{譜シンボル}, +@ref{オッシア譜} +@ref{Hidden notes}, +@ref{不可視の休符}, +@ref{Visibility of objects} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{ChordNames}, +@rinternals{FiguredBass}, +@rinternals{Lyrics}, +@rinternals{Staff}, +@rinternals{VerticalAxisGroup}, +@rinternals{Staff_symbol_engraver} + + +@knownissues + +@code{Staff_symbol_engraver} を削除すると、小節線も隠されます。@c +小節線が強制的に可視になるよう設定されている場合、@c +フォーマット エラーが発生するかもしれません。@c +そのような場合は、エングラーバを削除する代わりに、@c +以下のオーバライドを使用してください: + +@example +\override StaffSymbol #'stencil = ##f +\override NoteHead #'no-ledgers = ##t +@end example + +@code{\Staff \RemoveEmptyStaves} に関連する既知の問題と警告は +@ref{Changing context default settings} を参照してください。 + + +@node パートを記述する +@subsection パートを記述する +@translationof Writing parts + +このセクションでは、テンポ指示と楽器名を楽譜に挿入する方法について説明します。@c +他のボイスを引用する方法と、演奏指示音符を譜刻する方法についても記述します。 + +@menu +@c * メトロノーム記号:: +* 楽器名:: +* 他のボイスを引用する:: +* 合図音符をフォーマットする:: +@end menu + + +@ignore +@node メトロノーム記号 +@unnumberedsubsubsec メトロノーム記号 +@translationof Metronome marks + +@cindex tempo (テンポ) +@cindex beats per minute (1 分間あたりの拍数) +@cindex metronome marking (メトロノーム記号) +@cindex metronome marking with text (テキストのメトロノーム記号) + +@funindex \tempo +@funindex tempo + +基本的なメトロノーム記号は単純に以下のように記述します: + +@lilypond[verbatim,quote,relative=1] +\tempo 4 = 120 +c2 d +e4. d8 c2 +@end lilypond + +上記の代わりに、テキストのテンポ指示を用いることもできます: + +@lilypond[verbatim,quote,relative=2] +\tempo "Allegretto" +c4 e d c +b4. a16 b c4 r4 +@end lilypond + +メトロノーム記号とテキストを組み合わせると、メトロノーム記号は自動的に括弧で@c +囲まれます: + +@lilypond[verbatim,quote,relative=2] +\tempo "Allegro" 4 = 160 +g4 c d e +d4 b g2 +@end lilypond + +一般的に、テキストは任意のマークアップ オブジェクトになり得ます: + +@lilypond[verbatim,quote,relative=2] +\tempo \markup { \italic Faster } 4 = 132 +a8-. r8 b-. r gis-. r a-. r +@end lilypond + +テキストの指示無しにメトロノーム記号を括弧で囲むには、入力に空の文字列を@c +含めます: + +@lilypond[verbatim,quote,relative=2] +\tempo "" 8 = 96 +d4 g e c +@end lilypond + + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{printing-metronome-and-rehearsal-marks-below-the-staff.ly} + +@c perhaps also an example of how to move it horizontally? + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{changing-the-tempo-without-a-metronome-mark.ly} + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{creating-metronome-marks-in-markup-mode.ly} + +更なる詳細は、@ref{テキストをフォーマットする} を参照してください。 + + +@seealso +音楽用語集: +@rglos{metronome}, +@rglos{metronomic indication}, +@rglos{tempo indication}, +@rglos{metronome mark} + +記譜法リファレンス: +@ref{テキストをフォーマットする}, +@ref{MIDI 出力} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{MetronomeMark} +@end ignore + +@node 楽器名 +@unnumberedsubsubsec 楽器名 +@translationof Instrument names + +@cindex instrument names (楽器名) +@cindex instrument names, short (短縮楽器名) + +@code{Staff}, @code{PianoStaff}, @code{StaffGroup}, @code{GrandStaff} +それに @code{ChoirStaff} コンテキストの中にある譜の左側に、@c +楽器名を譜刻することができます。@c +@code{instrumentName} の値が最初の行の譜に対して使用され、@c +@code{shortInstrumentName} の値がそれに続くすべての@c +行の譜に対して使用されます。 + +@lilypond[verbatim,quote,ragged-right,relative=1] +\set Staff.instrumentName = #"Violin " +\set Staff.shortInstrumentName = #"Vln " +c4.. g'16 c4.. g'16 +\break +c1 +@end lilypond + +マークアップ モードを用いて、より複雑な楽器名を作成することができます: + +@lilypond[verbatim,quote,relative=2] +\set Staff.instrumentName = \markup { + \column { "Clarinetti" + \line { "in B" \smaller \flat } } } +c4 c,16 d e f g2 +@end lilypond + +@cindex instrument names, centering (楽器名を中央揃えする) + +2 つ以上の譜コンテキストが一緒になってグループ化されている場合、@c +デフォルトでは楽器名と短縮楽器名は中央揃えされます。@c +複数行にわたる楽器名を中央揃えするには、@c +@code{\center-column} を用いる必要があります: + +@lilypond[verbatim,quote,indent=1.5\cm,relative=2] +<< + \new Staff { + \set Staff.instrumentName = #"Flute" + f2 g4 f + } + \new Staff { + \set Staff.instrumentName = \markup \center-column { + Clarinet + \line { "in B" \smaller \flat } + } + c4 b c2 + } +>> +@end lilypond + +@funindex indent +@funindex short-indent + +しかしながら、楽器名が長い場合、@code{indent} 設定と @code{short-indent} +設定の値を増やさない限り、譜グループの中にある楽器名は中央揃えされません。@c +これらの設定についての詳細は @ref{\paper variables for shifts and indents} +を参照してください。 + +@lilypond[verbatim,quote,ragged-right] +\layout { + indent = 3.0\cm + short-indent = 1.5\cm +} + +\relative c'' << + \new Staff { + \set Staff.instrumentName = #"Alto Flute in G" + \set Staff.shortInstrumentName = #"Fl." + f2 g4 f \break + g4 f g2 + } + \new Staff { + \set Staff.instrumentName = #"Clarinet" + \set Staff.shortInstrumentName = #"Clar." + c,4 b c2 \break + c2 b4 c + } +>> +@end lilypond + +@cindex instrument names, adding to other contexts (楽器名を他のコンテキストに付け加える) + +楽器名を他のコンテキスト (@code{ChordNames} や @code{FiguredBass} など) +に付け加えるには、 +そのコンテキストに @code{Instrument_name_engraver} を追加する必要があります。@c +詳細は @ref{Modifying context plug-ins} を参照してください。 + +@cindex instrument names, changing (楽器名を変更する) +@cindex changing instrument names (楽器名を変更する) + +楽曲の途中で楽器名を変更することもできます。@c +しかしながら、@code{instrumentName} は最初の行の譜にしか表示されないため、@c +楽曲の途中では表示されないことを思い出してください: + +@lilypond[verbatim,quote,ragged-right,relative=1] +\set Staff.instrumentName = #"First" +\set Staff.shortInstrumentName = #"one" +c1 c c c \break +c1 c c c \break +\set Staff.instrumentName = #"Second" +\set Staff.shortInstrumentName = #"two" +c1 c c c \break +c1 c c c \break +@end lilypond + +@cindex instrument switch (楽器を切り換える) +@cindex switching instruments (楽器を切り換える) + +@funindex \addInstrumentDefinition +@funindex addInstrumentDefinition +@funindex \instrumentSwitch +@funindex instrumentSwitch + +楽器の @emph{切り替え} が必要な場合、切り替えのために必要とされる@c +変更の詳細なリストを作成するために、@code{\addInstrumentDefinition} を +@code{\instrumentSwitch} と組み合わせて使用することがあります。@c +@code{\addInstrumentDefinition} コマンドは 2 つの引数をとります: +識別文字列と、楽器で使用されるコンテキスト プロパティと値の連想リストです。@c +このコマンドは最上位のスコープに配置する必要があります。@c +@code{\instrumentSwitch} は音楽表記の中で使用され、楽器の切り替えを宣言します: + +@lilypond[verbatim,quote,ragged-right] +\addInstrumentDefinition #"contrabassoon" + #`((instrumentTransposition . ,(ly:make-pitch -1 0 0)) + (shortInstrumentName . "Cbsn.") + (clefGlyph . "clefs.F") + (middleCPosition . 6) + (clefPosition . 2) + (instrumentCueName . ,(make-bold-markup "cbsn.")) + (midiInstrument . "bassoon")) + +\new Staff \with { + instrumentName = #"Bassoon" +} +\relative c' { + \clef tenor + \compressFullBarRests + c2 g' + R1*16 + \instrumentSwitch "contrabassoon" + c,,2 g \break + c,1 ~ | c1 +} +@end lilypond + + +@seealso +記譜法リファレンス: +@ref{\paper variables for shifts and indents}, +@ref{Modifying context plug-ins} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{InstrumentName}, +@rinternals{PianoStaff}, +@rinternals{Staff} + + +@node 他のボイスを引用する +@unnumberedsubsubsec 他のボイスを引用する +@translationof Quoting other voices + +@cindex cues (演奏指示) +@cindex quoting other voices (他のボイスを引用する) +@c 未訳 +@cindex fragments (楽譜の一部分) +@cindex cue notes (演奏指示音符) + +@funindex \addQuote +@funindex addQuote +@funindex \quoteDuring +@funindex quoteDuring +@funindex \transposition +@funindex transposition + +あるボイスが他のボイスの音楽の一部を兼ねることはごく一般的なことです。@c +例えば、第 1 バイオリンと第2バイオリンは、音楽のあるパッセージの間、@c +同じ音符を演奏することがあるかもしれません。@c +LilyPond では、あるボイスに他のボイスを @emph{引用} させることによって@c +実現されます。@c +再入力する必要はありません。 + +パートを引用するには、@code{\addQuote} コマンドを用いて引用する部分を@c +初期化する必要があります。@c +このコマンドは最上位のスコープで使用しなければなりません。@c +1 番目の引数は識別文字列であり、2 番目の引数は音楽表記です: + +@example +flute = \relative c'' @{ + a4 gis g gis +@} +\addQuote "flute" @{ \flute @} +@end example + +@code{\quoteDuring} コマンドを用いて、引用を開始する位置を示します。@c +このコマンドは 2 つの引数をとります: +@code{\addQuote} で定義した引用するボイスの名前と、@c +引用部分の演奏時間を示す音楽表記 +-- 通常、これは空白休符か複数小節にわたる休符 -- です。@c +引用されるボイスの音楽から該当部分の音楽 +(アーティキュレーション、強弱記号、マークアップ等を含みます) +が音楽表記に挿入されます: + +@lilypond[verbatim,quote] +flute = \relative c'' { + a4 gis g->\f gis^\markup{quoted} +} +\addQuote "flute" { \flute } + +\relative c' { + c4 cis \quoteDuring #"flute" { s2 } +} +@end lilypond + +@code{\quoteDuring} で使用される音楽表記に空白休符や複数小節休符以外のものが@c +含まれている場合、多声部になります。@c +これは望まない結果であることがしばしばあります: + +@lilypond[verbatim,quote] +flute = \relative c'' { + a4 gis g->\f gis^\markup{quoted} +} +\addQuote "flute" { \flute } + +\relative c' { + c4 cis \quoteDuring #"flute" { s2 } +} +@end lilypond + +@code{\transposition} が使用される場合、@c +引用機能はソースとターゲット両方の楽器の楽器移調設定を考慮します。@c +@code{\transposition} についての詳細は @ref{楽器の移調} を@c +参照してください。 + +@lilypond[verbatim,quote] +clarinet = \relative c'' { + \transposition bes + a4 gis g gis +} +\addQuote "clarinet" { \clarinet } + +\relative c' { + c4 cis \quoteDuring #"clarinet" { s2 } +} +@end lilypond + +引用部分に固有名のタグを付けて、@c +引用部分をさまざまな形で処理することができます。@c +この手法についての詳細は @ref{Using tags} を参照してください。 + +@code{quotedEventTypes} プロパティを変更することで、@c +オリジナル ボイスからどのオブジェクトを引用するか調節することもできます。@c +デフォルトで、このプロパティの値は @code{#'(StreamEvent)} であり、@c +すべてを引用します。@c +例えば、この値を @code{#'(note-event rest-event tie-event)} に変更すると、@c +LilyPond は音符、休符それにタイを引用し、@c +アーティキュレーション、マーックアップあるいは強弱記号は引用しません。 + +@lilypond[verbatim,quote] +clarinet = \relative c'' { + a4 gis g->\f gis^\markup{quoted} +} +\addQuote "clarinet" { \clarinet } + +\relative c' { + \set Score.quotedEventTypes = #'(note-event rest-event tie-event) + c4 cis \quoteDuring #"clarinet" { s2 } +} +@end lilypond + +@snippets + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{quoting-another-voice-with-transposition.ly} + +@cindex note-event +@cindex articulation-event +@cindex dynamic-event +@cindex rest-event + +@funindex quotedEventTypes +@funindex quotedCueEventTypes + +@lilypondfile[verbatim,lilyquote,texidoc,doctitle] +{quoting-another-voice.ly} + +@seealso +記譜法リファレンス: +@ref{楽器の移調}, +@ref{Using tags} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{QuoteMusic}, +@rinternals{Voice} + + +@knownissues + +@code{\addQuote} 中にある最初の @code{Voice} の内容だけが引用されます。@c +そのため、@code{@var{music}} には他の Voice に切り替わる @code{\new} や +@code{\context Voice} を含めることはできません。 + +装飾小音符を引用しようとしてもうまくいかず、@c +LilyPond がクラッシュする可能性さえあります。 + +ネストされた連符を引用しようとしてもうまくいきません。 + +以前のバージョンの LilyPond (2.11 よりも前) では、@code{addQuote} はすべて@c +小文字 -- @code{addquote} -- で記述されていました。 + + +@node 合図音符をフォーマットする +@unnumberedsubsubsec 合図音符をフォーマットする +@translationof Formatting cue notes + +@cindex cues (合図) +@cindex cue notes (合図音符) +@cindex cue notes, formatting (合図音符をフォーマットする) +@c 未訳 +@cindex fragments (楽譜の一部分) +@cindex quoting other voices (他のボイスを引用する) +@cindex cues, formatting (合図をフォーマットする) + +@funindex \cueDuring +@funindex cueDuring +@funindex \quoteDuring +@funindex quoteDuring + +前のセクションでは、引用を作成する方法について説明しました。@c +@code{\cueDuring} コマンドは @code{\quoteDuring} コマンドの@c +より特殊な形であり、あるパートに合図音符を挿入する場合に有用です。@c +構文は以下の通りです: + +@example +\cueDuring #@var{partname} #@var{voice} @var{music} +@end example + +このコマンドは @code{@var{partname}} の該当する小節から音符と休符だけを +@code{CueVoice} にコピーします。@c +@code{CueVoice} は暗黙的に作成されて @code{@var{music}} と同時進行し、@c +結果として多声になります。@c +引数 @code{@var{voice}} は合図音符を第 1 ボイスとして記譜すべきか、@c +第 2 ボイスとして記譜すべきかを決定します。@c +@code{UP} は第 1 ボイスに相当し、@code{DOWN} は第 2 ボイスに相当します。 + +@lilypond[verbatim,quote] +oboe = \relative c'' { + r2 r8 d16(\f f e g f a) + g8 g16 g g2. +} +\addQuote "oboe" { \oboe } + +\new Voice \relative c'' { + \cueDuring #"oboe" #UP { R1 } + g2 c, +} +@end lilypond + +@noindent +上の例で、@code{Voice} コンテキストは明示的に宣言されている必要があります。@c +さもなければ、音楽表記全体が @code{CueVoice} コンテキストに属してしまいます。 + +@code{instrumentCueName} プロパティを設定することによって、@c +@code{\cueDuring} で音楽のどの側面を引用するか調節することができます。@c +このプロパティのデフォルト値は @code{#'(note-event rest-event +tie-event beam-event tuplet-span-event)} であり、音符、休符、タイ、連桁@c +それに連符だけが引用され、アーティキュレーション、強弱記号、マークアップ等は@c +引用されません。 + +@lilypond[verbatim,quote] +oboe = \relative c'' { + r2 r8 d16(\f f e g f a) + g8 g16 g g2. +} +\addQuote "oboe" { \oboe } + +\new Voice \relative c'' { + \set Score.quotedCueEventTypes = #'(note-event rest-event tie-event + beam-event tuplet-span-event + dynamic-event slur-event) + \cueDuring #"oboe" #UP { R1 } + g2 c, +} +@end lilypond + +マークアップを使用して引用される楽器の名前を表示することができます。@c +また、合図音符が音部変更を必要とする場合、@c +合図音符の終わりで元の音部に戻す必要があります。 + +@lilypond[verbatim,quote] +flute = \relative c'' { + r2. c4 d8 c d e fis2 g2 d2 +} +bassoon = \relative c { + \clef bass + R1 + \clef treble + s1*0^\markup { \tiny "flute" } + \cueDuring #"flute" #UP { R1 } + \clef bass + g4. b8 d2 +} +\addQuote "flute" { \flute } +\new Staff { + \bassoon +} +@end lilypond + +@cindex removing cues (合図を削除する) +@cindex removing cue notes (合図音符を削除する) +@cindex cue notes, removing (合図音符を削除する) + +@funindex \killCues +@funindex killCues + +@code{\killCues} コマンドは音楽表記から合図音符を削除します。@c +これにより、同じ音楽表記を使って合図を持つ楽器パートと総譜を作り出すことが@c +可能です。@c +@code{\killCues} コマンドは @code{\cueDuring} によって引用された@c +音符とイベントだけを削除します。@c +合図に関連する他のマークアップ +-- 音部変更と引用元の楽器を識別するラベルなど -- +にはタグを付けて総譜に含めるかどうかを選択することができます。@c +@ref{Using tags} を参照してください。 + +@lilypond[verbatim,quote] +flute = \relative c'' { + r2. c4 d8 c d e fis2 g2 d2 +} +bassoon = \relative c { + \clef bass + R1 + \tag #'part { + \clef treble + s1*0^\markup { \tiny "flute" } + } + \cueDuring #"flute" #UP { R1 } + \tag #'part \clef bass + g4. b8 d2 +} +\addQuote "flute" { \flute } + +\new Staff { + \bassoon +} +\new StaffGroup << + \new Staff { + \flute + } + \new Staff { + \removeWithTag #'part { \killCues { \bassoon } } + } +>> +@end lilypond + +あるいはまた、音部変更や楽器ラベルを再利用するために、@c +@code{\addInstrumentDefinition} を用いて楽器の定義に含めることができます。@c +@code{\addInstrumentDefinition} についての説明は +@ref{楽器名} を参照してください。 + +@funindex \transposedCueDuring +@funindex transposedCueDuring + +@code{\quoteDuring} と同様に、@code{\cueDuring} は楽器の移調を考慮します。@c +合図音符は、合図を受け取る楽器のピッチで作り出されます。 + +合図音符を移調させるには @code{\transposedCueDuring} を使用します。@c +このコマンドはコンサート ミドル C の音を表すピッチを (絶対モードで) 指定する@c +追加の引数を取ります。 + +@lilypond[verbatim,quote] +piccolo = \relative c''' { + \clef "treble^8" + R1 + c8 c c e g2 + c4 g g2 +} +bassClarinet = \relative c' { + \key d \major + \transposition bes, + d4 r a r + \transposedCueDuring #"piccolo" #UP d { R1 } + d4 r a r +} + +\addQuote "piccolo" { \piccolo } + +<< + \new Staff \piccolo + \new Staff \bassClarinet +>> +@end lilypond + +@cindex notes, smaller +@cindex smaller notes + +小さなサイズの音符が必要な場合、@c +@code{CueVoice} コンテキストを明示的に作成することがあります。@c +例えば、本来の演奏とは異なる音符列をオリジナル ボイスの上または下に@c +セットする場合に適しています。 + +@lilypond[verbatim,relative=2] +\time 12/8 +\key ees \major +g4 ees8 f4 g8 +\stemDown +<< + { d4. bes4 c8 } + \new CueVoice + { g'4. f4 ees8 } +>> +\stemUp +d2. d2. +@end lilypond + + +@seealso +記譜法リファレンス: +@ref{楽器の移調}, +@ref{楽器名}, +@ref{Musical cues}, +@ref{タグを使用する} + +コード断片集: +@rlsr{Staff notation} + +内部リファレンス: +@rinternals{CueVoice}, +@rinternals{Voice} + + +@knownissues + +@code{\cueDuring} を使用した場合、@code{Voice} コンテキストと @code{CueVoice} +コンテキストの間で休符の衝突が発生する可能性があります。 -- 2.39.2