]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/staff.itely
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / ja / notation / staff.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2 @ignore
3     Translation of GIT committish: 7cd8c1d1e389edc26c26b7eba8358578329f5881
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  See TRANSLATION for details.
7 @end ignore
8
9 @c \version "2.14.0"
10
11
12 @c Translators: Yoshiki Sawada
13 @c Translation status: post-GDP
14
15
16 @node 譜の記譜法
17 @section 譜の記譜法
18 @translationof Staff notation
19
20 @lilypondfile[quote]{staff-headword.ly}
21
22 このセクションでは、譜の見た目を変える方法、複数の譜を持つ楽譜を譜刻する方法、@c
23 それに、テンポ指示と演奏指示楽節の音符を譜に付け加える方法について説明します。
24
25 @menu
26 * 譜を表示する::
27 * 個々の譜を変更する::
28 * パートを記述する::
29 @end menu
30
31
32 @node 譜を表示する
33 @subsection 譜を表示する
34 @translationof Displaying staves
35
36 このセクションでは、譜を作成する方法と、@c
37 譜をグループ化する方法をいくつか説明します。
38
39 @menu
40 * 新たに譜をインスタンス化する::
41 * 譜をグループ化する::
42 * ネストされた譜グループ::
43 * Separating systems::
44 @end menu
45
46
47 @node 新たに譜をインスタンス化する
48 @unnumberedsubsubsec 新たに譜をインスタンス化する
49 @translationof Instantiating new staves
50
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  (タブ譜)
64
65 @funindex \drummode
66 @funindex drummode
67 @funindex DrumStaff
68 @funindex RhythmicStaff
69 @funindex TabStaff
70 @funindex MensuralStaff
71 @funindex VaticanaStaff
72 @funindex GregorianTranscriptionStaff
73
74 @notation{stave: 譜} (@notation{staff}: 譜 (表) の単称) は
75 @code{\new} コマンドや @code{\context} コマンドで作成されます。@c
76 詳細は @ref{Creating contexts} を参照してください。
77
78 基本的な譜コンテキストは @code{Staff} です:
79
80 @lilypond[verbatim,quote,relative=2]
81 \new Staff { c4 d e f }
82 @end lilypond
83
84 @code{DrumStaff} コンテキストは、一般的なドラム セットのための 5 線譜を@c
85 作成します。@c
86 各楽器は異なるシンボルで示されます。@c
87 @code{\drummode} コマンドの後に続けて、楽器をドラム モードで入力します。@c
88 各楽器は名前によって指定されます。@c
89 詳細は @ref{Percussion staves} を参照してください。
90
91 @lilypond[verbatim,quote]
92 \new DrumStaff {
93   \drummode { cymc hh ss tomh }
94 }
95 @end lilypond
96
97 @code{RhythmicStaff} は、入力のリズム価だけを表示する単線譜を作成します。@c
98 (ピッチは無視されますが) 演奏時間が保持されます。@c
99 詳細は @ref{旋律のリズムを示す} を参照してください。
100
101 @lilypond[verbatim,quote,relative=2]
102 \new RhythmicStaff { c4 d e f }
103 @end lilypond
104
105 @code{TabStaff} は、標準のギター チューニングの 6 弦のタブ譜を作成します。@c
106 詳細は @ref{Default tablatures} を参照してください。
107
108 @lilypond[verbatim,quote,relative=2]
109 \new TabStaff { c4 d e f }
110 @end lilypond
111
112 古代音楽の記譜法のために 2 つの譜コンテキストが用意されています:
113 @code{MensuralStaff} と @code{VaticanaStaff} です。@c
114 これらのことは @ref{Pre-defined contexts} で説明されています。
115
116 @code{GregorianTranscriptionStaff} コンテキストは、@c
117 現代グレゴリア聖歌を記譜するための譜を作成します。@c
118 これは小節線を譜刻しません。
119
120 @lilypond[verbatim,quote,relative=2]
121 \new GregorianTranscriptionStaff { c4 d e f e d }
122 @end lilypond
123
124 新たに単一譜コンテキストを定義する場合があります。@c
125 詳細は @ref{Defining new contexts} を参照してください。
126
127
128 @seealso
129 音楽用語集:
130 @rglos{staff},
131 @rglos{staves}
132
133 記譜法リファレンス:
134 @ref{Creating contexts},
135 @ref{Percussion staves},
136 @ref{旋律のリズムを示す},
137 @ref{Default tablatures},
138 @ref{Pre-defined contexts},
139 @ref{譜シンボル},
140 @ref{Gregorian chant contexts},
141 @ref{Mensural contexts},
142 @ref{Defining new contexts}
143
144 コード断片集:
145 @rlsr{Staff notation}
146
147 内部リファレンス:
148 @rinternals{Staff},
149 @rinternals{DrumStaff},
150 @rinternals{GregorianTranscriptionStaff},
151 @rinternals{RhythmicStaff},
152 @rinternals{TabStaff},
153 @rinternals{MensuralStaff},
154 @rinternals{VaticanaStaff},
155 @rinternals{StaffSymbol}
156
157
158 @node 譜をグループ化する
159 @unnumberedsubsubsec 譜をグループ化する
160 @translationof Grouping staves
161
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 (システム)
176
177 複数の譜からなるシステムを形成するために譜をグループ化する@c
178 さまざまなコンテキストが存在します。@c
179 グループ化を行うコンテキストはそれぞれにシステム開始境界線のスタイルと@c
180 小節線の振る舞いを設定します。
181
182 コンテキストが指定されていない場合、デフォルトのプロパティが使用されます:
183 グループは垂直の線で始まり、小節線はつながりません。
184
185 @lilypond[verbatim,quote,relative=2]
186 <<
187   \new Staff { c1 c }
188   \new Staff { c1 c }
189 >>
190 @end lilypond
191
192 @code{StaffGroup} コンテキストでは、グループは角括弧で始まり、@c
193 小節線はすべての譜を貫いて刻譜されます。
194
195 @lilypond[verbatim,quote,relative=2]
196 \new StaffGroup <<
197   \new Staff { c1 c }
198   \new Staff { c1 c }
199 >>
200 @end lilypond
201
202 @code{ChoirStaff} では、グループは角括弧で始まりますが、小節線はつながりません。
203
204 @lilypond[verbatim,quote,relative=2]
205 \new ChoirStaff <<
206   \new Staff { c1 c }
207   \new Staff { c1 c }
208 >>
209 @end lilypond
210
211 @code{GrandStaff} では、グループは波括弧で始まり、小節線はすべての譜を貫きます。
212
213 @lilypond[verbatim,quote,relative=2]
214 \new GrandStaff <<
215   \new Staff { c1 c }
216   \new Staff { c1 c }
217 >>
218 @end lilypond
219
220 @code{PianoStaff} は @code{GrandStaff} と同一ですが、@c
221 例外として楽器名を刻譜することができます。@c
222 詳細は @ref{楽器名} を参照してください。
223
224 @lilypond[verbatim,quote,relative=2]
225 \new PianoStaff <<
226   \set PianoStaff.instrumentName = #"Piano"
227   \new Staff { c1 c }
228   \new Staff { c1 c }
229 >>
230 @end lilypond
231
232 各譜グループ化コンテキストはプロパティ @code{systemStartDelimiter} を@c
233 以下の値の 1 つにセットします:
234 @code{SystemStartBar}, @code{SystemStartBrace} あるいは
235 @code{SystemStartBracket}。@c
236 4 つ目の境界線 -- @code{SystemStartSquare} も利用可能ですが、@c
237 これは明示的に指定する必要があります。
238
239 新たな譜グループ化コンテキストを定義することもできます。@c
240 詳細は @ref{Defining new contexts} を参照してください。
241
242
243 @snippets
244
245 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
246 {use-square-bracket-at-the-start-of-a-staff-group.ly}
247
248 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
249 {display-bracket-with-only-one-staff-in-a-system.ly}
250
251 @c 未訳
252 @cindex mensurstriche layout
253 @cindex renaissance music)
254 @cindex transcription of mensural music
255 @cindex mensural music, transcription of
256
257 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
258 {mensurstriche-layout-bar-lines-between-the-staves.ly}
259
260
261 @seealso
262 音楽用語集:
263 @rglos{brace},
264 @rglos{bracket},
265 @rglos{grand staff}
266
267 記譜法リファレンス:
268 @ref{楽器名},
269 @ref{Defining new contexts}
270
271 コード断片集:
272 @rlsr{Staff notation}
273
274 内部リファレンス:
275 @rinternals{Staff},
276 @rinternals{StaffGroup},
277 @rinternals{ChoirStaff},
278 @rinternals{GrandStaff},
279 @rinternals{PianoStaff},
280 @rinternals{SystemStartBar},
281 @rinternals{SystemStartBrace},
282 @rinternals{SystemStartBracket},
283 @rinternals{SystemStartSquare}
284
285 @knownissues
286 デフォルトでは @code{PianoStaff} は @code{ChordNames} を受け付けません。
287
288
289 @node ネストされた譜グループ
290 @unnumberedsubsubsec ネストされた譜グループ
291 @translationof Nested staff groups
292
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 (波括弧をネストする)
300
301 譜グループ化コンテキストは任意の深さにネストすることができます。@c
302 そうした場合、それぞれの子コンテキストは、@c
303 親グループの角括弧に隣接して新しい角括弧を作成します。
304
305 @lilypond[verbatim,quote,relative=2]@lilypond[verbatim,quote,relative=2]
306 \new StaffGroup <<
307   \new Staff { c2 c | c2 c }
308   \new StaffGroup <<
309     \new Staff { g2 g | g2 g }
310     \new StaffGroup \with {
311       systemStartDelimiter = #'SystemStartSquare
312     }
313     <<
314       \new Staff { e2 e | e2 e }
315       \new Staff { c2 c | c2 c }
316     >>
317   >>
318 >>
319 @end lilypond
320
321 新たにネストされた譜グループ化コンテキストを定義することができます。@c
322 詳細は @ref{Defining new contexts} を参照してください。
323
324
325 @snippets
326
327 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
328 {nesting-staves.ly}
329
330
331 @seealso
332 記譜法リファレンス:
333 @ref{譜をグループ化する},
334 @ref{楽器名},
335 @ref{Defining new contexts}
336
337 コード断片集:
338 @rlsr{Staff notation}
339
340 内部リファレンス:
341 @rinternals{StaffGroup},
342 @rinternals{ChoirStaff},
343 @rinternals{SystemStartBar},
344 @rinternals{SystemStartBrace},
345 @rinternals{SystemStartBracket},
346 @rinternals{SystemStartSquare}
347
348 @c 未訳
349 @node Separating systems
350 @unnumberedsubsubsec Separating systems
351
352 @cindex system separator mark
353
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.
358
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]
362 \book {
363   \score {
364     \new StaffGroup <<
365       \new Staff {
366         \relative c'' {
367           c4 c c c
368           \break
369           c4 c c c
370         }
371       }
372       \new Staff {
373         \relative c'' {
374           c4 c c c
375           \break
376           c4 c c c
377         }
378       }
379     >>
380   }
381   \paper {
382     system-separator-markup = \slashSeparator
383     % following commands are needed only to format this documentation
384     paper-width = 100\mm
385     paper-height = 100\mm
386     tagline = ##f
387   }
388 }
389 @end lilypond
390
391 @seealso
392 Notation Reference:
393 @ref{Page layout}.
394
395 Snippets:
396 @rlsr{Staff notation}.
397
398
399 @node 個々の譜を変更する
400 @subsection 個々の譜を変更する
401 @translationof Modifying single staves
402
403 このセクションでは、譜の属性を変更する方法について説明します:
404 例えば、譜線の本数や譜サイズを変更します。@c
405 譜を開始/終了する方法とオッシア セクションをセットする方法についても記述します。
406
407 @menu
408 * 譜シンボル::
409 * オッシア譜::
410 * 譜を隠す::
411 @end menu
412
413
414 @node 譜シンボル
415 @unnumberedsubsubsec 譜シンボル
416 @translationof Staff symbol
417
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 (譜線の本数)
433
434 譜の線は @code{StaffSymbol} グラフィカル オブジェクトに属します。@c
435 @code{StaffSymbol} プロパティを変更して、譜の見た目を変えることができます。@c
436 しかしながら、変更は譜を作成する前に行う必要があります。
437
438 譜線の本数を変えることもできます。音部記号の位置とミドル C の位置を、@c
439 新しい譜にフィットさせるために、変更する必要があるかもしれません。@c
440 具体例は、@ref{音部記号} にあるコード断片集セクションを参照してください。
441
442 @lilypond[verbatim,quote,relative=2]
443 \new Staff \with {
444   \override StaffSymbol #'line-count = #3
445 }
446 { d4 d d d }
447 @end lilypond
448
449 譜線の太さを変えることができます。加線 (訳者注: ledger line, 譜の上下に@c
450 突き出た符頭と符幹に付けられる短い譜線) と符幹の太さも影響を受けます。@c
451 なぜなら、それらの太さは譜線の太さに基づいているからです。
452
453 @lilypond[verbatim,quote,relative=1]
454 \new Staff \with {
455   \override StaffSymbol #'thickness = #3
456 }
457 { e4 d c b }
458 @end lilypond
459
460 加線の太さを譜線の太さから独立して設定することができます。@c
461 以下の例では、2 つの数は譜線の太さと譜線の間隔に掛けられる因子です。@c
462 2 つを足し合わせて加線の太さになります。
463
464 @lilypond[verbatim,quote,relative=1]
465 \new Staff \with {
466   \override StaffSymbol #'ledger-line-thickness = #'(1 . 0.2)
467 }
468 { e4 d c b }
469 @end lilypond
470
471 譜線の間隔を変えることができます。この設定は加線の間隔にも影響を与えます。
472
473 @lilypond[verbatim,quote,relative=1]
474 \new Staff \with {
475   \override StaffSymbol #'staff-space = #1.5
476 }
477 { a4 b c d }
478 @end lilypond
479
480 @code{StaffSymbol} のプロパティについて更に詳細な説明が
481 @rinternals{staff-symbol-interface} に記述されています。
482
483 @cindex stopping a staff (譜の停止)
484 @cindex starting a staff (譜の開始)
485 @cindex staff, starting (譜の開始)
486 @cindex staff, stopping (譜の停止)
487
488 @funindex \startStaff
489 @funindex startStaff
490 @funindex \stopStaff
491 @funindex stopStaff
492
493 楽譜の途中で譜プロパティに変更を加えるには、@c
494 @code{\stopStaff} と @code{\startStaff} の間で行います。
495
496 @lilypond[verbatim,quote,relative=2]
497 c2 c
498 \stopStaff
499 \override Staff.StaffSymbol #'line-count = #2
500 \startStaff
501 b2 b
502 \stopStaff
503 \revert Staff.StaffSymbol #'line-count
504 \startStaff
505 a2 a
506 @end lilypond
507
508 @noindent
509 一般的に言うと、@code{\stopStaff} と @code{\startStaff} を用いることで、@c
510 楽譜の途中で譜を停止あるいは再開することができます。
511
512 @lilypond[verbatim,quote,relative=2]
513 c4 b a2
514 \stopStaff
515 b4 c d2
516 \startStaff
517 e4 d c2
518 @end lilypond
519
520
521 @predefined
522 @code{\startStaff},
523 @code{\stopStaff}
524 @endpredefined
525
526
527 @snippets
528
529 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
530 {making-some-staff-lines-thicker-than-the-others.ly}
531
532
533 @seealso
534 音楽用語集:
535 @rglos{line},
536 @rglos{ledger line},
537 @rglos{staff}
538
539 記譜法リファレンス:
540 @ref{音部記号}
541
542 コード断片集:
543 @rlsr{Staff notation}
544
545 内部リファレンス:
546 @rinternals{StaffSymbol},
547 @rinternals{staff-symbol-interface}
548
549
550 @node オッシア譜
551 @unnumberedsubsubsec オッシア譜
552 @translationof Ossia staves
553
554 @c 未訳
555 @cindex staff, Frenched
556 @cindex ossia (オッシア)
557 @c 未訳
558 @cindex Frenched staves
559 @cindex staff, resizing of (譜をリサイズする)
560 @cindex resizing of staves (譜をリサイズする)
561
562 @funindex \startStaff
563 @funindex startStaff
564 @funindex \stopStaff
565 @funindex stopStaff
566
567 適切な位置で新しく同時進行の譜を作成することによって、@c
568 @notation{オッシア} 譜をセットすることができます:
569
570 @lilypond[verbatim,quote]
571 \new Staff \relative c'' {
572   c4 b d c
573   <<
574     { c4 b d c }
575     \new Staff { e4 d f e }
576   >>
577   c4 b c2
578 }
579 @end lilypond
580
581 @noindent
582 しかしながら、上の例は通常は望ましいものではありません。@c
583 オリジナルの譜の上にあり、拍子記号や音部記号を持たず、@c
584 小さなサイズのフォントを使用するオッシア譜を作成するには調整が必要です。@c
585 学習マニュアルの @rlearning{音楽表記をネストする} に望ましいオッシア譜を@c
586 作成するための方法が記述されています。
587
588 以下の例は、オッシア譜をオリジナルの譜の上に配置するために
589 @code{alignAboveContext} プロパティを用いています。@c
590 この手法は、2, 3 のオッシア譜が必要とされているだけである場合であれば、@c
591 最も適切な方法です。
592
593 @lilypond[verbatim,quote]
594 \new Staff = main \relative c'' {
595   c4 b d c
596   <<
597     { c4 b d c }
598
599     \new Staff \with {
600       \remove "Time_signature_engraver"
601       alignAboveContext = #"main"
602       fontSize = #-3
603       \override StaffSymbol #'staff-space = #(magstep -3)
604       \override StaffSymbol #'thickness = #(magstep -3)
605       firstClef = ##f
606     }
607     { e4 d f e }
608   >>
609   c4 b c2
610 }
611 @end lilypond
612
613 多くの別個のオッシア譜が必要である場合、@c
614 ある特有の @emph{コンテキスト ID} を持つ空の @code{Staff} コンテキストを@c
615 作成する方が適切かもしれません:
616 このコンテキストを @emph{呼び出し}、@c
617 オッシア譜が必要とされる場所で @code{\startStaff} と @code{\stopStaff}
618 を用いることでオッシア譜が作成されます。@c
619 この手法の利点は、以下の例よりも長い楽曲であれば、明らかです。
620
621 @lilypond[verbatim,quote,ragged-right]
622 <<
623   \new Staff = ossia \with {
624     \remove "Time_signature_engraver"
625     \override Clef #'transparent = ##t
626     fontSize = #-3
627     \override StaffSymbol #'staff-space = #(magstep -3)
628     \override StaffSymbol #'thickness = #(magstep -3)
629   }
630   { \stopStaff s1*6 }
631
632   \new Staff \relative c' {
633     c4 b c2
634     <<
635       { e4 f e2 }
636       \context Staff = ossia {
637         \startStaff e4 g8 f e2 \stopStaff
638       }
639     >>
640     g4 a g2 \break
641     c4 b c2
642     <<
643       { g4 a g2 }
644       \context Staff = ossia {
645         \startStaff g4 e8 f g2 \stopStaff
646       }
647     >>
648     e4 d c2
649   }
650 >>
651 @end lilypond
652
653 オッシア譜を作成するための代替手段として、@c
654 @code{\RemoveEmptyStaffContext} コマンドが用いられるかもしれません。@c
655 この手法は、オッシア譜が改行の直後に発生する場合、最も便利な手法です。@c
656 @c そのようなケースでは、空白休符を使用する必要はまったくありません:
657 @c @code{\startStaff} と @code{\stopStaff} が必要であるだけです。@c
658 @code{\RemoveEmptyStaffContext} についての更なる情報は、@c
659 @ref{譜を隠す} を参照してください。
660
661 @lilypond[verbatim,quote,ragged-right]
662 <<
663   \new Staff = ossia \with {
664     \remove "Time_signature_engraver"
665     \override Clef #'transparent = ##t
666     fontSize = #-3
667     \override StaffSymbol #'staff-space = #(magstep -3)
668     \override StaffSymbol #'thickness = #(magstep -3)
669   } \relative c'' {
670     R1*3
671     c4 e8 d c2
672   }
673   \new Staff \relative c' {
674     c4 b c2
675     e4 f e2
676     g4 a g2 \break
677     c4 b c2
678     g4 a g2
679     e4 d c2
680   }
681 >>
682
683 \layout {
684   \context {
685     \Staff \RemoveEmptyStaves
686     \override VerticalAxisGroup #'remove-first = ##t
687   }
688 }
689 @end lilypond
690
691
692 @snippets
693
694 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
695 {vertically-aligning-ossias-and-lyrics.ly}
696
697
698 @seealso
699 音楽用語集:
700 @rglos{ossia},
701 @rglos{staff},
702 @rglos{Frenched staff}
703
704 学習マニュアル:
705 @rlearning{音楽表記をネストする},
706 @rlearning{オブジェクトのサイズ},
707 @rlearning{オブジェクトの長さと太さ}
708
709 記譜法リファレンス:
710 @ref{譜を隠す}
711
712 コード断片集:
713 @rlsr{Staff notation}
714
715 内部リファレンス:
716 @rinternals{StaffSymbol}
717
718
719 @node 譜を隠す
720 @unnumberedsubsubsec 譜を隠す
721 @translationof Hiding staves
722
723 @c 未訳
724 @cindex Frenched score
725 @c 未訳
726 @cindex Frenched staff
727 @cindex staff, hiding (譜を隠す)
728 @cindex staff, empty (空の譜)
729 @cindex hiding of staves (譜を隠す)
730 @cindex empty staves (空の譜)
731
732 @funindex \RemoveEmptyStaves
733 @funindex Staff_symbol_engraver
734 @funindex \stopStaff
735 @funindex stopStaff
736
737 @code{Staff} コンテキストから @code{Staff_symbol_engraver} を@c
738 削除することによって、譜線を隠すことができます。@c
739 そうする代わりに、@code{\stopStaff} を用いることもできます。
740
741 @lilypond[verbatim,quote]
742 \new Staff \with {
743   \remove "Staff_symbol_engraver"
744 }
745 \relative c''' { a8 f e16 d c b a2 }
746 @end lilypond
747
748 @c 未訳: Frenched Score
749 @code{\layout} ブロックの中で
750 @code{\RemoveEmptyStaffContext} コマンドをセットすることによって、@c
751 空の譜を隠すことができます。@c
752 オーケストラ譜では、@c
753 このようなスタイルの譜は @q{Frenched Score} として知られています。@c
754 デフォルトでは、このコマンドは@c
755 最初のシステム以外のところにあるすべての空の譜を隠して、削除します。
756
757 @warning{譜が空であると見なされるのは、@c
758 それが複数小節にわたる休符、休符、スキップ、空白休符、@c
759 あるいはそれらの要素の組み合わせだけで構成されている場合です。}
760
761 @lilypond[verbatim,quote,ragged-right]
762 \layout {
763   \context {
764     \Staff \RemoveEmptyStaves
765   }
766 }
767
768 \relative c' <<
769   \new Staff {
770     e4 f g a \break
771     b1 \break
772     a4 b c2
773   }
774   \new Staff {
775     c,4 d e f \break
776     R1 \break
777     f4 g c,2
778   }
779 >>
780 @end lilypond
781
782 @cindex ossia (オッシア)
783
784 @noindent
785 譜に対してオッシア セクションを作成するために、@c
786 @code{\RemoveEmptyStaffContext} を用いることもできます。@c
787 詳細は @ref{オッシア譜} を参照してください。
788
789 @cindex hiding ancient staves (古代譜を隠す)
790 @cindex hiding rhythmic staves (リズム譜を隠す)
791
792 @funindex \RemoveEmptyStaves
793
794 古代音楽コンテキストの中にある空の譜を隠すために、@c
795 @code{\VaticanaStaff \RemoveEmptyStaves} コマンドが用いられることがあります。@c
796 同様に、空の @code{RhythmicStaff} コンテキストを隠すために、@c
797 @code{\RhythmicStaff \RemoveEmptyStaves} が用いられることがあります。
798
799
800 @predefined
801 @code{\Staff \RemoveEmptyStaves},
802 @code{\VaticanaStaff \RemoveEmptyStaves},
803 @code{\RhythmicStaff \RemoveEmptyStaves}
804 @endpredefined
805
806
807 @snippets
808
809 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
810 {removing-the-first-empty-line.ly}
811
812
813 @seealso
814 音楽用語集:
815 @rglos{Frenched staff}
816
817 学習マニュアル:
818 @rlearning{オブジェクトの可視性と色}
819
820 記譜法リファレンス:
821 @ref{Changing context default settings},
822 @ref{譜シンボル},
823 @ref{オッシア譜}
824 @ref{Hidden notes},
825 @ref{不可視の休符},
826 @ref{Visibility of objects}
827
828 コード断片集:
829 @rlsr{Staff notation}
830
831 内部リファレンス:
832 @rinternals{ChordNames},
833 @rinternals{FiguredBass},
834 @rinternals{Lyrics},
835 @rinternals{Staff},
836 @rinternals{VerticalAxisGroup},
837 @rinternals{Staff_symbol_engraver}
838
839
840 @knownissues
841
842 @code{Staff_symbol_engraver} を削除すると、小節線も隠されます。@c
843 小節線が強制的に可視になるよう設定されている場合、@c
844 フォーマット エラーが発生するかもしれません。@c
845 そのような場合は、エングラーバを削除する代わりに、@c
846 以下のオーバライドを使用してください:
847
848 @example
849 \override StaffSymbol #'stencil = ##f
850 \override NoteHead #'no-ledgers = ##t
851 @end example
852
853 @code{\Staff \RemoveEmptyStaves} に関連する既知の問題と警告は
854 @ref{Changing context default settings} を参照してください。
855
856
857 @node パートを記述する
858 @subsection パートを記述する
859 @translationof Writing parts
860
861 このセクションでは、テンポ指示と楽器名を楽譜に挿入する方法について説明します。@c
862 他のボイスを引用する方法と、演奏指示音符を譜刻する方法についても記述します。
863
864 @menu
865 @c * メトロノーム記号::
866 * 楽器名::
867 * 他のボイスを引用する::
868 * 合図音符をフォーマットする::
869 @end menu
870
871
872 @ignore
873 @node メトロノーム記号
874 @unnumberedsubsubsec メトロノーム記号
875 @translationof Metronome marks
876
877 @cindex tempo (テンポ)
878 @cindex beats per minute (1 分間あたりの拍数)
879 @cindex metronome marking (メトロノーム記号)
880 @cindex metronome marking with text (テキストのメトロノーム記号)
881
882 @funindex \tempo
883 @funindex tempo
884
885 基本的なメトロノーム記号は単純に以下のように記述します:
886
887 @lilypond[verbatim,quote,relative=1]
888 \tempo 4 = 120
889 c2 d
890 e4. d8 c2
891 @end lilypond
892
893 上記の代わりに、テキストのテンポ指示を用いることもできます:
894
895 @lilypond[verbatim,quote,relative=2]
896 \tempo "Allegretto"
897 c4 e d c
898 b4. a16 b c4 r4
899 @end lilypond
900
901 メトロノーム記号とテキストを組み合わせると、メトロノーム記号は自動的に括弧で@c
902 囲まれます:
903
904 @lilypond[verbatim,quote,relative=2]
905 \tempo "Allegro" 4 = 160
906 g4 c d e
907 d4 b g2
908 @end lilypond
909
910 一般的に、テキストは任意のマークアップ オブジェクトになり得ます:
911
912 @lilypond[verbatim,quote,relative=2]
913 \tempo \markup { \italic Faster } 4 = 132
914 a8-. r8 b-. r gis-. r a-. r
915 @end lilypond
916
917 テキストの指示無しにメトロノーム記号を括弧で囲むには、入力に空の文字列を@c
918 含めます:
919
920 @lilypond[verbatim,quote,relative=2]
921 \tempo "" 8 = 96
922 d4 g e c
923 @end lilypond
924
925
926 @snippets
927
928 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
929 {printing-metronome-and-rehearsal-marks-below-the-staff.ly}
930
931 @c perhaps also an example of how to move it horizontally?
932
933 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
934 {changing-the-tempo-without-a-metronome-mark.ly}
935
936 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
937 {creating-metronome-marks-in-markup-mode.ly}
938
939 更なる詳細は、@ref{テキストをフォーマットする} を参照してください。
940
941
942 @seealso
943 音楽用語集:
944 @rglos{metronome},
945 @rglos{metronomic indication},
946 @rglos{tempo indication},
947 @rglos{metronome mark}
948
949 記譜法リファレンス:
950 @ref{テキストをフォーマットする},
951 @ref{MIDI 出力}
952
953 コード断片集:
954 @rlsr{Staff notation}
955
956 内部リファレンス:
957 @rinternals{MetronomeMark}
958 @end ignore
959
960 @node 楽器名
961 @unnumberedsubsubsec 楽器名
962 @translationof Instrument names
963
964 @cindex instrument names (楽器名)
965 @cindex instrument names, short (短縮楽器名)
966
967 @code{Staff}, @code{PianoStaff}, @code{StaffGroup}, @code{GrandStaff}
968 それに @code{ChoirStaff} コンテキストの中にある譜の左側に、@c
969 楽器名を譜刻することができます。@c
970 @code{instrumentName} の値が最初の行の譜に対して使用され、@c
971 @code{shortInstrumentName} の値がそれに続くすべての@c
972 行の譜に対して使用されます。
973
974 @lilypond[verbatim,quote,ragged-right,relative=1]
975 \set Staff.instrumentName = #"Violin "
976 \set Staff.shortInstrumentName = #"Vln "
977 c4.. g'16 c4.. g'16
978 \break
979 c1
980 @end lilypond
981
982 マークアップ モードを用いて、より複雑な楽器名を作成することができます:
983
984 @lilypond[verbatim,quote,relative=2]
985 \set Staff.instrumentName = \markup {
986   \column { "Clarinetti"
987             \line { "in B" \smaller \flat } } }
988 c4 c,16 d e f g2
989 @end lilypond
990
991 @cindex instrument names, centering (楽器名を中央揃えする)
992
993 2 つ以上の譜コンテキストが一緒になってグループ化されている場合、@c
994 デフォルトでは楽器名と短縮楽器名は中央揃えされます。@c
995 複数行にわたる楽器名を中央揃えするには、@c
996 @code{\center-column} を用いる必要があります:
997
998 @lilypond[verbatim,quote,indent=1.5\cm,relative=2]
999 <<
1000   \new Staff {
1001     \set Staff.instrumentName = #"Flute"
1002     f2 g4 f
1003   }
1004   \new Staff {
1005     \set Staff.instrumentName = \markup \center-column {
1006       Clarinet
1007       \line { "in B" \smaller \flat }
1008     }
1009     c4 b c2
1010   }
1011 >>
1012 @end lilypond
1013
1014 @funindex indent
1015 @funindex short-indent
1016
1017 しかしながら、楽器名が長い場合、@code{indent} 設定と @code{short-indent}
1018 設定の値を増やさない限り、譜グループの中にある楽器名は中央揃えされません。@c
1019 これらの設定についての詳細は @ref{\paper variables for shifts and indents}
1020 を参照してください。
1021
1022 @lilypond[verbatim,quote,ragged-right]
1023 \layout {
1024   indent = 3.0\cm
1025   short-indent = 1.5\cm
1026 }
1027
1028 \relative c'' <<
1029   \new Staff {
1030     \set Staff.instrumentName = #"Alto Flute in G"
1031     \set Staff.shortInstrumentName = #"Fl."
1032     f2 g4 f \break
1033     g4 f g2
1034   }
1035   \new Staff {
1036     \set Staff.instrumentName = #"Clarinet"
1037     \set Staff.shortInstrumentName = #"Clar."
1038     c,4 b c2 \break
1039     c2 b4 c
1040   }
1041 >>
1042 @end lilypond
1043
1044 @cindex instrument names, adding to other contexts (楽器名を他のコンテキストに付け加える)
1045
1046 楽器名を他のコンテキスト (@code{ChordNames} や @code{FiguredBass} など)
1047 に付け加えるには、
1048 そのコンテキストに @code{Instrument_name_engraver} を追加する必要があります。@c
1049 詳細は @ref{Modifying context plug-ins} を参照してください。
1050
1051 @cindex instrument names, changing (楽器名を変更する)
1052 @cindex changing instrument names (楽器名を変更する)
1053
1054 楽曲の途中で楽器名を変更することもできます。@c
1055 しかしながら、@code{instrumentName} は最初の行の譜にしか表示されないため、@c
1056 楽曲の途中では表示されないことを思い出してください:
1057
1058 @lilypond[verbatim,quote,ragged-right,relative=1]
1059 \set Staff.instrumentName = #"First"
1060 \set Staff.shortInstrumentName = #"one"
1061 c1 c c c \break
1062 c1 c c c \break
1063 \set Staff.instrumentName = #"Second"
1064 \set Staff.shortInstrumentName = #"two"
1065 c1 c c c \break
1066 c1 c c c \break
1067 @end lilypond
1068
1069 @cindex instrument switch (楽器を切り換える)
1070 @cindex switching instruments (楽器を切り換える)
1071
1072 @funindex \addInstrumentDefinition
1073 @funindex addInstrumentDefinition
1074 @funindex \instrumentSwitch
1075 @funindex instrumentSwitch
1076
1077 楽器の @emph{切り替え} が必要な場合、切り替えのために必要とされる@c
1078 変更の詳細なリストを作成するために、@code{\addInstrumentDefinition} を
1079 @code{\instrumentSwitch} と組み合わせて使用することがあります。@c
1080 @code{\addInstrumentDefinition} コマンドは 2 つの引数をとります:
1081 識別文字列と、楽器で使用されるコンテキスト プロパティと値の連想リストです。@c
1082 このコマンドは最上位のスコープに配置する必要があります。@c
1083 @code{\instrumentSwitch} は音楽表記の中で使用され、楽器の切り替えを宣言します:
1084
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)
1091      (clefPosition . 2)
1092      (instrumentCueName . ,(make-bold-markup "cbsn."))
1093      (midiInstrument . "bassoon"))
1094
1095 \new Staff \with {
1096   instrumentName = #"Bassoon"
1097 }
1098 \relative c' {
1099   \clef tenor
1100   \compressFullBarRests
1101   c2 g'
1102   R1*16
1103   \instrumentSwitch "contrabassoon"
1104   c,,2 g \break
1105   c,1 ~ | c1
1106 }
1107 @end lilypond
1108
1109
1110 @seealso
1111 記譜法リファレンス:
1112 @ref{\paper variables for shifts and indents},
1113 @ref{Modifying context plug-ins}
1114
1115 コード断片集:
1116 @rlsr{Staff notation}
1117
1118 内部リファレンス:
1119 @rinternals{InstrumentName},
1120 @rinternals{PianoStaff},
1121 @rinternals{Staff}
1122
1123
1124 @node 他のボイスを引用する
1125 @unnumberedsubsubsec 他のボイスを引用する
1126 @translationof Quoting other voices
1127
1128 @cindex cues (演奏指示)
1129 @cindex quoting other voices (他のボイスを引用する)
1130 @c 未訳
1131 @cindex fragments (楽譜の一部分)
1132 @cindex cue notes (演奏指示音符)
1133
1134 @funindex \addQuote
1135 @funindex addQuote
1136 @funindex \quoteDuring
1137 @funindex quoteDuring
1138 @funindex \transposition
1139 @funindex transposition
1140
1141 あるボイスが他のボイスの音楽の一部を兼ねることはごく一般的なことです。@c
1142 例えば、第 1 バイオリンと第2バイオリンは、音楽のあるパッセージの間、@c
1143 同じ音符を演奏することがあるかもしれません。@c
1144 LilyPond では、あるボイスに他のボイスを @emph{引用} させることによって@c
1145 実現されます。@c
1146 再入力する必要はありません。
1147
1148 パートを引用するには、@code{\addQuote} コマンドを用いて引用する部分を@c
1149 初期化する必要があります。@c
1150 このコマンドは最上位のスコープで使用しなければなりません。@c
1151 1 番目の引数は識別文字列であり、2 番目の引数は音楽表記です:
1152
1153 @example
1154 flute = \relative c'' @{
1155   a4 gis g gis
1156 @}
1157 \addQuote "flute" @{ \flute @}
1158 @end example
1159
1160 @code{\quoteDuring} コマンドを用いて、引用を開始する位置を示します。@c
1161 このコマンドは 2 つの引数をとります:
1162 @code{\addQuote} で定義した引用するボイスの名前と、@c
1163 引用部分の演奏時間を示す音楽表記
1164 -- 通常、これは空白休符か複数小節にわたる休符 -- です。@c
1165 引用されるボイスの音楽から該当部分の音楽
1166 (アーティキュレーション、強弱記号、マークアップ等を含みます)
1167 が音楽表記に挿入されます:
1168
1169 @lilypond[verbatim,quote]
1170 flute = \relative c'' {
1171   a4 gis g->\f gis^\markup{quoted}
1172 }
1173 \addQuote "flute" { \flute }
1174
1175 \relative c' {
1176   c4 cis \quoteDuring #"flute" { s2 }
1177 }
1178 @end lilypond
1179
1180 @code{\quoteDuring} で使用される音楽表記に空白休符や複数小節休符以外のものが@c
1181 含まれている場合、多声部になります。@c
1182 これは望まない結果であることがしばしばあります:
1183
1184 @lilypond[verbatim,quote]
1185 flute = \relative c'' {
1186   a4 gis g->\f gis^\markup{quoted}
1187 }
1188 \addQuote "flute" { \flute }
1189
1190 \relative c' {
1191   c4 cis \quoteDuring #"flute" { s2 }
1192 }
1193 @end lilypond
1194
1195 @code{\transposition} が使用される場合、@c
1196 引用機能はソースとターゲット両方の楽器の楽器移調設定を考慮します。@c
1197 @code{\transposition} についての詳細は @ref{楽器の移調} を@c
1198 参照してください。
1199
1200 @lilypond[verbatim,quote]
1201 clarinet = \relative c'' {
1202   \transposition bes
1203   a4 gis g gis
1204 }
1205 \addQuote "clarinet" { \clarinet }
1206
1207 \relative c' {
1208   c4 cis \quoteDuring #"clarinet" { s2 }
1209 }
1210 @end lilypond
1211
1212 引用部分に固有名のタグを付けて、@c
1213 引用部分をさまざまな形で処理することができます。@c
1214 この手法についての詳細は @ref{Using tags} を参照してください。
1215
1216 @code{quotedEventTypes} プロパティを変更することで、@c
1217 オリジナル ボイスからどのオブジェクトを引用するか調節することもできます。@c
1218 デフォルトで、このプロパティの値は @code{#'(StreamEvent)} であり、@c
1219 すべてを引用します。@c
1220 例えば、この値を @code{#'(note-event rest-event tie-event)} に変更すると、@c
1221 LilyPond は音符、休符それにタイを引用し、@c
1222 アーティキュレーション、マーックアップあるいは強弱記号は引用しません。
1223
1224 @lilypond[verbatim,quote]
1225 clarinet = \relative c'' {
1226   a4 gis g->\f gis^\markup{quoted}
1227 }
1228 \addQuote "clarinet" { \clarinet }
1229
1230 \relative c' {
1231   \set Score.quotedEventTypes = #'(note-event rest-event tie-event)
1232   c4 cis \quoteDuring #"clarinet" { s2 }
1233 }
1234 @end lilypond
1235
1236 @snippets
1237
1238 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1239 {quoting-another-voice-with-transposition.ly}
1240
1241 @cindex note-event
1242 @cindex articulation-event
1243 @cindex dynamic-event
1244 @cindex rest-event
1245
1246 @funindex quotedEventTypes
1247 @funindex quotedCueEventTypes
1248
1249 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1250 {quoting-another-voice.ly}
1251
1252 @seealso
1253 記譜法リファレンス:
1254 @ref{楽器の移調},
1255 @ref{Using tags}
1256
1257 コード断片集:
1258 @rlsr{Staff notation}
1259
1260 内部リファレンス:
1261 @rinternals{QuoteMusic},
1262 @rinternals{Voice}
1263
1264
1265 @knownissues
1266
1267 @code{\addQuote} 中にある最初の @code{Voice} の内容だけが引用されます。@c
1268 そのため、@code{@var{music}} には他の Voice に切り替わる @code{\new} や
1269 @code{\context Voice} を含めることはできません。
1270
1271 装飾小音符を引用しようとしてもうまくいかず、@c
1272 LilyPond がクラッシュする可能性さえあります。
1273
1274 ネストされた連符を引用しようとしてもうまくいきません。
1275
1276 以前のバージョンの LilyPond (2.11 よりも前) では、@code{addQuote} はすべて@c
1277 小文字 -- @code{addquote} -- で記述されていました。
1278
1279
1280 @node 合図音符をフォーマットする
1281 @unnumberedsubsubsec 合図音符をフォーマットする
1282 @translationof Formatting cue notes
1283
1284 @cindex cues (合図)
1285 @cindex cue notes (合図音符)
1286 @cindex cue notes, formatting (合図音符をフォーマットする)
1287 @c 未訳
1288 @cindex fragments (楽譜の一部分)
1289 @cindex quoting other voices (他のボイスを引用する)
1290 @cindex cues, formatting (合図をフォーマットする)
1291
1292 @funindex \cueDuring
1293 @funindex cueDuring
1294 @funindex \quoteDuring
1295 @funindex quoteDuring
1296
1297 前のセクションでは、引用を作成する方法について説明しました。@c
1298 @code{\cueDuring} コマンドは @code{\quoteDuring} コマンドの@c
1299 より特殊な形であり、あるパートに合図音符を挿入する場合に有用です。@c
1300 構文は以下の通りです:
1301
1302 @example
1303 \cueDuring #@var{partname} #@var{voice} @var{music}
1304 @end example
1305
1306 このコマンドは @code{@var{partname}} の該当する小節から音符と休符だけを
1307 @code{CueVoice} にコピーします。@c
1308 @code{CueVoice} は暗黙的に作成されて @code{@var{music}} と同時進行し、@c
1309 結果として多声になります。@c
1310 引数 @code{@var{voice}} は合図音符を第 1 ボイスとして記譜すべきか、@c
1311 第 2 ボイスとして記譜すべきかを決定します。@c
1312 @code{UP} は第 1 ボイスに相当し、@code{DOWN} は第 2 ボイスに相当します。
1313
1314 @lilypond[verbatim,quote]
1315 oboe = \relative c'' {
1316   r2 r8 d16(\f f e g f a)
1317   g8 g16 g g2.
1318 }
1319 \addQuote "oboe" { \oboe }
1320
1321 \new Voice \relative c'' {
1322   \cueDuring #"oboe" #UP { R1 }
1323   g2 c,
1324 }
1325 @end lilypond
1326
1327 @noindent
1328 上の例で、@code{Voice} コンテキストは明示的に宣言されている必要があります。@c
1329 さもなければ、音楽表記全体が @code{CueVoice} コンテキストに属してしまいます。
1330
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
1336 引用されません。
1337
1338 @lilypond[verbatim,quote]
1339 oboe = \relative c'' {
1340   r2 r8 d16(\f f e g f a)
1341   g8 g16 g g2.
1342 }
1343 \addQuote "oboe" { \oboe }
1344
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 }
1350   g2 c,
1351 }
1352 @end lilypond
1353
1354 マークアップを使用して引用される楽器の名前を表示することができます。@c
1355 また、合図音符が音部変更を必要とする場合、@c
1356 合図音符の終わりで元の音部に戻す必要があります。
1357
1358 @lilypond[verbatim,quote]
1359 flute = \relative c'' {
1360   r2. c4 d8 c d e fis2 g2 d2
1361 }
1362 bassoon = \relative c {
1363   \clef bass
1364   R1
1365   \clef treble
1366   s1*0^\markup { \tiny "flute" }
1367   \cueDuring #"flute" #UP { R1 }
1368   \clef bass
1369   g4. b8 d2
1370 }
1371 \addQuote "flute" { \flute }
1372 \new Staff {
1373   \bassoon
1374 }
1375 @end lilypond
1376
1377 @cindex removing cues (合図を削除する)
1378 @cindex removing cue notes (合図音符を削除する)
1379 @cindex cue notes, removing (合図音符を削除する)
1380
1381 @funindex \killCues
1382 @funindex killCues
1383
1384 @code{\killCues} コマンドは音楽表記から合図音符を削除します。@c
1385 これにより、同じ音楽表記を使って合図を持つ楽器パートと総譜を作り出すことが@c
1386 可能です。@c
1387 @code{\killCues} コマンドは @code{\cueDuring} によって引用された@c
1388 音符とイベントだけを削除します。@c
1389 合図に関連する他のマークアップ
1390 -- 音部変更と引用元の楽器を識別するラベルなど --
1391 にはタグを付けて総譜に含めるかどうかを選択することができます。@c
1392 @ref{Using tags} を参照してください。
1393
1394 @lilypond[verbatim,quote]
1395 flute = \relative c'' {
1396   r2. c4 d8 c d e fis2 g2 d2
1397 }
1398 bassoon = \relative c {
1399   \clef bass
1400   R1
1401   \tag #'part {
1402     \clef treble
1403     s1*0^\markup { \tiny "flute" }
1404   }
1405   \cueDuring #"flute" #UP { R1 }
1406   \tag #'part \clef bass
1407   g4. b8 d2
1408 }
1409 \addQuote "flute" { \flute }
1410
1411 \new Staff {
1412   \bassoon
1413 }
1414 \new StaffGroup <<
1415   \new Staff {
1416     \flute
1417   }
1418   \new Staff {
1419     \removeWithTag #'part { \killCues { \bassoon } }
1420   }
1421 >>
1422 @end lilypond
1423
1424 あるいはまた、音部変更や楽器ラベルを再利用するために、@c
1425 @code{\addInstrumentDefinition} を用いて楽器の定義に含めることができます。@c
1426 @code{\addInstrumentDefinition} についての説明は
1427 @ref{楽器名} を参照してください。
1428
1429 @funindex \transposedCueDuring
1430 @funindex transposedCueDuring
1431
1432 @code{\quoteDuring} と同様に、@code{\cueDuring} は楽器の移調を考慮します。@c
1433 合図音符は、合図を受け取る楽器のピッチで作り出されます。
1434
1435 合図音符を移調させるには @code{\transposedCueDuring} を使用します。@c
1436 このコマンドはコンサート ミドル C の音を表すピッチを (絶対モードで) 指定する@c
1437 追加の引数を取ります。
1438
1439 @lilypond[verbatim,quote]
1440 piccolo = \relative c''' {
1441   \clef "treble^8"
1442   R1
1443   c8 c c e g2
1444   c4 g g2
1445 }
1446 bassClarinet = \relative c' {
1447   \key d \major
1448   \transposition bes,
1449   d4 r a r
1450   \transposedCueDuring #"piccolo" #UP d { R1 }
1451   d4 r a r
1452 }
1453
1454 \addQuote "piccolo" { \piccolo }
1455
1456 <<
1457   \new Staff \piccolo
1458   \new Staff \bassClarinet
1459 >>
1460 @end lilypond
1461
1462 @cindex notes, smaller
1463 @cindex smaller notes
1464
1465 小さなサイズの音符が必要な場合、@c
1466 @code{CueVoice} コンテキストを明示的に作成することがあります。@c
1467 例えば、本来の演奏とは異なる音符列をオリジナル ボイスの上または下に@c
1468 セットする場合に適しています。
1469
1470 @lilypond[verbatim,relative=2]
1471 \time 12/8
1472 \key ees \major
1473 g4 ees8 f4 g8
1474 \stemDown
1475 <<
1476   { d4. bes4 c8 }
1477   \new CueVoice
1478   { g'4. f4 ees8 }
1479 >>
1480 \stemUp
1481 d2. d2.
1482 @end lilypond
1483
1484
1485 @seealso
1486 記譜法リファレンス:
1487 @ref{楽器の移調},
1488 @ref{楽器名},
1489 @ref{Musical cues},
1490 @ref{Using tags}
1491
1492 コード断片集:
1493 @rlsr{Staff notation}
1494
1495 内部リファレンス:
1496 @rinternals{CueVoice},
1497 @rinternals{Voice}
1498
1499
1500 @knownissues
1501
1502 @code{\cueDuring} を使用した場合、@code{Voice} コンテキストと @code{CueVoice}
1503 コンテキストの間で休符の衝突が発生する可能性があります。