1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
3 Translation of GIT committish: 7cd8c1d1e389edc26c26b7eba8358578329f5881
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 Staff notation
20 @lilypondfile[quote]{staff-headword.ly}
22 このセクションでは、譜の見た目を変える方法、複数の譜を持つ楽譜を譜刻する方法、@c
23 それに、テンポ指示と演奏指示楽節の音符を譜に付け加える方法について説明します。
34 @translationof Displaying staves
36 このセクションでは、譜を作成する方法と、@c
37 譜をグループ化する方法をいくつか説明します。
43 * Separating systems::
48 @unnumberedsubsubsec 新たに譜をインスタンス化する
49 @translationof Instantiating new staves
51 @cindex new staff (新しい譜)
52 @cindex staff initiation (譜の開始)
53 @cindex staff instantiation (譜のインスタンス化)
54 @cindex staff, new (新しい譜)
55 @cindex staff, single (単一の譜)
56 @cindex staff, drum (ドラム譜)
57 @cindex staff, percussion (打楽器譜)
58 @cindex drum staff (ドラム譜)
59 @cindex percussion staff (打楽器譜)
60 @cindex Gregorian transcription staff (グレゴリア編曲譜)
61 @cindex rhythmic staff (リズム譜)
62 @cindex tabstaff (タブ譜)
63 @cindex tablature (タブ譜)
68 @funindex RhythmicStaff
70 @funindex MensuralStaff
71 @funindex VaticanaStaff
72 @funindex GregorianTranscriptionStaff
74 @notation{stave: 譜} (@notation{staff}: 譜 (表) の単称) は
75 @code{\new} コマンドや @code{\context} コマンドで作成されます。@c
76 詳細は @ref{Creating contexts} を参照してください。
78 基本的な譜コンテキストは @code{Staff} です:
80 @lilypond[verbatim,quote,relative=2]
81 \new Staff { c4 d e f }
84 @code{DrumStaff} コンテキストは、一般的なドラム セットのための 5 線譜を@c
87 @code{\drummode} コマンドの後に続けて、楽器をドラム モードで入力します。@c
89 詳細は @ref{Percussion staves} を参照してください。
91 @lilypond[verbatim,quote]
93 \drummode { cymc hh ss tomh }
97 @code{RhythmicStaff} は、入力のリズム価だけを表示する単線譜を作成します。@c
98 (ピッチは無視されますが) 演奏時間が保持されます。@c
99 詳細は @ref{旋律のリズムを示す} を参照してください。
101 @lilypond[verbatim,quote,relative=2]
102 \new RhythmicStaff { c4 d e f }
105 @code{TabStaff} は、標準のギター チューニングの 6 弦のタブ譜を作成します。@c
106 詳細は @ref{Default tablatures} を参照してください。
108 @lilypond[verbatim,quote,relative=2]
109 \new TabStaff { c4 d e f }
112 古代音楽の記譜法のために 2 つの譜コンテキストが用意されています:
113 @code{MensuralStaff} と @code{VaticanaStaff} です。@c
114 これらのことは @ref{Pre-defined contexts} で説明されています。
116 @code{GregorianTranscriptionStaff} コンテキストは、@c
117 現代グレゴリア聖歌を記譜するための譜を作成します。@c
120 @lilypond[verbatim,quote,relative=2]
121 \new GregorianTranscriptionStaff { c4 d e f e d }
124 新たに単一譜コンテキストを定義する場合があります。@c
125 詳細は @ref{Defining new contexts} を参照してください。
134 @ref{Creating contexts},
135 @ref{Percussion staves},
137 @ref{Default tablatures},
138 @ref{Pre-defined contexts},
140 @ref{Gregorian chant contexts},
141 @ref{Mensural contexts},
142 @ref{Defining new contexts}
145 @rlsr{Staff notation}
149 @rinternals{DrumStaff},
150 @rinternals{GregorianTranscriptionStaff},
151 @rinternals{RhythmicStaff},
152 @rinternals{TabStaff},
153 @rinternals{MensuralStaff},
154 @rinternals{VaticanaStaff},
155 @rinternals{StaffSymbol}
159 @unnumberedsubsubsec 譜をグループ化する
160 @translationof Grouping staves
162 @cindex start of system (システムの開始)
163 @cindex staff, multiple (複数の譜)
164 @cindex staves, multiple (複数の譜)
165 @cindex system start delimiters (システム開始の境界線)
166 @cindex bracket, vertical (垂直の角括弧)
167 @cindex brace, vertical (垂直の波括弧)
168 @cindex choir staff (合唱譜)
169 @cindex grand staff (グランド譜)
170 @cindex piano staff (ピアノ譜)
171 @cindex staff group (譜グループ)
172 @cindex staff, choir (合唱譜)
173 @cindex staff, piano (ピアノ譜)
174 @cindex staff, grand (グランド譜)
175 @cindex system (システム)
177 複数の譜からなるシステムを形成するために譜をグループ化する@c
179 グループ化を行うコンテキストはそれぞれにシステム開始境界線のスタイルと@c
182 コンテキストが指定されていない場合、デフォルトのプロパティが使用されます:
183 グループは垂直の線で始まり、小節線はつながりません。
185 @lilypond[verbatim,quote,relative=2]
192 @code{StaffGroup} コンテキストでは、グループは角括弧で始まり、@c
195 @lilypond[verbatim,quote,relative=2]
202 @code{ChoirStaff} では、グループは角括弧で始まりますが、小節線はつながりません。
204 @lilypond[verbatim,quote,relative=2]
211 @code{GrandStaff} では、グループは波括弧で始まり、小節線はすべての譜を貫きます。
213 @lilypond[verbatim,quote,relative=2]
220 @code{PianoStaff} は @code{GrandStaff} と同一ですが、@c
221 例外として楽器名を刻譜することができます。@c
222 詳細は @ref{楽器名} を参照してください。
224 @lilypond[verbatim,quote,relative=2]
226 \set PianoStaff.instrumentName = #"Piano"
232 各譜グループ化コンテキストはプロパティ @code{systemStartDelimiter} を@c
234 @code{SystemStartBar}, @code{SystemStartBrace} あるいは
235 @code{SystemStartBracket}。@c
236 4 つ目の境界線 -- @code{SystemStartSquare} も利用可能ですが、@c
239 新たな譜グループ化コンテキストを定義することもできます。@c
240 詳細は @ref{Defining new contexts} を参照してください。
245 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
246 {use-square-bracket-at-the-start-of-a-staff-group.ly}
248 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
249 {display-bracket-with-only-one-staff-in-a-system.ly}
252 @cindex mensurstriche layout
253 @cindex renaissance music)
254 @cindex transcription of mensural music
255 @cindex mensural music, transcription of
257 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
258 {mensurstriche-layout-bar-lines-between-the-staves.ly}
269 @ref{Defining new contexts}
272 @rlsr{Staff notation}
276 @rinternals{StaffGroup},
277 @rinternals{ChoirStaff},
278 @rinternals{GrandStaff},
279 @rinternals{PianoStaff},
280 @rinternals{SystemStartBar},
281 @rinternals{SystemStartBrace},
282 @rinternals{SystemStartBracket},
283 @rinternals{SystemStartSquare}
286 デフォルトでは @code{PianoStaff} は @code{ChordNames} を受け付けません。
290 @unnumberedsubsubsec ネストされた譜グループ
291 @translationof Nested staff groups
293 @cindex staff, nested (ネストされた譜)
294 @cindex staves, nested (ネストされた譜)
295 @cindex nesting of staves (譜をネストする)
296 @cindex system start delimiters, nested (ネストされたシステムの開始境界線)
297 @cindex nested staff brackets (ネストされた譜の角括弧)
298 @cindex brackets, nesting of (角括弧をネストする)
299 @cindex braces, nesting of (波括弧をネストする)
301 譜グループ化コンテキストは任意の深さにネストすることができます。@c
302 そうした場合、それぞれの子コンテキストは、@c
303 親グループの角括弧に隣接して新しい角括弧を作成します。
305 @lilypond[verbatim,quote,relative=2]@lilypond[verbatim,quote,relative=2]
307 \new Staff { c2 c | c2 c }
309 \new Staff { g2 g | g2 g }
310 \new StaffGroup \with {
311 systemStartDelimiter = #'SystemStartSquare
314 \new Staff { e2 e | e2 e }
315 \new Staff { c2 c | c2 c }
321 新たにネストされた譜グループ化コンテキストを定義することができます。@c
322 詳細は @ref{Defining new contexts} を参照してください。
327 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
335 @ref{Defining new contexts}
338 @rlsr{Staff notation}
341 @rinternals{StaffGroup},
342 @rinternals{ChoirStaff},
343 @rinternals{SystemStartBar},
344 @rinternals{SystemStartBrace},
345 @rinternals{SystemStartBracket},
346 @rinternals{SystemStartSquare}
349 @node Separating systems
350 @unnumberedsubsubsec Separating systems
352 @cindex system separator mark
354 If the number of systems per page changes from page to page it is
355 customary to separate the systems by placing a system separator mark
356 between them. By default the system separator is blank, but can be
357 turned on with a @code{\paper} option.
359 @c \book is required here to display the system separator
360 @c ragged-right is required as there are two systems
361 @lilypond[verbatim,quote,ragged-right]
382 system-separator-markup = \slashSeparator
383 % following commands are needed only to format this documentation
385 paper-height = 100\mm
396 @rlsr{Staff notation}.
400 @subsection 個々の譜を変更する
401 @translationof Modifying single staves
403 このセクションでは、譜の属性を変更する方法について説明します:
404 例えば、譜線の本数や譜サイズを変更します。@c
405 譜を開始/終了する方法とオッシア セクションをセットする方法についても記述します。
415 @unnumberedsubsubsec 譜シンボル
416 @translationof Staff symbol
418 @cindex adjusting staff symbol (譜シンボルを調節する)
419 @cindex drawing staff symbol (譜シンボルを描く)
420 @cindex staff symbol, setting of (譜シンボルを設定する)
421 @cindex staff symbol, drawing (譜シンボルを描く)
422 @cindex stop staff lines (譜線の譜刻を停止する)
423 @cindex start staff lines (譜線の譜刻を開始する)
424 @cindex staff lines, amount of (譜線の本数)
425 @cindex staff lines, number of (譜線の本数)
426 @cindex staff line, thickness of (譜線の太さ)
427 @cindex amount of staff lines (譜線の本数)
428 @cindex thickness of staff lines (譜線の太さ)
429 @cindex ledger lines, setting (加線を設定する)
430 @cindex setting of ledger lines (加線の設定)
431 @cindex spacing of ledger lines (加線の間隔)
432 @cindex number of staff lines (譜線の本数)
434 譜の線は @code{StaffSymbol} グラフィカル オブジェクトに属します。@c
435 @code{StaffSymbol} プロパティを変更して、譜の見た目を変えることができます。@c
436 しかしながら、変更は譜を作成する前に行う必要があります。
438 譜線の本数を変えることもできます。音部記号の位置とミドル C の位置を、@c
439 新しい譜にフィットさせるために、変更する必要があるかもしれません。@c
440 具体例は、@ref{音部記号} にあるコード断片集セクションを参照してください。
442 @lilypond[verbatim,quote,relative=2]
444 \override StaffSymbol #'line-count = #3
449 譜線の太さを変えることができます。加線 (訳者注: ledger line, 譜の上下に@c
450 突き出た符頭と符幹に付けられる短い譜線) と符幹の太さも影響を受けます。@c
451 なぜなら、それらの太さは譜線の太さに基づいているからです。
453 @lilypond[verbatim,quote,relative=1]
455 \override StaffSymbol #'thickness = #3
460 加線の太さを譜線の太さから独立して設定することができます。@c
461 以下の例では、2 つの数は譜線の太さと譜線の間隔に掛けられる因子です。@c
462 2 つを足し合わせて加線の太さになります。
464 @lilypond[verbatim,quote,relative=1]
466 \override StaffSymbol #'ledger-line-thickness = #'(1 . 0.2)
471 譜線の間隔を変えることができます。この設定は加線の間隔にも影響を与えます。
473 @lilypond[verbatim,quote,relative=1]
475 \override StaffSymbol #'staff-space = #1.5
480 @code{StaffSymbol} のプロパティについて更に詳細な説明が
481 @rinternals{staff-symbol-interface} に記述されています。
483 @cindex stopping a staff (譜の停止)
484 @cindex starting a staff (譜の開始)
485 @cindex staff, starting (譜の開始)
486 @cindex staff, stopping (譜の停止)
488 @funindex \startStaff
493 楽譜の途中で譜プロパティに変更を加えるには、@c
494 @code{\stopStaff} と @code{\startStaff} の間で行います。
496 @lilypond[verbatim,quote,relative=2]
499 \override Staff.StaffSymbol #'line-count = #2
503 \revert Staff.StaffSymbol #'line-count
509 一般的に言うと、@code{\stopStaff} と @code{\startStaff} を用いることで、@c
510 楽譜の途中で譜を停止あるいは再開することができます。
512 @lilypond[verbatim,quote,relative=2]
529 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
530 {making-some-staff-lines-thicker-than-the-others.ly}
543 @rlsr{Staff notation}
546 @rinternals{StaffSymbol},
547 @rinternals{staff-symbol-interface}
551 @unnumberedsubsubsec オッシア譜
552 @translationof Ossia staves
555 @cindex staff, Frenched
558 @cindex Frenched staves
559 @cindex staff, resizing of (譜をリサイズする)
560 @cindex resizing of staves (譜をリサイズする)
562 @funindex \startStaff
567 適切な位置で新しく同時進行の譜を作成することによって、@c
568 @notation{オッシア} 譜をセットすることができます:
570 @lilypond[verbatim,quote]
571 \new Staff \relative c'' {
575 \new Staff { e4 d f e }
582 しかしながら、上の例は通常は望ましいものではありません。@c
583 オリジナルの譜の上にあり、拍子記号や音部記号を持たず、@c
584 小さなサイズのフォントを使用するオッシア譜を作成するには調整が必要です。@c
585 学習マニュアルの @rlearning{音楽表記をネストする} に望ましいオッシア譜を@c
588 以下の例は、オッシア譜をオリジナルの譜の上に配置するために
589 @code{alignAboveContext} プロパティを用いています。@c
590 この手法は、2, 3 のオッシア譜が必要とされているだけである場合であれば、@c
593 @lilypond[verbatim,quote]
594 \new Staff = main \relative c'' {
600 \remove "Time_signature_engraver"
601 alignAboveContext = #"main"
603 \override StaffSymbol #'staff-space = #(magstep -3)
604 \override StaffSymbol #'thickness = #(magstep -3)
613 多くの別個のオッシア譜が必要である場合、@c
614 ある特有の @emph{コンテキスト ID} を持つ空の @code{Staff} コンテキストを@c
616 このコンテキストを @emph{呼び出し}、@c
617 オッシア譜が必要とされる場所で @code{\startStaff} と @code{\stopStaff}
618 を用いることでオッシア譜が作成されます。@c
619 この手法の利点は、以下の例よりも長い楽曲であれば、明らかです。
621 @lilypond[verbatim,quote,ragged-right]
623 \new Staff = ossia \with {
624 \remove "Time_signature_engraver"
625 \override Clef #'transparent = ##t
627 \override StaffSymbol #'staff-space = #(magstep -3)
628 \override StaffSymbol #'thickness = #(magstep -3)
632 \new Staff \relative c' {
636 \context Staff = ossia {
637 \startStaff e4 g8 f e2 \stopStaff
644 \context Staff = ossia {
645 \startStaff g4 e8 f g2 \stopStaff
653 オッシア譜を作成するための代替手段として、@c
654 @code{\RemoveEmptyStaffContext} コマンドが用いられるかもしれません。@c
655 この手法は、オッシア譜が改行の直後に発生する場合、最も便利な手法です。@c
656 @c そのようなケースでは、空白休符を使用する必要はまったくありません:
657 @c @code{\startStaff} と @code{\stopStaff} が必要であるだけです。@c
658 @code{\RemoveEmptyStaffContext} についての更なる情報は、@c
659 @ref{譜を隠す} を参照してください。
661 @lilypond[verbatim,quote,ragged-right]
663 \new Staff = ossia \with {
664 \remove "Time_signature_engraver"
665 \override Clef #'transparent = ##t
667 \override StaffSymbol #'staff-space = #(magstep -3)
668 \override StaffSymbol #'thickness = #(magstep -3)
673 \new Staff \relative c' {
685 \Staff \RemoveEmptyStaves
686 \override VerticalAxisGroup #'remove-first = ##t
694 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
695 {vertically-aligning-ossias-and-lyrics.ly}
702 @rglos{Frenched staff}
705 @rlearning{音楽表記をネストする},
706 @rlearning{オブジェクトのサイズ},
707 @rlearning{オブジェクトの長さと太さ}
713 @rlsr{Staff notation}
716 @rinternals{StaffSymbol}
720 @unnumberedsubsubsec 譜を隠す
721 @translationof Hiding staves
724 @cindex Frenched score
726 @cindex Frenched staff
727 @cindex staff, hiding (譜を隠す)
728 @cindex staff, empty (空の譜)
729 @cindex hiding of staves (譜を隠す)
730 @cindex empty staves (空の譜)
732 @funindex \RemoveEmptyStaves
733 @funindex Staff_symbol_engraver
737 @code{Staff} コンテキストから @code{Staff_symbol_engraver} を@c
738 削除することによって、譜線を隠すことができます。@c
739 そうする代わりに、@code{\stopStaff} を用いることもできます。
741 @lilypond[verbatim,quote]
743 \remove "Staff_symbol_engraver"
745 \relative c''' { a8 f e16 d c b a2 }
748 @c 未訳: Frenched Score
749 @code{\layout} ブロックの中で
750 @code{\RemoveEmptyStaffContext} コマンドをセットすることによって、@c
753 このようなスタイルの譜は @q{Frenched Score} として知られています。@c
755 最初のシステム以外のところにあるすべての空の譜を隠して、削除します。
757 @warning{譜が空であると見なされるのは、@c
758 それが複数小節にわたる休符、休符、スキップ、空白休符、@c
759 あるいはそれらの要素の組み合わせだけで構成されている場合です。}
761 @lilypond[verbatim,quote,ragged-right]
764 \Staff \RemoveEmptyStaves
785 譜に対してオッシア セクションを作成するために、@c
786 @code{\RemoveEmptyStaffContext} を用いることもできます。@c
787 詳細は @ref{オッシア譜} を参照してください。
789 @cindex hiding ancient staves (古代譜を隠す)
790 @cindex hiding rhythmic staves (リズム譜を隠す)
792 @funindex \RemoveEmptyStaves
794 古代音楽コンテキストの中にある空の譜を隠すために、@c
795 @code{\VaticanaStaff \RemoveEmptyStaves} コマンドが用いられることがあります。@c
796 同様に、空の @code{RhythmicStaff} コンテキストを隠すために、@c
797 @code{\RhythmicStaff \RemoveEmptyStaves} が用いられることがあります。
801 @code{\Staff \RemoveEmptyStaves},
802 @code{\VaticanaStaff \RemoveEmptyStaves},
803 @code{\RhythmicStaff \RemoveEmptyStaves}
809 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
810 {removing-the-first-empty-line.ly}
815 @rglos{Frenched staff}
818 @rlearning{オブジェクトの可視性と色}
821 @ref{Changing context default settings},
826 @ref{Visibility of objects}
829 @rlsr{Staff notation}
832 @rinternals{ChordNames},
833 @rinternals{FiguredBass},
836 @rinternals{VerticalAxisGroup},
837 @rinternals{Staff_symbol_engraver}
842 @code{Staff_symbol_engraver} を削除すると、小節線も隠されます。@c
843 小節線が強制的に可視になるよう設定されている場合、@c
844 フォーマット エラーが発生するかもしれません。@c
845 そのような場合は、エングラーバを削除する代わりに、@c
849 \override StaffSymbol #'stencil = ##f
850 \override NoteHead #'no-ledgers = ##t
853 @code{\Staff \RemoveEmptyStaves} に関連する既知の問題と警告は
854 @ref{Changing context default settings} を参照してください。
859 @translationof Writing parts
861 このセクションでは、テンポ指示と楽器名を楽譜に挿入する方法について説明します。@c
862 他のボイスを引用する方法と、演奏指示音符を譜刻する方法についても記述します。
874 @unnumberedsubsubsec メトロノーム記号
875 @translationof Metronome marks
878 @cindex beats per minute (1 分間あたりの拍数)
879 @cindex metronome marking (メトロノーム記号)
880 @cindex metronome marking with text (テキストのメトロノーム記号)
885 基本的なメトロノーム記号は単純に以下のように記述します:
887 @lilypond[verbatim,quote,relative=1]
893 上記の代わりに、テキストのテンポ指示を用いることもできます:
895 @lilypond[verbatim,quote,relative=2]
901 メトロノーム記号とテキストを組み合わせると、メトロノーム記号は自動的に括弧で@c
904 @lilypond[verbatim,quote,relative=2]
905 \tempo "Allegro" 4 = 160
910 一般的に、テキストは任意のマークアップ オブジェクトになり得ます:
912 @lilypond[verbatim,quote,relative=2]
913 \tempo \markup { \italic Faster } 4 = 132
914 a8-. r8 b-. r gis-. r a-. r
917 テキストの指示無しにメトロノーム記号を括弧で囲むには、入力に空の文字列を@c
920 @lilypond[verbatim,quote,relative=2]
928 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
929 {printing-metronome-and-rehearsal-marks-below-the-staff.ly}
931 @c perhaps also an example of how to move it horizontally?
933 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
934 {changing-the-tempo-without-a-metronome-mark.ly}
936 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
937 {creating-metronome-marks-in-markup-mode.ly}
939 更なる詳細は、@ref{テキストをフォーマットする} を参照してください。
945 @rglos{metronomic indication},
946 @rglos{tempo indication},
947 @rglos{metronome mark}
954 @rlsr{Staff notation}
957 @rinternals{MetronomeMark}
961 @unnumberedsubsubsec 楽器名
962 @translationof Instrument names
964 @cindex instrument names (楽器名)
965 @cindex instrument names, short (短縮楽器名)
967 @code{Staff}, @code{PianoStaff}, @code{StaffGroup}, @code{GrandStaff}
968 それに @code{ChoirStaff} コンテキストの中にある譜の左側に、@c
970 @code{instrumentName} の値が最初の行の譜に対して使用され、@c
971 @code{shortInstrumentName} の値がそれに続くすべての@c
974 @lilypond[verbatim,quote,ragged-right,relative=1]
975 \set Staff.instrumentName = #"Violin "
976 \set Staff.shortInstrumentName = #"Vln "
982 マークアップ モードを用いて、より複雑な楽器名を作成することができます:
984 @lilypond[verbatim,quote,relative=2]
985 \set Staff.instrumentName = \markup {
986 \column { "Clarinetti"
987 \line { "in B" \smaller \flat } } }
991 @cindex instrument names, centering (楽器名を中央揃えする)
993 2 つ以上の譜コンテキストが一緒になってグループ化されている場合、@c
994 デフォルトでは楽器名と短縮楽器名は中央揃えされます。@c
995 複数行にわたる楽器名を中央揃えするには、@c
996 @code{\center-column} を用いる必要があります:
998 @lilypond[verbatim,quote,indent=1.5\cm,relative=2]
1001 \set Staff.instrumentName = #"Flute"
1005 \set Staff.instrumentName = \markup \center-column {
1007 \line { "in B" \smaller \flat }
1015 @funindex short-indent
1017 しかしながら、楽器名が長い場合、@code{indent} 設定と @code{short-indent}
1018 設定の値を増やさない限り、譜グループの中にある楽器名は中央揃えされません。@c
1019 これらの設定についての詳細は @ref{\paper variables for shifts and indents}
1022 @lilypond[verbatim,quote,ragged-right]
1025 short-indent = 1.5\cm
1030 \set Staff.instrumentName = #"Alto Flute in G"
1031 \set Staff.shortInstrumentName = #"Fl."
1036 \set Staff.instrumentName = #"Clarinet"
1037 \set Staff.shortInstrumentName = #"Clar."
1044 @cindex instrument names, adding to other contexts (楽器名を他のコンテキストに付け加える)
1046 楽器名を他のコンテキスト (@code{ChordNames} や @code{FiguredBass} など)
1048 そのコンテキストに @code{Instrument_name_engraver} を追加する必要があります。@c
1049 詳細は @ref{Modifying context plug-ins} を参照してください。
1051 @cindex instrument names, changing (楽器名を変更する)
1052 @cindex changing instrument names (楽器名を変更する)
1054 楽曲の途中で楽器名を変更することもできます。@c
1055 しかしながら、@code{instrumentName} は最初の行の譜にしか表示されないため、@c
1056 楽曲の途中では表示されないことを思い出してください:
1058 @lilypond[verbatim,quote,ragged-right,relative=1]
1059 \set Staff.instrumentName = #"First"
1060 \set Staff.shortInstrumentName = #"one"
1063 \set Staff.instrumentName = #"Second"
1064 \set Staff.shortInstrumentName = #"two"
1069 @cindex instrument switch (楽器を切り換える)
1070 @cindex switching instruments (楽器を切り換える)
1072 @funindex \addInstrumentDefinition
1073 @funindex addInstrumentDefinition
1074 @funindex \instrumentSwitch
1075 @funindex instrumentSwitch
1077 楽器の @emph{切り替え} が必要な場合、切り替えのために必要とされる@c
1078 変更の詳細なリストを作成するために、@code{\addInstrumentDefinition} を
1079 @code{\instrumentSwitch} と組み合わせて使用することがあります。@c
1080 @code{\addInstrumentDefinition} コマンドは 2 つの引数をとります:
1081 識別文字列と、楽器で使用されるコンテキスト プロパティと値の連想リストです。@c
1082 このコマンドは最上位のスコープに配置する必要があります。@c
1083 @code{\instrumentSwitch} は音楽表記の中で使用され、楽器の切り替えを宣言します:
1085 @lilypond[verbatim,quote,ragged-right]
1086 \addInstrumentDefinition #"contrabassoon"
1087 #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
1088 (shortInstrumentName . "Cbsn.")
1089 (clefGlyph . "clefs.F")
1090 (middleCPosition . 6)
1092 (instrumentCueName . ,(make-bold-markup "cbsn."))
1093 (midiInstrument . "bassoon"))
1096 instrumentName = #"Bassoon"
1100 \compressFullBarRests
1103 \instrumentSwitch "contrabassoon"
1112 @ref{\paper variables for shifts and indents},
1113 @ref{Modifying context plug-ins}
1116 @rlsr{Staff notation}
1119 @rinternals{InstrumentName},
1120 @rinternals{PianoStaff},
1125 @unnumberedsubsubsec 他のボイスを引用する
1126 @translationof Quoting other voices
1129 @cindex quoting other voices (他のボイスを引用する)
1131 @cindex fragments (楽譜の一部分)
1132 @cindex cue notes (演奏指示音符)
1136 @funindex \quoteDuring
1137 @funindex quoteDuring
1138 @funindex \transposition
1139 @funindex transposition
1141 あるボイスが他のボイスの音楽の一部を兼ねることはごく一般的なことです。@c
1142 例えば、第 1 バイオリンと第2バイオリンは、音楽のあるパッセージの間、@c
1143 同じ音符を演奏することがあるかもしれません。@c
1144 LilyPond では、あるボイスに他のボイスを @emph{引用} させることによって@c
1148 パートを引用するには、@code{\addQuote} コマンドを用いて引用する部分を@c
1150 このコマンドは最上位のスコープで使用しなければなりません。@c
1151 1 番目の引数は識別文字列であり、2 番目の引数は音楽表記です:
1154 flute = \relative c'' @{
1157 \addQuote "flute" @{ \flute @}
1160 @code{\quoteDuring} コマンドを用いて、引用を開始する位置を示します。@c
1161 このコマンドは 2 つの引数をとります:
1162 @code{\addQuote} で定義した引用するボイスの名前と、@c
1164 -- 通常、これは空白休符か複数小節にわたる休符 -- です。@c
1165 引用されるボイスの音楽から該当部分の音楽
1166 (アーティキュレーション、強弱記号、マークアップ等を含みます)
1169 @lilypond[verbatim,quote]
1170 flute = \relative c'' {
1171 a4 gis g->\f gis^\markup{quoted}
1173 \addQuote "flute" { \flute }
1176 c4 cis \quoteDuring #"flute" { s2 }
1180 @code{\quoteDuring} で使用される音楽表記に空白休符や複数小節休符以外のものが@c
1181 含まれている場合、多声部になります。@c
1182 これは望まない結果であることがしばしばあります:
1184 @lilypond[verbatim,quote]
1185 flute = \relative c'' {
1186 a4 gis g->\f gis^\markup{quoted}
1188 \addQuote "flute" { \flute }
1191 c4 cis \quoteDuring #"flute" { s2 }
1195 @code{\transposition} が使用される場合、@c
1196 引用機能はソースとターゲット両方の楽器の楽器移調設定を考慮します。@c
1197 @code{\transposition} についての詳細は @ref{楽器の移調} を@c
1200 @lilypond[verbatim,quote]
1201 clarinet = \relative c'' {
1205 \addQuote "clarinet" { \clarinet }
1208 c4 cis \quoteDuring #"clarinet" { s2 }
1213 引用部分をさまざまな形で処理することができます。@c
1214 この手法についての詳細は @ref{Using tags} を参照してください。
1216 @code{quotedEventTypes} プロパティを変更することで、@c
1217 オリジナル ボイスからどのオブジェクトを引用するか調節することもできます。@c
1218 デフォルトで、このプロパティの値は @code{#'(StreamEvent)} であり、@c
1220 例えば、この値を @code{#'(note-event rest-event tie-event)} に変更すると、@c
1221 LilyPond は音符、休符それにタイを引用し、@c
1222 アーティキュレーション、マーックアップあるいは強弱記号は引用しません。
1224 @lilypond[verbatim,quote]
1225 clarinet = \relative c'' {
1226 a4 gis g->\f gis^\markup{quoted}
1228 \addQuote "clarinet" { \clarinet }
1231 \set Score.quotedEventTypes = #'(note-event rest-event tie-event)
1232 c4 cis \quoteDuring #"clarinet" { s2 }
1238 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1239 {quoting-another-voice-with-transposition.ly}
1242 @cindex articulation-event
1243 @cindex dynamic-event
1246 @funindex quotedEventTypes
1247 @funindex quotedCueEventTypes
1249 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1250 {quoting-another-voice.ly}
1258 @rlsr{Staff notation}
1261 @rinternals{QuoteMusic},
1267 @code{\addQuote} 中にある最初の @code{Voice} の内容だけが引用されます。@c
1268 そのため、@code{@var{music}} には他の Voice に切り替わる @code{\new} や
1269 @code{\context Voice} を含めることはできません。
1271 装飾小音符を引用しようとしてもうまくいかず、@c
1272 LilyPond がクラッシュする可能性さえあります。
1274 ネストされた連符を引用しようとしてもうまくいきません。
1276 以前のバージョンの LilyPond (2.11 よりも前) では、@code{addQuote} はすべて@c
1277 小文字 -- @code{addquote} -- で記述されていました。
1281 @unnumberedsubsubsec 合図音符をフォーマットする
1282 @translationof Formatting cue notes
1285 @cindex cue notes (合図音符)
1286 @cindex cue notes, formatting (合図音符をフォーマットする)
1288 @cindex fragments (楽譜の一部分)
1289 @cindex quoting other voices (他のボイスを引用する)
1290 @cindex cues, formatting (合図をフォーマットする)
1292 @funindex \cueDuring
1294 @funindex \quoteDuring
1295 @funindex quoteDuring
1297 前のセクションでは、引用を作成する方法について説明しました。@c
1298 @code{\cueDuring} コマンドは @code{\quoteDuring} コマンドの@c
1299 より特殊な形であり、あるパートに合図音符を挿入する場合に有用です。@c
1303 \cueDuring #@var{partname} #@var{voice} @var{music}
1306 このコマンドは @code{@var{partname}} の該当する小節から音符と休符だけを
1307 @code{CueVoice} にコピーします。@c
1308 @code{CueVoice} は暗黙的に作成されて @code{@var{music}} と同時進行し、@c
1310 引数 @code{@var{voice}} は合図音符を第 1 ボイスとして記譜すべきか、@c
1311 第 2 ボイスとして記譜すべきかを決定します。@c
1312 @code{UP} は第 1 ボイスに相当し、@code{DOWN} は第 2 ボイスに相当します。
1314 @lilypond[verbatim,quote]
1315 oboe = \relative c'' {
1316 r2 r8 d16(\f f e g f a)
1319 \addQuote "oboe" { \oboe }
1321 \new Voice \relative c'' {
1322 \cueDuring #"oboe" #UP { R1 }
1328 上の例で、@code{Voice} コンテキストは明示的に宣言されている必要があります。@c
1329 さもなければ、音楽表記全体が @code{CueVoice} コンテキストに属してしまいます。
1331 @code{instrumentCueName} プロパティを設定することによって、@c
1332 @code{\cueDuring} で音楽のどの側面を引用するか調節することができます。@c
1333 このプロパティのデフォルト値は @code{#'(note-event rest-event
1334 tie-event beam-event tuplet-span-event)} であり、音符、休符、タイ、連桁@c
1335 それに連符だけが引用され、アーティキュレーション、強弱記号、マークアップ等は@c
1338 @lilypond[verbatim,quote]
1339 oboe = \relative c'' {
1340 r2 r8 d16(\f f e g f a)
1343 \addQuote "oboe" { \oboe }
1345 \new Voice \relative c'' {
1346 \set Score.quotedCueEventTypes = #'(note-event rest-event tie-event
1347 beam-event tuplet-span-event
1348 dynamic-event slur-event)
1349 \cueDuring #"oboe" #UP { R1 }
1354 マークアップを使用して引用される楽器の名前を表示することができます。@c
1355 また、合図音符が音部変更を必要とする場合、@c
1356 合図音符の終わりで元の音部に戻す必要があります。
1358 @lilypond[verbatim,quote]
1359 flute = \relative c'' {
1360 r2. c4 d8 c d e fis2 g2 d2
1362 bassoon = \relative c {
1366 s1*0^\markup { \tiny "flute" }
1367 \cueDuring #"flute" #UP { R1 }
1371 \addQuote "flute" { \flute }
1377 @cindex removing cues (合図を削除する)
1378 @cindex removing cue notes (合図音符を削除する)
1379 @cindex cue notes, removing (合図音符を削除する)
1384 @code{\killCues} コマンドは音楽表記から合図音符を削除します。@c
1385 これにより、同じ音楽表記を使って合図を持つ楽器パートと総譜を作り出すことが@c
1387 @code{\killCues} コマンドは @code{\cueDuring} によって引用された@c
1390 -- 音部変更と引用元の楽器を識別するラベルなど --
1391 にはタグを付けて総譜に含めるかどうかを選択することができます。@c
1392 @ref{Using tags} を参照してください。
1394 @lilypond[verbatim,quote]
1395 flute = \relative c'' {
1396 r2. c4 d8 c d e fis2 g2 d2
1398 bassoon = \relative c {
1403 s1*0^\markup { \tiny "flute" }
1405 \cueDuring #"flute" #UP { R1 }
1406 \tag #'part \clef bass
1409 \addQuote "flute" { \flute }
1419 \removeWithTag #'part { \killCues { \bassoon } }
1424 あるいはまた、音部変更や楽器ラベルを再利用するために、@c
1425 @code{\addInstrumentDefinition} を用いて楽器の定義に含めることができます。@c
1426 @code{\addInstrumentDefinition} についての説明は
1427 @ref{楽器名} を参照してください。
1429 @funindex \transposedCueDuring
1430 @funindex transposedCueDuring
1432 @code{\quoteDuring} と同様に、@code{\cueDuring} は楽器の移調を考慮します。@c
1433 合図音符は、合図を受け取る楽器のピッチで作り出されます。
1435 合図音符を移調させるには @code{\transposedCueDuring} を使用します。@c
1436 このコマンドはコンサート ミドル C の音を表すピッチを (絶対モードで) 指定する@c
1439 @lilypond[verbatim,quote]
1440 piccolo = \relative c''' {
1446 bassClarinet = \relative c' {
1450 \transposedCueDuring #"piccolo" #UP d { R1 }
1454 \addQuote "piccolo" { \piccolo }
1458 \new Staff \bassClarinet
1462 @cindex notes, smaller
1463 @cindex smaller notes
1466 @code{CueVoice} コンテキストを明示的に作成することがあります。@c
1467 例えば、本来の演奏とは異なる音符列をオリジナル ボイスの上または下に@c
1470 @lilypond[verbatim,relative=2]
1493 @rlsr{Staff notation}
1496 @rinternals{CueVoice},
1502 @code{\cueDuring} を使用した場合、@code{Voice} コンテキストと @code{CueVoice}
1503 コンテキストの間で休符の衝突が発生する可能性があります。