]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/rhythms.itely
Doc-ja: partial updates NR
[lilypond.git] / Documentation / ja / notation / rhythms.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2 @ignore
3     Translation of GIT committish: d5647c5fd1c38d4124d2374725b923f4901f3661
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.19.22"
10
11 @c Translators: Yoshiki Sawada
12 @c Translation status: post-GDP
13
14
15 @node リズム
16 @section リズム
17 @translationof Rhythms
18
19 @lilypondfile[quote]{rhythms-headword.ly}
20
21 このセクションではリズム、休符、演奏時間、連桁、小節について議論します。
22
23 @menu
24 * リズムを記述する::
25 * 休符を記述する::
26 * リズムを表示する::
27 * 連桁::
28 * 小節::
29 * 特殊なリズム関連事項::
30 @end menu
31
32
33 @node リズムを記述する
34 @subsection リズムを記述する
35 @translationof Writing rhythms
36
37 @menu
38 * 演奏時間::
39 * 連符::
40 * 演奏時間を変更する::
41 * タイ::
42 @end menu
43
44 @node 演奏時間
45 @unnumberedsubsubsec 演奏時間
46 @translationof Durations
47
48 @cindex durations, of notes (音符の演奏時間)
49 @cindex note durations (音符の演奏時間)
50 @cindex length of notes (音符の長さ)
51 @cindex note lengths (音符の長さ)
52
53 @funindex \longa
54 @funindex longa
55 @funindex \breve
56 @funindex breve
57 @funindex \maxima
58 @funindex maxima
59
60 演奏時間は数とドットで指定されます。@c
61 演奏時間はその演奏時間の逆数で入力されます。@c
62 例えば、4 分音符は @code{4} で入力され (1/4 の音符だから)、半音符は @code{2}
63 で入力されます (1/2 の音符だから)。@c
64 全音符よりも長い音符を入力するには、@code{\longa} コマンド (全音符の 4 倍)
65 と @code{\breve} コマンド (全音符の 2 倍) を使う必要があります。@c
66 128 分音符のような短い音符を指定することもできます。@c
67 それよりも短い音価を指定することも可能ですが、必ず連桁付きの音符となります。
68
69 @c Two 64th notes are needed to obtain beams
70 @lilypond[quote,verbatim]
71 \relative {
72   \time 8/1
73   c''\longa c\breve c1 c2
74   c4 c8 c16 c32 c64 c128 c128
75 }
76 @end lilypond
77
78 同じ例で自動連桁を off にしてみます。
79
80 @c not strictly "writing rhythms"; more of a "displaying" thing,
81 @c but it's ok here.  -gp
82 @lilypond[quote,verbatim]
83 \relative {
84   \time 8/1
85   \autoBeamOff
86   c''\longa c\breve c1 c2
87   c4 c8 c16 c32 c64 c128 c128
88 }
89 @end lilypond
90
91 全音符の 8 倍の演奏時間を持つ音符は
92 @code{\maxima} を使って入力することができます。@c
93 しかしながら、これは古代音楽表記でのみサポートされます。@c
94 詳細は @ref{Ancient notation} を参照してください。
95
96 @cindex duration, default (デフォルトの演奏時間)
97 @cindex default note duration (デフォルトの音符演奏時間)
98 @cindex note duration, default (デフォルトの音符演奏時間)
99
100 演奏時間を省略した場合、前に入力された演奏時間にセットされます。@c
101 最初の音符のデフォルト値は 4 分音符です。
102
103 @lilypond[quote,verbatim]
104 \relative { a' a a2 a a4 a a1 a }
105 @end lilypond
106
107 @cindex notes, dotted (付点音符)
108 @cindex dotted notes (付点音符)
109 @cindex notes, double-dotted (2 重付点音符)
110 @cindex double-dotted notes (2 重付点音符)
111
112 @funindex .
113
114 付点音符の演奏時間を得るには、演奏時間の後にドット (@code{.}) を置きます。@c
115 2 重付点音符は 2 つのドットを置き、3 重付点音符は 3 つのドットなどとなります。
116
117 @lilypond[quote,verbatim]
118 \relative { a'4 b c4. b8 a4. b4.. c8. }
119 @end lilypond
120
121 演奏時間の中には 2の倍数の演奏時間とドットだけでは表せないものもあります。@c
122 それらを表すには 2 つかそれ以上の音符をタイでつなげるしかありません。@c
123 詳細は @ref{タイ} を参照してください。
124
125 歌詞の音節に対して演奏時間を指定する方法、歌詞を音符に揃える方法については
126 @ref{Vocal music} を参照してください。
127
128 オプションとして、音符を音符の演奏時間に厳密に比例させた間隔で@c
129 配置することができます。@c
130 このオプションとプロポーショナル表記を制御するその他の設定についての@c
131 詳細は @ref{Proportional notation} を参照してください。
132
133 @funindex \dotsUp
134 @funindex dotsUp
135 @funindex \dotsDown
136 @funindex dotsDown
137 @funindex \dotsNeutral
138 @funindex dotsNeutral
139
140 通常、多声でない限り、ドットは譜線を避けるために上に移動させられます。@c
141 ある特定のドットの移動方向を手動で指定するための定義済みコマンドがあります
142 -- 詳細は @ref{Direction and placement} を参照してください。
143
144
145 @predefined
146 @code{\autoBeamOn},
147 @code{\autoBeamOff},
148 @code{\dotsUp},
149 @code{\dotsDown},
150 @code{\dotsNeutral}
151 @endpredefined
152
153
154 @snippets
155
156 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
157 {alternative-breve-notes.ly}
158
159 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
160 {changing-the-number-of-augmentation-dots-per-note.ly}
161
162 @seealso
163 音楽用語集:
164 @rglos{breve},
165 @rglos{longa},
166 @rglos{maxima},
167 @rglos{note value},
168 @rglos{Duration names notes and rests}
169
170 記譜法リファレンス:
171 @ref{Automatic beams},
172 @ref{Ties},
173 @ref{Stems},
174 @ref{Writing rhythms},
175 @ref{Writing rests},
176 @ref{Vocal music},
177 @ref{Ancient notation},
178 @ref{Proportional notation}
179
180 コード断片集:
181 @rlsrnamed{Rhythms,リズム}
182
183 内部リファレンス:
184 @rinternals{Dots},
185 @rinternals{DotColumn}
186
187 @knownissues
188 @c Deliberately duplicated in Durations and Rests.  -gp
189 休符の演奏時間には基本的に限界がありません (最大値としても、最小値としても)。@c
190 しかしながら、図柄の数には限界があります:
191 128 分から全音符の 8 倍までの休符を譜刻することができます。
192
193
194 @node 連符
195 @unnumberedsubsubsec 連符
196 @translationof Tuplets
197
198 @c 本項目のみ先に翻訳 2015-12-31
199 @c 連符のコマンドが \times から \tuplet に変更されており、
200 @c 従前のままの内容だと混乱をきたす可能性があるため。
201
202 @cindex tuplets (連符)
203 @cindex triplets (3 連符)
204
205 @funindex \tuplet
206 @funindex tuplet
207
208 連符は @code{\tuplet} を使った音楽表記から作られ、@c
209 音楽表記の速度に分数を掛け合わせます。
210
211 @example
212 \tuplet @var{fraction} @{ @var{music} @}
213 @end example
214
215 @noindent
216 分数 (@var{fraction}) の分子が音符の上または下に譜刻され、@c
217 オプションで囲みが付きます。@c
218 最も一般的な連符は 3 連符です。@c
219 ( 3 つの音符が音符 2 つ分の演奏時間を持ちます。)
220
221 @lilypond[quote,verbatim]
222 \relative {
223   a'2 \tuplet 3/2 { b4 4 4 }
224   c4 c \tuplet 3/2 { b4 a g }
225 }
226 @end lilypond
227
228 @cindex 連符のグルーピング
229 @noindent
230 連符の長いパッセージを入力するとき、@c
231 各グループに別々の @code{\tuplet} コマンドを記述することは不便です。@c
232 音楽の前に一つの連符グループの長さを直接指定することで、@c
233 連符を自動的にグループ化することができます:
234
235 @lilypond[quote,verbatim]
236 \relative {
237   g'2 r8 \tuplet 3/2 8 { cis16 d e e f g g f e }
238 }
239 @end lilypond
240
241 @cindex tuplet bracket placement (連符囲みの配置)
242
243 @funindex \tupletUp
244 @funindex tupletUp
245 @funindex \tupletDown
246 @funindex tupletDown
247 @funindex \tupletNeutral
248 @funindex tupletNeutral
249
250 連符囲みは手動で譜の上または下に配置することができます:
251
252 @lilypond[quote,verbatim]
253 \relative {
254   \tupletUp \tuplet 3/2 { c''8 d e }
255   \tupletNeutral \tuplet 3/2 { c8 d e }
256   \tupletDown \tuplet 3/2 { f,8 g a }
257   \tupletNeutral \tuplet 3/2 { f8 g a }
258 }
259 @end lilypond
260
261 連符はネストすることができます:
262
263 @lilypond[quote,verbatim]
264 \relative {
265   \autoBeamOff
266   c''4 \tuplet 5/4 { f8 e f \tuplet 3/2 { e[ f g] } } f4
267 }
268 @end lilypond
269
270 ネストされた連符の演奏開始点が同時である場合に、それらの連符を変更するには
271 @code{\tweak} を使う必要があります。
272
273 連符囲みを譜刻せずに音符の演奏時間を変更する方法は
274 @ref{演奏時間を変更する} を参照してください。
275
276
277 @predefined
278 @code{\tupletUp},
279 @code{\tupletDown},
280 @code{\tupletNeutral}.
281 @endpredefined
282
283
284 @snippets
285
286 @cindex tuplet formatting (連符のフォーマット)
287 @cindex triplet formatting (3 連符のフォーマット)
288
289 @funindex tupletNumberFormatFunction
290 @funindex tupletSpannerDuration
291
292 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
293 {entering-several-tuplets-using-only-one--tuplet-command.ly}
294
295 @cindex Tuplet number changes (連符の数の変更)
296
297 @funindex TupletNumber
298
299 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
300 {changing-the-tuplet-number.ly}
301
302 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
303 {non-default-tuplet-numbers.ly}
304
305 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
306 {controlling-tuplet-bracket-visibility.ly}
307
308 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
309 {permitting-line-breaks-within-beamed-tuplets.ly}
310
311 @seealso
312 音楽用語集:
313 @rglos{triplet},
314 @rglos{tuplet},
315 @rglos{polymetric}
316
317 学習マニュアル:
318 @rlearning{Tweaking methods}
319
320 記譜法リファレンス:
321 @ref{Direction and placement},
322 @ref{Time administration},
323 @ref{Scaling durations},
324 @ref{The tweak command},
325 @ref{Polymetric notation}
326
327 コード断片集:
328 @rlsr{Rhythms}
329
330 内部リファレンス:
331 @rinternals{TupletBracket},
332 @rinternals{TupletNumber},
333 @rinternals{TimeScaledMusic}.
334
335
336 @node 演奏時間を変更する
337 @unnumberedsubsubsec 演奏時間を変更する
338 @translationof Scaling durations
339
340 @cindex scaling durations (演奏時間を伸縮する)
341 @cindex durations, scaling (演奏時間を伸縮する)
342
343 @code{*N/M} (または、@code{M} が 1 の場合は @code{*N}) を演奏時間の後に@c
344 付け加えることによって、単一の音符、休符、和音の演奏時間を分数 @code{N/M}
345 倍することができます。@c
346 これは作り出される音符や休符の見た目には影響を与えませんが、@c
347 変更された演奏時間は小節の中での位置を算出するためと、@c
348 MIDI 出力での演奏時間を決定するために使用されます。@c
349 掛け合わせる要素は @code{*L*M/N} のように組み合わせることができます。@c
350 掛け合わせる要素は演奏時間の一部です: 音符の演奏時間が指定されていない@c
351 場合、前の音符から取ったデフォルトの演奏時間に要素が掛け合わされます。
352
353 以下の例では、最初の 3 つの音符で 2 拍ですが、連符囲みは譜刻されていません。
354
355 @c KEEP LY
356 @lilypond[quote,relative=2,verbatim]
357 \time 2/4
358 % 演奏時間を変更して 3 連符にします
359 a4*2/3 gis a
360 % 通常の演奏時間
361 a4 a
362 % 和音の演奏時間を 2 倍にします
363 <a d>4*2
364 % 演奏時間は 4 分音符ですが、見た目は 16 分音符です
365 b16*4 c4
366 @end lilypond
367
368 空白休符の演奏時間も掛け算によって変更できます。@c
369 これは @code{s1*23} のように多くの小節をスキップする場合に役に立ちます。
370
371 @cindex compressing music (音楽を圧縮する)
372 @cindex expanding music (音楽を伸長する)
373
374 @funindex \scaleDurations
375 @funindex scaleDurations
376
377 同様の方法で分数を使うことで、長く伸びた音楽を圧縮することができます。@c
378 それによりそれぞれの音符、和音、休符には@c
379 分数が掛け合わせられたかのようになります。@c
380 これは楽譜要素の見た目をそのままにして、要素の内部演奏時間に@c
381 @emph{分子}/@emph{分母}を掛け合わせます。@c
382 ここで、音楽がどのように圧縮され、伸張されるかを示す例を挙げます:
383
384 @c KEEP LY
385 @lilypond[quote,relative=2,verbatim]
386 \time 2/4
387 % 通常の演奏時間
388 <c a>4 c8 a
389 % 2/3 を掛けます
390 \scaleDurations 2/3 {
391   <c a f>4. c8 a f
392 }
393 % 2 を掛けます
394 \scaleDurations 2/1 {
395   <c' a>4 c8 b
396 }
397 @end lilypond
398
399 このコマンドの応用例の 1 つは多拍子記譜法での使用です。@c
400 @ref{多拍子記譜法} を参照してください。
401
402 @seealso
403 記譜法リファレンス:
404 @ref{Tuplets},
405 @ref{Invisible rests},
406 @ref{Polymetric notation}
407
408 コード断片集:
409 @rlsr{Rhythms}
410
411
412 @node タイ
413 @unnumberedsubsubsec タイ
414 @translationof Ties
415
416 @cindex tie (タイ)
417
418 @funindex ~
419
420 タイは同じピッチの隣り合う符頭を結び付けます。@c
421 タイは音符の演奏時間を伸張する効果があります。
422
423 @warning{タイを音楽的なフレーズを表す @emph{スラー} や
424 @emph{フレージング スラー} と混同しないでください。@c
425 タイは音符の演奏時間を伸ばす働きを持ち、音価を増やすドットに似ています。}
426
427 タイはチルド記号 @code{~} を使って入力します:
428
429 @lilypond[quote,verbatim,relative=2]
430 a2 ~ 2
431 @end lilypond
432
433 タイは、音符が小節線をまたがる場合か、リズムを表すためにドットを@c
434 使うことができない場合に使用されます。@c
435 さらに、以下の例のように音価が小節の区画をまたがる場合にも使用されます
436 (訳者補足: 4/4 拍子では 1 小節は 1/4, 1/4, 1/4, 1/4 の区画に分けられます。@c
437 下の例の第 2 小節では半音符が区画をまたがっているので良くない書き方であり、@c
438 第 1 小節のように書くべきです。):
439
440 @c KEEP LY
441 @lilypond[verbatim,quote]
442 \relative {
443   r8 c'8 ~ 2 r4 |
444   r8^"こうすべきではありません" c2 ~ 8 r4
445 }
446 @end lilypond
447
448 小節線をまたいで多くの音符をタイで結び付ける必要がある場合、@c
449 自動音符分割を使用したほうが簡単かもしれません
450 -- @ref{自動音符分割} を参照してください。@c
451 これは長い音符を自動的に分割して、小節線をまたがる音符をタイで結び付けます。
452
453 @cindex ties and chords (タイと和音)
454 @cindex chords and ties (和音とタイ)
455
456 タイを和音に適用する場合、ピッチが一致する符頭すべてが結ばれます。@c
457 一致する符頭が無い場合、タイは作成されません。@c
458 和音の内部にタイを置くことによって、和音の一部だけをタイで結ぶことができます。
459
460 @lilypond[quote,verbatim,relative=1]
461 <c e g> ~ <c e g>
462 <c~ e g~ b> <c e g b>
463 @end lilypond
464
465 @cindex repeating ties (タイを含む繰り返し)
466 @cindex ties, repeating (タイを含む繰り返し)
467 @cindex volta brackets and ties (volta 囲みとタイ)
468 @cindex ties and volta brackets (タイと volta 囲み)
469
470 @funindex \repeatTie
471 @funindex repeatTie
472
473 繰り返しの 2 回目の差し替え部分はタイで結ばれた音符で始まっています。@c
474 そのような繰り返し部分でのタイは以下のように指定する必要があります:
475
476 @c KEEP LY
477 @lilypond[quote,relative=2,verbatim]
478 \repeat volta 2 { c g <c e>2 ~ }
479 \alternative {
480   % 1 番目の差し替え部分: 後に続く音符は通常通りタイで結ばれます
481   { <c e>2. r4 }
482   % 2 番目の差し替え部分: 後に続く音符にはリピート用のタイを付けます
483   { <c e>2\repeatTie d4 c } }
484 @end lilypond
485
486 @cindex laissez vibrer (レセ ヴィブレ)
487 @cindex ties, laissez vibrer (レセ ヴィブレのタイ)
488
489 @funindex \laissezVibrer
490 @funindex laissezVibrer
491
492 @notation{L.v.}@: タイ (@notation{レセ ヴィブレ: laissez vibrer}) は@c
493 音符を終端で途切れさせないということを示します。@c
494 ピアノ、ハープ、他の弦楽器、それに打楽器のための楽譜で使用されます。@c
495 L.v. タイは以下のように入力します:
496
497 @lilypond[quote,verbatim,fragment]
498 <c' f' g'>1\laissezVibrer
499 @end lilypond
500
501 @cindex ties, placement (タイの配置)
502
503 @funindex \tieUp
504 @funindex tieUp
505 @funindex \tieDown
506 @funindex tieDown
507 @funindex \tieNeutral
508 @funindex tieNeutral
509
510 タイを手動で譜の上または下に配置することができます。
511 @ref{Direction and placement} を参照してください。
512
513 @cindex ties, appearance (タイの見た目)
514 @cindex ties, dotted (点線のタイ)
515 @cindex ties, dashed (破線のタイ)
516 @cindex dashed ties (破線のタイ)
517 @cindex dotted ties (点線のタイ)
518
519 @funindex \tieDotted
520 @funindex tieDotted
521 @funindex \tieDashed
522 @funindex tieDashed
523 @funindex \tieSolid
524 @funindex tieSolid
525
526 タイを破線、点線、実線と破線の組み合わせにすることができます。
527
528 @lilypond[quote, verbatim, relative=1]
529 \tieDotted
530 c2 ~ 2
531 \tieDashed
532 c2 ~ 2
533 \tieHalfDashed
534 c2 ~ 2
535 \tieHalfSolid
536 c2 ~ 2
537 \tieSolid
538 c2 ~ 2
539 @end lilypond
540
541 破線パターンのカスタマイズを指定することができます:
542
543 @lilypond[quote, verbatim, relative=1]
544 \tieDashPattern #0.3 #0.75
545 c2 ~ 2
546 \tieDashPattern #0.7 #1.5
547 c2 ~ 2
548 \tieSolid
549 c2 ~ 2
550 @end lilypond
551
552 タイの破線パターン定義の構造は、スラーの破線パターン定義と同じです。@c
553 複雑な破線パターンについての更なる情報は @ref{Slurs} を参照してください。
554
555 譜の中で他のオブジェクトと衝突するタイに対しては、@c
556 @var{whiteout} レイアウト プロパティと @var{layer} レイアウト プロパティを@c
557 オーバライドしてください。
558
559 @lilypond[verbatim,quote,ragged-right]
560 \relative {
561   \override Tie.layer = #-2
562   \override Staff.TimeSignature.layer = #-1
563   \override Staff.KeySignature.layer = #-1
564   \override Staff.TimeSignature.whiteout = ##t
565   \override Staff.KeySignature.whiteout = ##t
566   b'2 b~
567   \time 3/4
568   \key a \major
569   b r4
570 }
571 @end lilypond
572
573 @predefined
574 @code{\tieUp},
575 @code{\tieDown},
576 @code{\tieNeutral},
577 @code{\tieDotted},
578 @code{\tieDashed},
579 @code{\tieDashPattern},
580 @code{\tieHalfDashed},
581 @code{\tieHalfSolid},
582 @code{\tieSolid}
583 @endpredefined
584
585 @snippets
586
587 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
588 {using-ties-with-arpeggios.ly}
589
590 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
591 {engraving-ties-manually.ly}
592
593 @seealso
594 音楽用語集:
595 @rglos{tie},
596 @rglos{laissez vibrer}
597
598 記譜法リファレンス:
599 @ref{Slurs},
600 @ref{Automatic note splitting}
601
602 コード断片集:
603 @rlsr{Expressive marks},
604 @rlsr{Rhythms}
605
606 内部リファレンス:
607 @rinternals{LaissezVibrerTie},
608 @rinternals{LaissezVibrerTieColumn},
609 @rinternals{TieColumn},
610 @rinternals{Tie}
611
612 @knownissues
613 タイがアクティブなときに譜を切り換えても斜めのタイは作られません。
614
615 タイの最中に音部記号やオクターブを変更することはきちんと定義されていません。@c
616 そのような場合には、スラーを用いる方が好ましいです。
617
618
619 @node 休符を記述する
620 @subsection 休符を記述する
621 @translationof Writing rests
622
623 休符は音楽表記の中の音楽の一部として入力されます。
624
625 @menu
626 * 休符::
627 * 不可視の休符::
628 * 小節単位の休符::
629 @end menu
630
631
632 @node 休符
633 @unnumberedsubsubsec 休符
634 @translationof Rests
635
636 @cindex rest (休符)
637 @cindex rest, entering durations (休符の演奏時間を入力する)
638 @cindex maxima rest (八全休符)
639 @cindex longa rest (四全休符)
640 @cindex breve rest (二全休符)
641
642 @funindex \rest
643 @funindex rest
644 @funindex r
645 @funindex \maxima
646 @funindex maxima
647 @funindex \longa
648 @funindex longa
649 @funindex \breve
650 @funindex breve
651
652 休符は音符名 @code{r} を持つ音符として入力されます。@c
653 全休符よりも長い演奏時間を持つ休符には以下に示す定義済みコマンドを使用します:
654
655 @c \time 16/1 is used to avoid spurious bar lines
656 @c and long tracts of empty measures
657 @c KEEP LY
658 @lilypond[quote,verbatim,relative=2]
659 \new Staff {
660   % この 2 本線には意味はありません
661   \time 16/1
662   \omit Staff.TimeSignature
663   % 八全休符を譜刻します。二全休符 4 つと等価です
664   r\maxima
665   % 四全休符を譜刻します。二全休符 2 つと等価です
666   r\longa
667   % 二全休符を譜刻します。
668   r\breve
669   r1 r2 r4 r8 r16 r32 r64 r128
670 }
671 @end lilypond
672
673 @cindex rest, multi-measure (複数小節の休符)
674 @cindex rest, whole-measure (全休符)
675
676 全休符 -- 小節の中心に置かれます -- は複数小節の休符として@c
677 入力する必要があります。@c
678 複数小節の休符は多くの小節に対してと同様に単一の小節に対しても@c
679 使用することができます。@c
680 詳細は @ref{小節単位の休符} を参照してください。
681
682 @cindex rest, specifying vertical position (休符の垂直方向の位置を指定する)
683
684 休符の垂直方向の位置を明示的に指定するには、音符の後に続けて @code{\rest}
685 を記述します。@c
686 その音符が譜上で占める位置に、その音符の演奏時間を持つ休符が配置されます。@c
687 これは多声部音楽を手動で精密にフォーマットすることを考慮したものです。@c
688 なぜなら、自動休符フォーマットでは多声部音楽の休符の衝突を回避できないからです。
689
690 @lilypond[quote,verbatim]
691 \relative { a'4\rest d4\rest }
692 @end lilypond
693
694 @snippets
695
696 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
697 {rest-styles.ly}
698
699 @seealso
700 音楽用語集:
701 @rglos{breve},
702 @rglos{longa},
703 @rglos{maxima}
704
705 記譜法リファレンス:
706 @ref{Full measure rests}
707
708 コード断片集:
709 @rlsr{Rhythms}
710
711 内部リファレンス:
712 @rinternals{Rest}
713
714 @knownissues
715 @c Deliberately duplicated in Durations and Rests.  -gp
716 休符の演奏時間には基本的に限界がありません (最大値としても、最小値としても)。@c
717 しかしながら、図柄の数には限界があります: 128 分から全音符の 8 倍までの@c
718 休符を譜刻することができます。
719
720
721 @node 不可視の休符
722 @unnumberedsubsubsec 不可視の休符
723 @translationof Invisible rests
724
725 @cindex skip (スキップ)
726 @cindex invisible rest (不可視の休符)
727 @cindex rest, invisible (不可視の休符)
728 @cindex spacer note (空白音符)
729 @cindex spacer rest (空白休符)
730
731 @funindex s
732 @funindex \skip
733 @funindex skip
734
735 不可視の休符 (@q{空白休符} とも呼ばれます) は音符名@tie{}@code{s} を@c
736 持つ音符として入力することができます:
737
738 @lilypond[verbatim,quote]
739 \relative c'' {
740   c4 c s c |
741   s2 c |
742 }
743 @end lilypond
744
745 @cindex lyrics, skip (歌詞をスキップする)
746
747 空白休符は音符モードと和音モードでのみ利用可能です。@c
748 他のモードでは、例えば歌詞を入力している場合、音楽モーメントをスキップするには
749 @code{\skip} を使用します。@c
750 @code{\skip} は明示的な演奏時間を必要としますが、@c
751 @code{\addlyrics} や @code{\lyricsto} を使っていて、@c
752 歌詞が関係するメロディーの音符から演奏時間を得ている場合は無視されます。
753
754 @lilypond[quote,verbatim]
755 <<
756   {
757     a'2 \skip2 a'2 a'2
758   }
759   \new Lyrics {
760     \lyricmode {
761       foo2 \skip 1 bla2
762     }
763   }
764 >>
765 @end lilypond
766
767 @code{\skip} はコマンドであるため、@c
768 @code{s} とは異なり後に続く音符のデフォルト演奏時間には影響を与えません。
769
770 @lilypond[quote,verbatim]
771 <<
772   {
773     \repeat unfold 8 { a'4 }
774   }
775   {
776     a'4 \skip 2 a' |
777     s2 a'
778   }
779 >>
780 @end lilypond
781
782
783 空白休符は、音符や休符と同様に、@code{Staff} や @code{Voice} が@c
784 存在しない場合に、それらを暗黙的に作成します:
785
786 @lilypond[quote,verbatim,fragment]
787 s1 s s
788 @end lilypond
789
790 @code{\skip} はただ音楽的な時間をスキップするだけです。@c
791 これはいかなる種類の出力も作成しません。
792
793 @c KEEP LY
794 @lilypond[quote,verbatim,relative=2]
795 % これは有効な入力ですが、何もしません
796 \skip 1 \skip1 \skip 1
797 @end lilypond
798
799 @seealso
800 学習マニュアル:
801 @rlearning{Visibility and color of objects}
802
803 記譜法リファレンス:
804 @ref{Hidden notes},
805 @ref{Visibility of objects}
806
807 コード断片集:
808 @rlsr{Rhythms}
809
810 内部リファレンス:
811 @rinternals{SkipMusic}
812
813
814 @node 小節単位の休符
815 @unnumberedsubsubsec 小節単位の休符
816 @translationof Full measure rests
817
818 @cindex multi-measure rests (複数の小節にまたがる休符)
819 @cindex full-measure rests (小節単位の休符)
820 @cindex rest, multi-measure (複数の小節にまたがる休符)
821 @cindex rest, full-measure (小節単位の休符)
822 @cindex whole rest for a full measure (小節に対する全休符)
823 @cindex rest, whole for a full measure (小節に対する全休符)
824
825 @funindex R
826
827 1 つまたは複数の小節に対する休符は@c
828 音符名として大文字の @code{R} を持つ音符として入力します:
829
830 @lilypond[quote,verbatim,relative=2]
831 % 休みの小節は 1 つの小節にまとめられます
832 \compressFullBarRests
833 R1*4
834 R1*24
835 R1*4
836 b2^"Tutti" b4 a4
837 @end lilypond
838
839 小節単位の休符の演奏時間は、音符に対する演奏時間と同じ表記を使います。@c
840 複数小節にまたがる休符の演奏時間は常に小節の長さの整数倍になります。@c
841 そのため、しばしばドットや分数を使う必要があります:
842
843 @lilypond[quote,verbatim,relative=2]
844 \compressFullBarRests
845 \time 2/4
846 R1 | R2 |
847 \time 3/4
848 R2. | R2.*2 |
849 \time 13/8
850 R1*13/8 | R1*13/8*12 |
851 \time 10/8
852 R4*5*4 |
853 @end lilypond
854
855 1 小節分の休符は、拍子次第で全休符または二全休符のどちらかとして、@c
856 小節の中央に譜刻されます。
857
858 @lilypond[quote,verbatim,fragment]
859 \time 4/4
860 R1 |
861 \time 6/4
862 R1*3/2 |
863 \time 8/4
864 R1*2 |
865 @end lilypond
866
867 @cindex multi-measure rest, expanding (複数小節にまたがる休符を展開する)
868 @cindex multi-measure rest, contracting (複数小節にまたがる休符をまとめる)
869
870 @funindex \expandFullBarRests
871 @funindex expandFullBarRests
872 @funindex \compressFullBarRests
873 @funindex compressFullBarRests
874
875 デフォルトでは、複数小節にまたがる休符は@c
876 休みの小節すべてを明示的に示すように譜刻される楽譜に展開されます。@c
877 そうする代わりに、複数小節にまたがる休符を複数小節の休符記号を持つ単一の@c
878 小節として譜刻することもできます -- 休みの小節数がその小節の上に譜刻されます。
879
880 @c KEEP LY
881 @lilypond[quote,verbatim,relative=2]
882 % デフォルトの振る舞い
883 \time 3/4 r2. | R2.*2 |
884 \time 2/4 R2 |
885 \time 4/4
886 % 休みの小節を 1 つの小節にまとめます
887 \compressFullBarRests
888 r1 | R1*17 | R1*4 |
889 % 休みの小節を展開します
890 \expandFullBarRests
891 \time 3/4
892 R2.*2 |
893 @end lilypond
894
895
896 @cindex text on multi-measure rest (複数小節にまたがる休符上のテキスト)
897 @cindex multi-measure rest, attaching text (複数小節にまたがる休符にテキストを付ける)
898 @cindex script on multi-measure rest (複数小節にまたがる休符上のスクリプト)
899 @cindex multi-measure rest, script (複数小節にまたがる休符上のスクリプト)
900 @cindex fermata on multi-measure rest (複数小節にまたがる休符上のフェルマータ)
901 @cindex multi-measure rest, attaching fermata (複数小節にまたがる休符にフェルマータを付ける)
902 @cindex markup on multi-measure rest (複数小節にまたがる休符上のマークアップ)
903 @cindex multi-measure rest with markup (マークアップを持つ複数小節にまたがる休符)
904
905 @funindex \fermataMarkup
906 @funindex fermataMarkup
907 @funindex MultiMeasureRestText
908
909 マークアップを複数小節にまたがる休符に付け加えることができます。@c
910 フェルマータを付け加えるための定義済みコマンドとして
911 @code{\fermataMarkup} が提供されています。
912
913 @lilypond[quote,verbatim,relative=2]
914 \compressFullBarRests
915 \time 3/4
916 R2.*10^\markup { \italic "ad lib." }
917 R2.^\fermataMarkup
918 @end lilypond
919
920 @warning{
921 複数小節にまたがる休符に付け加えられるマークアップはタイプ
922 @code{MultiMeasureRestText} のオブジェクトであり、@c
923 @code{TextScript} ではありません。@c
924 オーバライドは正しいオブジェクトに対して行わなければなりません。@c
925 さもないと無視されます。@c
926 以下の例を見てください。
927 }
928
929 @c KEEP LY
930 @lilypond[quote,verbatim,relative=2]
931 % この例は誤ったオブジェクト名を指定しているため失敗します
932 \override TextScript.padding = #5
933 R1^"wrong"
934 % この例は正しいオブジェクト名が指定されています
935 \override MultiMeasureRestText.padding = #5
936 R1^"right"
937 @end lilypond
938
939 複数小節にまたがる休符が @code{\partial} 設定の直後にある場合、@c
940 小節チェックの警告が表示されないかもしれません。
941
942
943 @funindex \textLengthOn
944 @funindex textLengthOn
945 @funindex \textLengthOff
946 @funindex textLenthOff
947 @funindex \fermataMarkup
948 @funindex fermataMarkup
949 @funindex \compressFullBarRests
950 @funindex compressFullBarRests
951 @funindex \expandFullBarRests
952 @funindex expandFullBarRests
953
954 @predefined
955 @code{\textLengthOn},
956 @code{\textLengthOff},
957 @code{\fermataMarkup},
958 @code{\compressFullBarRests},
959 @code{\expandFullBarRests}
960 @endpredefined
961
962
963 @snippets
964
965 @c 未訳
966 @cindex church rest
967 @cindex rest, church
968 @cindex kirchenpausen
969
970 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
971 {changing-form-of-multi-measure-rests.ly}
972
973 @cindex multi-measure rests, positioning
974 @cindex positioning multi-measure rests
975
976 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
977 {positioning-multi-measure-rests.ly}
978
979 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
980 {multi-measure-rest-markup.ly}
981
982 @seealso
983 音楽用語集:
984 @rglos{multi-measure rest}
985
986 記譜法リファレンス:
987 @ref{Durations},
988 @ref{Text},
989 @ref{Formatting text},
990 @ref{Text scripts}
991
992 コード断片集:
993 @rlsr{Rhythms}
994
995 内部リファレンス:
996 @rinternals{MultiMeasureRest},
997 @rinternals{MultiMeasureRestNumber},
998 @rinternals{MultiMeasureRestText}
999
1000 @cindex fingerings and multi-measure rests (運指記号と複数小節にまたがる休符)
1001 @cindex multi-measure rests and fingerings (運指記号と複数小節にまたがる休符)
1002
1003 @knownissues
1004 複数小節にまたがる休符の上に運指記号を配置すると (例えば、@code{R1*10-4})、@c
1005 運指の数字が休みの小節数と衝突する可能性があります。
1006
1007 @cindex condensing rests (休符をまとめる)
1008 @cindex rest, condensing ordinary (通常の休符をまとめる)
1009
1010 複数の通常の休符を自動的に単一の複数小節休符にまとめる方法はありません。
1011
1012 @cindex rest, collisions of (休符の衝突)
1013
1014 複数小節にまたがる休符が休符の衝突を引き起こすことはありません。
1015
1016
1017 @node リズムを表示する
1018 @subsection リズムを表示する
1019 @translationof Displaying rhythms
1020
1021 @menu
1022 * 拍子::
1023 * メトロノーム記号::
1024 * 上拍::
1025 * 無韻律の音楽::
1026 * 多拍子記譜法::
1027 * 自動音符分割::
1028 * 旋律のリズムを示す::
1029 @end menu
1030
1031 @node 拍子
1032 @unnumberedsubsubsec 拍子
1033 @translationof Time signature
1034
1035 @cindex time signature (拍子)
1036 @cindex meter (拍)
1037
1038 @funindex \time
1039 @funindex time
1040
1041 拍子は以下のようにセットします:
1042
1043 @lilypond[quote,verbatim,fragment]
1044 \time 2/4 c''2
1045 \time 3/4 c''2.
1046 @end lilypond
1047
1048 @cindex time signature, visibility of (拍子の可視性)
1049
1050 拍子は楽曲の始まりと拍子が変更されたときに譜刻されます。@c
1051 行の終わりで変更が起こる場合、警告の拍子が行の終わりに譜刻されます。@c
1052 デフォルトの振る舞いを変更することができます。@c
1053 @ref{Visibility of objects} を参照してください。
1054
1055 @lilypond[quote,verbatim]
1056 \relative c'' {
1057   \time 2/4
1058   c2 c
1059   \break
1060   c c
1061   \break
1062   \time 4/4
1063   c c c c
1064 }
1065 @end lilypond
1066
1067 @cindex time signature style (拍子スタイル)
1068 @cindex meter style (拍スタイル)
1069
1070 @funindex \numericTimeSignature
1071 @funindex numericTimeSignature
1072 @funindex \defaultTimeSignature
1073 @funindex defaultTimeSignature
1074
1075 2/2 や 4/4 で使用される拍子は数字を使用するスタイルに変更することができます:
1076
1077 @c KEEP LY
1078 @lilypond[quote,verbatim,relative=2]
1079 % デフォルトのスタイル
1080 \time 4/4 c1
1081 \time 2/2 c1
1082 % 数字を使うスタイルに変更します
1083 \numericTimeSignature
1084 \time 4/4 c1
1085 \time 2/2 c1
1086 % デフォルトのスタイルに戻します
1087 \defaultTimeSignature
1088 \time 4/4 c1
1089 \time 2/2 c1
1090 @end lilypond
1091
1092
1093 定量拍子については @ref{Mensural time signatures} でカバーされています。
1094
1095 @cindex time signature default settings (拍子のデフォルト設定)
1096 @cindex autobeaming properties for time signatures (拍子のための自動連桁プロパティ)
1097 @cindex beaming, time signature default properties (連桁と拍子のデフォルト プロパティ)
1098 @funindex \overrideTimeSignatureSettings
1099
1100
1101 @predefined
1102 @code{\numericTimeSignature},
1103 @code{\defaultTimeSignature}
1104 @endpredefined
1105
1106 譜刻される拍子を設定することに加えて、@c
1107 @code{\time} コマンドは拍子に基づくプロパティ
1108 @code{baseMoment}, @code{beatStructure}, それに @code{beamExceptions}
1109 のデフォルト値も設定します。@c
1110 これらのプロパティにあらかじめ定義されているデフォルト値は
1111 @file{scm/time-signature-settings.scm} で見つかります。@c
1112 既存のデフォルト値を変更したり、新しいデフォルト値を変更したりすることができます:
1113
1114 @lilypond[quote,verbatim]
1115 \score {
1116   \new Staff {
1117     \relative c' {
1118       \overrideTimeSignatureSettings
1119         4/4        % timeSignatureFraction
1120         1/4        % baseMomentFraction
1121         #'(3 1)    % beatStructure
1122         #'()       % beamExceptions
1123       \time 4/4
1124       \repeat unfold 8 { c8 } |
1125     }
1126   }
1127 }
1128 @end lilypond
1129
1130 @code{\overrideTimeSignatureSettings} は 4 つの引数をとります:
1131
1132 @enumerate
1133
1134 @item
1135 @code{@var{timeSignatureFraction}}, 拍子を示す分数。
1136
1137 @item
1138 @code{@var{baseMomentFraction}}, 拍子の基本タイミングの単位となる@c
1139 分子と分母を保持する分数。
1140
1141 @item
1142 @code{@var{beatStructure}}, 小節の拍構造を示す Scheme リスト。@c
1143 基本タイミングを単位とします。
1144
1145 @item
1146 @code{@var{beamExceptions}}, 指定された拍子でそれぞれの拍で終了しない@c
1147 連桁の規則を保持する配列リスト。@c
1148 @ref{自動連桁の振る舞いを設定する} に説明があります。
1149 @end enumerate
1150
1151 @code{\overrideTimeSignatureSettings} を保持するコンテキストは、@c
1152 その @code{\overrideTimeSignatureSettings} 呼び出しが実行される前に@c
1153 インスタンス化されている必要があります。@c
1154 このことは、そのようなコンテキストは明示的にインスタンス化するか、@c
1155 そのコンテキスト内で @code{\overrideTimeSignatureSettings} の前に@c
1156 音楽を置いておく必要があるということを意味します:
1157
1158 @c KEEP LY
1159 @lilypond[quote,verbatim]
1160 \score {
1161   \relative c' {
1162     % コンテキストがまだインスタンス化されていないため、この呼び出しは失敗します
1163     \overrideTimeSignatureSettings
1164       4/4        % timeSignatureFraction
1165       1/4        % baseMomentFraction
1166       #'(3 1)    % beatStructure
1167       #'()       % beamExceptions
1168     \time 4/4
1169     c8^\markup {"Beamed (2 2)"}
1170     \repeat unfold 7 { c8 } |
1171     % この呼び出しは成功します
1172     \overrideTimeSignatureSettings
1173       4/4        % timeSignatureFraction
1174       1/4        % baseMomentFraction
1175       #'(3 1)    % beatStructure
1176       #'()       % beamExceptions
1177     \time 4/4
1178     c8^\markup {"Beamed (3 1)"}
1179     \repeat unfold 7 { c8 } |
1180   }
1181 }
1182 @end lilypond
1183
1184 @cindex time signature properties, restoring default values (拍子プロパティをデフォルト値に戻す)
1185 @cindex restoring default properties for time signatures (拍子をデフォルト プロパティに戻す)
1186 @funindex \revertTimeSignatureSettings
1187
1188 デフォルトの拍子プロパティ値の変更を元の値に戻すことができます:
1189
1190 @lilypond[quote,verbatim]
1191 \score{
1192   \relative {
1193     \repeat unfold 8 { c'8 } |
1194     \overrideTimeSignatureSettings
1195       4/4        % timeSignatureFraction
1196       1/4        % baseMomentFraction
1197       #'(3 1)    % beatStructure
1198       #'()       % beamExceptions
1199     \time 4/4
1200     \repeat unfold 8 { c8 } |
1201     \revertTimeSignatureSettings 4/4
1202     \time 4/4
1203     \repeat unfold 8 { c8 } |
1204   }
1205 }
1206 @end lilypond
1207
1208 @code{Timing_translator} と @code{Default_bar_line_engraver} を@c
1209 @code{Score} コンテキストから @code{Staff} コンテキストに移動させることにより、@c
1210 異なる譜に対して異なる値のデフォルト拍子プロパティを割り当てることができます。
1211
1212 @lilypond[quote, verbatim]
1213 \score {
1214   \new StaffGroup <<
1215      \new Staff {
1216         \overrideTimeSignatureSettings
1217           4/4        % timeSignatureFraction
1218           1/4        % baseMomentFraction
1219           #'(3 1)    % beatStructure
1220           #'()       % beamExceptions
1221         \time 4/4
1222         \repeat unfold 8 {c''8}
1223      }
1224      \new Staff {
1225         \overrideTimeSignatureSettings
1226           4/4        % timeSignatureFraction
1227           1/4        % baseMomentFraction
1228           #'(1 3)    % beatStructure
1229           #'()       % beamExceptions
1230         \time 4/4
1231         \repeat unfold 8 {c''8}
1232      }
1233   >>
1234   \layout {
1235     \context {
1236       \Score
1237       \remove "Timing_translator"
1238       \remove "Default_bar_line_engraver"
1239     }
1240     \context {
1241       \Staff
1242       \consists "Timing_translator"
1243       \consists "Default_bar_line_engraver"
1244     }
1245   }
1246 }
1247 @end lilypond
1248
1249 @predefined
1250 @code{\numericTimeSignature},
1251 @code{\defaultTimeSignature}
1252 @endpredefined
1253
1254
1255 @snippets
1256 @lilypondfile[verbatim,quote,texidoc,doctitle]
1257 {time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly}
1258
1259 @seealso
1260 音楽用語集:
1261 @rglos{time signature}
1262
1263 記譜法リファレンス:
1264 @ref{Mensural time signatures},
1265 @ref{Time administration}
1266
1267 コード断片集:
1268 @rlsr{Rhythms}
1269
1270 内部リファレンス:
1271 @rinternals{TimeSignature},
1272 @rinternals{Timing_translator}
1273
1274
1275 @node メトロノーム記号
1276 @unnumberedsubsubsec メトロノーム記号
1277 @translationof Metronome marks
1278
1279 @cindex tempo (テンポ)
1280 @cindex beats per minute (1 分毎の拍数)
1281 @cindex metronome mark (メトロノーム記号)
1282 @cindex metronome marking with text (テキストを持つメトロノーム記号)
1283
1284 @funindex \tempo
1285 @funindex tempo
1286
1287 基本的なメトロノーム記号は単純に以下のように記述します:
1288
1289 @lilypond[verbatim,quote]
1290 \relative {
1291   \tempo 4 = 120
1292   c'2 d
1293   e4. d8 c2
1294 }
1295 @end lilypond
1296
1297 メトロノーム記号を 2 つの数の範囲として譜刻することもできます:
1298
1299 @lilypond[verbatim,quote]
1300 \relative {
1301   \tempo 4 = 40 - 46
1302   c'4. e8 a4 g
1303   b,2 d4 r
1304 }
1305 @end lilypond
1306
1307 テキストを持つテンポ指示にすこともできます:
1308
1309 @lilypond[verbatim,quote]
1310 \relative {
1311   \tempo "Allegretto"
1312     c''4 e d c
1313     b4. a16 b c4 r4
1314 }
1315 @end lilypond
1316
1317 メトロノーム記号とテキストを組み合わせると、@c
1318 メトロノーム記号は自動的に括弧で囲まれます:
1319
1320 @lilypond[verbatim,quote]
1321 \relative {
1322   \tempo "Allegro" 4 = 160
1323   g'4 c d e
1324   d4 b g2
1325 }
1326 @end lilypond
1327
1328 一般に、テキストを任意のマークアップ オブジェクトにすることができます:
1329
1330 @lilypond[verbatim,quote]
1331 \relative {
1332   \tempo \markup { \italic Faster } 4 = 132
1333   a'8-. r8 b-. r gis-. r a-. r
1334 }
1335 @end lilypond
1336
1337 テキストを伴わないメトロノーム記号を括弧で囲むには、@c
1338 空の文字列を含めて記述します:
1339
1340 @lilypond[verbatim,quote]
1341 \relative {
1342   \tempo "" 8 = 96
1343   d''4 g e c
1344 }
1345 @end lilypond
1346
1347
1348 @snippets
1349
1350 @lilypondfile[verbatim,quote,texidoc,doctitle]
1351 {printing-metronome-and-rehearsal-marks-below-the-staff.ly}
1352
1353 @c perhaps also an example of how to move it horizontally?
1354
1355 @lilypondfile[verbatim,quote,texidoc,doctitle]
1356 {changing-the-tempo-without-a-metronome-mark.ly}
1357
1358 @lilypondfile[verbatim,quote,texidoc,doctitle]
1359 {creating-metronome-marks-in-markup-mode.ly}
1360
1361 詳細は @ref{Formatting text} を参照してください。
1362
1363 @seealso
1364 音楽用語集:
1365 @rglos{metronome},
1366 @rglos{metronomic indication},
1367 @rglos{tempo indication},
1368 @rglos{metronome mark}
1369
1370 記譜法リファレンス:
1371 @ref{Formatting text},
1372 @ref{MIDI output}
1373
1374 コード断片集:
1375 @rlsr{Staff notation}
1376
1377 内部リファレンス:
1378 @rinternals{MetronomeMark}
1379
1380
1381 @node 上拍
1382 @unnumberedsubsubsec 上拍
1383 @translationof Upbeats
1384
1385 @cindex anacrusis (弱拍)
1386 @cindex upbeat (上拍)
1387 @cindex partial measure (部分小節)
1388 @cindex measure, partial (部分小節)
1389 @cindex measure, pickup (ピックアップ小節)
1390 @cindex pickup measure (ピックアップ小節)
1391
1392 @funindex measurePosition
1393 @funindex \partial
1394 @funindex partial
1395
1396 @emph{弱拍} や @emph{上拍} などのような部分小節またはピックアップ小節は、@c
1397 @code{\partial} コマンドを使って入力します:@c
1398
1399 @example
1400 \partial @var{duration}
1401 @end example
1402
1403 @noindent
1404 @code{duration} は、最初の完全な長さを持つ小節の前に置かれる小節の長さです:
1405
1406 @lilypond[quote,verbatim,relative=1]
1407 \time 3/4
1408 \partial 8
1409 e8 | a4 c8 b c4 |
1410 @end lilypond
1411
1412 @var{duration} は、完全な長さを持つ小節より短い演奏時間であれば、@c
1413 任意の値を取ることができます:
1414
1415 @lilypond[quote,verbatim]
1416 \relative {
1417   \time 3/4
1418   \partial 4.
1419   r4 e'8 | a4 c8 b c4 |
1420 }
1421 @end lilypond
1422
1423 @code{\partial @var{duration}} を以下のように記述することもできます:
1424
1425 @example
1426 \set Timing.measurePosition -@var{duration}
1427 @end example
1428
1429 この場合、@code{\partial 8} は以下のようになります:
1430
1431 @lilypond[quote,verbatim,relative=1]
1432 \time 3/4
1433 \set Timing.measurePosition = #(ly:make-moment -1/8)
1434 e8 | a4 c8 b c4 |
1435 @end lilypond
1436
1437 プロパティ @code{measurePosition} は、@c
1438 ある時点でその小節はどれくらい演奏済みになっているかを示す有理数を保持します。@c
1439 このプロパティは @code{\partial} によって負の数にセットされるということに@c
1440 注意してください:
1441 すなわち、@code{\partial 4} は内部的に @w{@code{-4}} に翻訳され、@c
1442 @qq{その小節には 4 分音符が残っている} という意味になります。
1443
1444 @seealso
1445 音楽用語集:
1446 @rglos{anacrusis}
1447
1448 記譜法リファレンス:
1449 @ref{Grace notes}
1450
1451 コード断片集:
1452 @rlsr{Rhythms}
1453
1454 内部リファレンス:
1455 @rinternals{Timing_translator}
1456
1457
1458 @knownissues
1459 @code{\partial} コマンドは楽曲の開始時でのみ使用すべきです。@c
1460 楽曲の途中でこのコマンドを使用した場合、@c
1461 警告や問題が発生する可能性があります。@c
1462 曲の途中では @code{\partial} の代わりに
1463 @code{\set Timing.measurePosition} を使用してください。
1464
1465 @lilypond[quote,verbatim,relative=1]
1466 \time 6/8
1467 \partial 8
1468 e8 | a4 c8 b[ c b] |
1469 \set Timing.measurePosition = #(ly:make-moment -1/4)
1470 r8 e,8 | a4 c8 b[ c b] |
1471 @end lilypond
1472
1473
1474 @node 無韻律の音楽
1475 @unnumberedsubsubsec 無韻律の音楽
1476 @translationof Unmetered music
1477
1478 @cindex cadenza (カデンツァ)
1479 @cindex cadenza, beams (カデンツァでの連桁)
1480 @cindex cadenza, accidentals (カデンツァでの臨時記号)
1481 @cindex cadenza, bar lines (カデンツァでの小節線)
1482 @cindex cadenza, bar numbers (カデンツァでの小節番号)
1483 @cindex unmetered music (無韻律の音楽)
1484 @cindex unmetered music, beams (無韻律の音楽での連桁)
1485 @cindex unmetered music, accidentals (無韻律の音楽での臨時記号)
1486 @cindex unmetered music, bar lines (無韻律の音楽での小節線)
1487 @cindex unmetered music, bar numbers (無韻律の音楽での小節番号)
1488 @cindex accidentals, cadenzas (カデンツァでの臨時記号)
1489 @cindex accidentals, unmetered music (無韻律の音楽での臨時記号)
1490 @cindex bar lines, cadenzas (カデンツァでの小節線)
1491 @cindex bar lines, unmetered music (無韻律の音楽での小節線)
1492 @cindex bar numbers, cadenzas (カデンツァでの小節番号)
1493 @cindex bar numbers, unmetered music (無韻律の音楽での小節番号)
1494 @cindex beams, cadenzas (カデンツァでの連桁)
1495 @cindex beams, unmetered music (無韻律の音楽での連桁)
1496
1497 @funindex \cadenzaOn
1498 @funindex cadenzaOn
1499 @funindex \cadenzaOff
1500 @funindex cadenzaOff
1501
1502 韻律のある音楽では、自動的に小節線が挿入され、小節番号が算出されます。@c
1503 無韻律の音楽 (例えばカデンツァ) では、これは望ましくなく、コマンド
1504 @code{\cadenzaOn} を用いて @q{スイッチ off} することができます。@c
1505 @q{スイッチ on} に戻すには、適切な場所で @code{\cadenzaOff} を用います。
1506
1507 @lilypond[verbatim,quote]
1508 \relative c'' {
1509   c4 d e d
1510   \cadenzaOn
1511   c4 c d8[ d d] f4 g4.
1512   \cadenzaOff
1513   \bar "|"
1514   d4 e d c
1515 }
1516 @end lilypond
1517
1518 カデンツァが終わると、小節番号が再開されます。
1519
1520 @lilypond[verbatim,relative=2,quote]
1521 % すべての小節番号を表示します
1522 \override Score.BarNumber.break-visibility = #all-visible
1523 c4 d e d
1524 \cadenzaOn
1525 c4 c d8[ d d] f4 g4.
1526 \cadenzaOff
1527 \bar "|"
1528 d4 e d c
1529 @end lilypond
1530
1531 カデンツァの中に @code{\bar} コマンドを挿入したとしても、新しい小節が@c
1532 始まることはありません。@c
1533 そのため、注意喚起のための臨時記号は手動で挿入する必要があります。@c
1534 @ref{Accidentals} を参照してください。
1535
1536 自動連桁は @code{\cadenzaOn} で off になり、@c
1537 @code{\cadenzaOff} で on になります。@c
1538 このため、カデンツァ内の連桁はすべて手動で入力する必要があります
1539 (@ref{手動連桁})。
1540
1541 @lilypond[verbatim,relative=2,quote]
1542 c4 d e d
1543 \cadenzaOn
1544 cis4 d cis d
1545 \bar "|"
1546 cis4 d cis! d
1547 \cadenzaOff
1548 \bar "|"
1549 @end lilypond
1550
1551 自動連桁は @code{\cadenzaOn} によって off になります。@c
1552 そのため、カデンツァの中に連桁を挿入するには手動で行う必要があります。@c
1553 @ref{Manual beams} を参照してください。
1554
1555 @lilypond[verbatim,quote]
1556 \relative {
1557   \repeat unfold 8 { c''8 }
1558   \cadenzaOn
1559   cis8 c c c c
1560   \bar"|"
1561   c8 c c
1562   \cadenzaOff
1563   \repeat unfold 8 { c8 }
1564 }
1565 @end lilypond
1566
1567 +These predefined commands affect all staves in the score, even when
1568 +placed in just one @code{Voice} context.  To change this, move the
1569 +@code{Timing_translator} from the @code{Score} context to the
1570 +@code{Staff} context.  See @ref{Polymetric notation}.
1571 これらの定義済みコマンドは、たとえ @code{Voice} コンテキストの 1 つの@c
1572 中に配置したとしても、楽譜の中にあるすべての譜に影響を与えます。@c
1573 これを変更するには、@code{Timing_translator} を @code{Score} コンテキスト@c
1574 から @code{Staff} コンテキストに移動させます。@c
1575 @ref{Polymetric notation} を参照してください。
1576
1577 @predefined
1578 @code{\cadenzaOn},
1579 @code{\cadenzaOff}
1580 @endpredefined
1581
1582 @seealso
1583 音楽用語集:
1584 @rglos{cadenza}
1585
1586 記譜法リファレンス:
1587 @ref{Visibility of objects},
1588 @ref{Polymetric notation},
1589 @ref{Manual beams},
1590 @ref{Accidentals}
1591
1592 コード断片集:
1593 @rlsr{Rhythms}
1594
1595 @cindex cadenza, line breaks (カデンツァでの改行)
1596 @cindex cadenza, page breaks (カデンツァでの改ページ)
1597 @cindex unmetered music, line breaks (無韻律の音楽での改行)
1598 @cindex unmetered music, page breaks (無韻律の音楽での改ページ)
1599 @cindex breaks in unmetered music (無韻律の音楽での改行、改ページ)
1600 @cindex line breaks, cadenzas (カデンツァでの改行)
1601 @cindex page breaks, cadenzas (カデンツァでの改ページ)
1602 @cindex line breaks, unmetered music (無韻律の音楽での改行)
1603 @cindex page breaks, unmetered music (無韻律の音楽での改ページ)
1604
1605 @knownissues
1606 自動の改行と改ページが挿入されるのは小節線のある場所だけです。@c
1607 そのため、長い無韻律の音楽で改行や改ページを行うには手動で @q{不可視の}
1608 小節線を挿入する必要があります:
1609
1610 @example
1611 \bar ""
1612 @end example
1613
1614 @code{\cadenzaOn} で楽曲を始める場合、@c
1615 @code{Voice} コンテキストを明示的に作成すべきです。@c
1616 さもないと、予期しないエラーが発生する可能性があります。
1617
1618 @example
1619 \new Voice @{
1620   \relative c' @{
1621     \cadenzaOn
1622     c16[^"Solo Free Time" d e f] g2.
1623     \bar "||"
1624     \cadenzaOff
1625   @}
1626 @}
1627 @end example
1628
1629
1630 @node 多拍子記譜法
1631 @unnumberedsubsubsec 多拍子記譜法
1632 @translationof Polymetric notation
1633
1634 @c This section necessarily uses \set
1635 @c This is acceptable  -td
1636
1637 @cindex double time signatures (2 重拍子)
1638 @cindex signatures, polymetric (多拍子)
1639 @cindex time signatures, polymetric (多拍子)
1640 @cindex time signatures, double (2 重拍子)
1641 @cindex polymetric signatures (多拍子)
1642 @cindex meter, polymetric (多拍子)
1643
1644 @funindex timeSignatureFraction
1645 @funindex \scaleDurations
1646 @funindex scaleDurations
1647 @funindex \times
1648 @funindex times
1649
1650 多拍子記譜法がサポートされます。
1651 複合拍子記譜法がサポートされます。@c
1652 明示的な複合拍子と、拍子指定を変更して音符の演奏時間を@c
1653 伸縮することによる複合拍子のどちらもです。
1654
1655
1656 @subsubheading それぞれの譜は異なる拍子を持ち、小節の長さは等価である場合
1657
1658 各譜共通の拍子記号をセットして、@c
1659 @code{timeSignatureFraction} にお望みの分数をセットします。@c
1660 それから、@code{\scaleDurations} 関数を用いて共通の拍子記号に対する
1661 各譜の音符の演奏時間を伸縮させます。
1662
1663 @cindex beams, with polymetric meters (多拍子での連桁)
1664 @cindex polymetric meters, with beams (多拍子での連桁)
1665
1666 以下の例では、拍子記号 3/4, 9/8, それに 10/8 の音楽が並列しています。@c
1667 2 番目の譜では示された演奏時間に 2/3 が掛けられ
1668 (なぜなら、2/3 * 9/8 = 3/4 だからです)、@c
1669 3 番目の譜では示された演奏時間に 3/5 が掛けられます
1670 (なぜなら、3/5 * 10/8 = 3/4 だからです)。@c
1671 演奏時間の伸縮は自動連桁の規則に影響を与えるため、@c
1672 手動で連桁を付ける必要があるかもしれません。
1673
1674 @lilypond[quote,verbatim]
1675 \relative <<
1676   \new Staff {
1677     \time 3/4
1678     c'4 c c |
1679     c4 c c |
1680   }
1681   \new Staff {
1682     \time 3/4
1683     \set Staff.timeSignatureFraction = 9/8
1684     \scaleDurations 2/3
1685       \repeat unfold 6 { c8[ c c] }
1686   }
1687   \new Staff {
1688     \time 3/4
1689     \set Staff.timeSignatureFraction = 10/8
1690     \scaleDurations 3/5 {
1691       \repeat unfold 2 { c8[ c c] }
1692       \repeat unfold 2 { c8[ c] } |
1693       c4. c \tuplet 3/2 { c8[ c c] } c4
1694     }
1695   }
1696 >>
1697 @end lilypond
1698
1699
1700 @subsubheading それぞれの譜は異なる拍子を持ち、小節の長さは等価ではない場合
1701
1702 @code{Timing_translator} と @code{Default_bar_line_engraver} を
1703 @code{Staff} コンテキストに移すことによって、@c
1704 それぞれの譜に独立した拍子を与えることができます。
1705
1706 @c KEEP LY
1707 @lilypond[quote,verbatim]
1708 \layout {
1709   \context {
1710     \Score
1711     \remove "Timing_translator"
1712     \remove "Default_bar_line_engraver"
1713   }
1714   \context {
1715     \Staff
1716     \consists "Timing_translator"
1717     \consists "Default_bar_line_engraver"
1718   }
1719 }
1720
1721 % 以上で、各譜はそれぞれに拍子を持つようになります
1722
1723 \relative <<
1724   \new Staff {
1725     \time 3/4
1726     c'4 c c |
1727     c4 c c |
1728   }
1729   \new Staff {
1730     \time 2/4
1731     c4 c |
1732     c4 c |
1733     c4 c |
1734   }
1735   \new Staff {
1736     \time 3/8
1737     c4. |
1738     c8 c c |
1739     c4. |
1740     c8 c c |
1741   }
1742 >>
1743 @end lilypond
1744
1745 @funindex \compoundMeter
1746 @cindex compound time signatures (複合拍子記号)
1747 @cindex time signature, compound
1748
1749 @subsubheading 複合拍子記号
1750
1751 複合拍子記号は @code{\compoundMeter} を用いて作成します。@c
1752 構文は以下の通りです:
1753
1754 @example
1755 \compoundMeter #'@code{(list of lists)}
1756 @end example
1757
1758 最も簡単な構成は単一のリストであり、@c
1759 リストの @emph{最後の} 数字が拍子記号の分母になります。
1760
1761 @lilypond[quote,verbatim]
1762 \relative {
1763   \compoundMeter #'((2 2 2 8))
1764   \repeat unfold 6 c'8 \repeat unfold 12 c16
1765 }
1766 @end lilypond
1767
1768 リストを追加することでより複雑な拍子を構築することができます。@c
1769 また、この関数で指定された値に基づいて自動連桁の設定は調節されます。
1770
1771 @lilypond[quote,verbatim]
1772 \relative {
1773   \compoundMeter #'((1 4) (3 8))
1774   \repeat unfold 5 c'8 \repeat unfold 10 c16
1775 }
1776
1777 \relative {
1778   \compoundMeter #'((1 2 3 8) (3 4))
1779   \repeat unfold 12 c'8
1780 }
1781 @end lilypond
1782
1783 @seealso
1784 音楽用語集:
1785 @rglos{polymetric},
1786 @rglos{polymetric time signature},
1787 @rglos{meter}
1788
1789 記譜法リファレンス:
1790 @ref{Automatic beams},
1791 @ref{Manual beams},
1792 @ref{Time signature},
1793 @ref{Scaling durations}
1794
1795 コード断片集:
1796 @rlsr{Rhythms}
1797
1798 内部リファレンス:
1799 @rinternals{TimeSignature},
1800 @rinternals{Timing_translator},
1801 @rinternals{Default_bar_line_engraver},
1802 @rinternals{Staff}
1803
1804 @knownissues
1805 異なる拍子を持つ譜が並列に並べられている場合、@c
1806 同時に起こる音符の水平方向の位置は同じになります。@c
1807 しかしながら、それぞれの譜の小節線により、@c
1808 音符の間隔は通常の異なる拍子が無い場合よりも不規則になります。
1809
1810
1811 @node 自動音符分割
1812 @unnumberedsubsubsec 自動音符分割
1813 @translationof Automatic note splitting
1814
1815 @cindex notes, splitting (音符を分割する)
1816 @cindex splitting notes (音符を分割する)
1817 @cindex rests, splitting (休符を分割する)
1818 @cindex splitting rests (休符を分割する)
1819
1820 @funindex Note_heads_engraver
1821 @funindex Completion_heads_engraver
1822 @funindex Completion_rest_engraver
1823
1824 小節線をまたがる長い音符を自動的にタイで結ばれた音符に変換することができます。@c
1825 これを行うには、@code{Note_heads_engraver} を @code{Completion_heads_engraver}
1826 で置き換えます。@c
1827 同様に、小節線をまたがる長い休符を自動的に分割することができます。
1828 これを行うには、@code{Rest_engraver} を @code{Completion_rest_engraver}
1829 で置き換えます。@c
1830 以下の例では、小節線をまたがる音符と休符は分割され、@c
1831 音符はされにタイで結ばれています。
1832
1833 @lilypond[quote,verbatim]
1834 \new Voice \with {
1835   \remove "Note_heads_engraver"
1836   \consists "Completion_heads_engraver"
1837   \remove "Rest_engraver"
1838   \consists "Completion_rest_engraver"
1839 }
1840 \relative {
1841   c'2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2
1842 }
1843 @end lilypond
1844
1845 これらのエングラーバは進行中の音符と休符をすべて小節線のところで分割して、@c
1846 音符に対してはタイを挿入します。@c
1847 これらのエングラーバの用途の 1 つに複雑な楽譜のデバッグがあります:
1848 何小節かで音符がきちんと満たされていない場合、@c
1849 このエングラーバで挿入されたタイが、それぞれの小節の狂いを示します。
1850
1851
1852 @seealso
1853 音楽用語集: @rglos{tie}
1854
1855 学習マニュアル:
1856 @rlearning{Engravers explained},
1857 @rlearning{Adding and removing engravers}
1858
1859 コード断片集:
1860 @rlsr{Rhythms}
1861
1862 内部リファレンス:
1863 @rinternals{Note_heads_engraver},
1864 @rinternals{Completion_heads_engraver},
1865 @rinternals{Rest_engraver},
1866 @rinternals{Completion_rest_engraver},
1867 @rinternals{Forbid_line_break_engraver}
1868
1869 @knownissues
1870 すべての演奏時間を通常の音符と付点で正確に表すことはできません
1871 (特に、連符を含んでいる場合) が、@c
1872 @code{Completion_heads_engraver} が連符を挿入することはありません。
1873
1874 @code{Completion_heads_engraver} は音符にだけ作用します。@c
1875 休符を分割することはありません。
1876
1877
1878 @node 旋律のリズムを示す
1879 @unnumberedsubsubsec 旋律のリズムを示す
1880 @translationof Showing melody rhythms
1881
1882 @cindex melody rhythms, showing (旋律のリズムを示す)
1883 @cindex rhythms, showing melody (旋律のリズムを示す)
1884
1885 しばしば旋律のリズムだけを示したいことがあります。@c
1886 これはリズム譜を使うことで達成できます。@c
1887 そのような譜上にある音符のピッチはすべて破棄され、その譜自体は 1 本の@c
1888 線を持ちます:
1889
1890 @lilypond[quote,verbatim]
1891 <<
1892   \new RhythmicStaff {
1893     \new Voice = "myRhythm" \relative {
1894       \time 4/4
1895       c'4 e8 f g2
1896       r4 g g f
1897       g1
1898     }
1899   }
1900   \new Lyrics {
1901     \lyricsto "myRhythm" {
1902       This is my song
1903       I like to sing
1904     }
1905   }
1906 >>
1907 @end lilypond
1908
1909 @cindex guitar chord charts (ギター コード表)
1910 @cindex strumming rhythms, showing (つま弾き (ストラム) のリズムを示す)
1911 @cindex guitar strumming rhythms, showing (ギターのつま弾き (ストラム) のリズムを示す)
1912
1913 @funindex Pitch_squash_engraver
1914 @funindex \improvisationOn
1915 @funindex improvisationOn
1916 @funindex \improvisationOff
1917 @funindex improvisationOff
1918
1919 ギター コード表はしばしばつま弾き (ストラム) のリズムを示します。@c
1920 これは @code{Pitch_squash_engraver} と @code{\improvisationOn} を@c
1921 使うことで達成できます。
1922
1923
1924 @lilypond[quote,verbatim]
1925 <<
1926   \new ChordNames {
1927     \chordmode {
1928       c1 f g c
1929     }
1930   }
1931   \new Voice \with {
1932     \consists "Pitch_squash_engraver"
1933   } \relative c'' {
1934     \improvisationOn
1935     c4 c8 c c4 c8 c
1936     f4 f8 f f4 f8 f
1937     g4 g8 g g4 g8 g
1938     c4 c8 c c4 c8 c
1939   }
1940 >>
1941 @end lilypond
1942
1943
1944 @predefined
1945 @code{\improvisationOn},
1946 @code{\improvisationOff}
1947 @endpredefined
1948
1949
1950 @snippets
1951
1952 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
1953 {guitar-strum-rhythms.ly}
1954
1955 @seealso
1956 コード断片集:
1957 @rlsr{Rhythms}
1958
1959 内部リファレンス:
1960 @rinternals{RhythmicStaff},
1961 @rinternals{Pitch_squash_engraver}
1962
1963
1964 @node 連桁
1965 @subsection 連桁
1966 @translationof Beams
1967
1968 @menu
1969 * 自動連桁::
1970 * 自動連桁の振る舞いを設定する::
1971 * 手動連桁::
1972 * 羽状の連桁::
1973 @end menu
1974
1975
1976 @node 自動連桁
1977 @unnumberedsubsubsec 自動連桁
1978 @translationof Automatic beams
1979
1980 デフォルトでは、連桁は自動的に挿入されます:
1981
1982 @cindex beams, manual (手動連桁)
1983 @cindex manual beams (手動連桁)
1984 @cindex beams, customizing rules (連桁の規則をカスタマイズする)
1985
1986 @funindex \autoBeamOn
1987 @funindex autoBeamOn
1988 @funindex \autoBeamOff
1989 @funindex autoBeamOff
1990
1991 @lilypond[quote,verbatim]
1992 \relative c'' {
1993   \time 2/4 c8 c c c
1994   \time 6/8 c8 c c c8. c16 c8
1995 }
1996 @end lilypond
1997
1998 自動的に決定される連桁が満足いかないものである場合、@c
1999 明示的に連桁を挿入することが可能です
2000 -- @ref{手動連桁} を参照してください。@c
2001 連桁を休符の上まで伸ばそうと意図しているのなら、@c
2002 連桁を手動で挿入する @emph{必要があります}。
2003
2004 自動連桁を必要としない場合、@c
2005 @code{\autoBeamOff} で off にすることができ、@c
2006 @code{\autoBeamOn} で on にすることができます:
2007
2008 @lilypond[quote,verbatim]
2009 \relative c' {
2010   c4 c8 c8. c16 c8. c16 c8
2011   \autoBeamOff
2012   c4 c8 c8. c16 c8.
2013   \autoBeamOn
2014   c16 c8
2015 }
2016 @end lilypond
2017
2018 @cindex melismata, with beams (メリスマの連桁)
2019 @cindex beams, with melismata (メリスマの連桁)
2020
2021 @warning{歌曲の中でメリスマを表すために連桁を使用する場合、@c
2022 @code{\autoBeamOff} で自動連桁を off にして、手動で連桁を示すべきです。@c
2023 @code{@bs{}partcombine} を @code{@bs{}autoBeamOff} と一緒に@c
2024 用いると予期しない結果になる可能性があります。@c
2025 詳細はコード断片集を参照してください。}
2026
2027 自動的に挿入されるデフォルトの連桁とは異なるパターンの連桁を@c
2028 作成することができます
2029 -- @ref{自動連桁の振る舞いを設定する} を参照してください。
2030
2031 @predefined
2032 @code{\autoBeamOff},
2033 @code{\autoBeamOn}
2034 @endpredefined
2035
2036 @cindex beams, line breaks (連桁と改行)
2037 @cindex line breaks, beams (改行と連桁)
2038 @c 未訳
2039 @cindex beams, with knee gap
2040 @cindex knee gap, with beams
2041 @funindex breakable
2042
2043 @snippets
2044 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2045 {beams-across-line-breaks.ly}
2046
2047 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2048 {changing-beam-knee-gap.ly}
2049
2050 @cindex beams, \partcombine with \autoBeamOff (連桁と \autoBeamOff を伴う \partcombine)
2051 @cindex voices, \partcombine with \autoBeamOff (ボイスと \autoBeamOff を伴う \partcombine)
2052
2053 @lilypondfile [verbatim, quote, ragged-right, texidoc, doctitle]
2054 {partcombine-and-autobeamoff.ly}
2055
2056 @seealso
2057 記譜法リファレンス:
2058 @ref{Manual beams},
2059 @ref{Setting automatic beam behavior}.
2060
2061 インストールされているファイル:
2062 @file{scm/auto-beam.scm}
2063
2064 コード断片集:
2065 @rlsr{Rhythms}
2066
2067 内部リファレンス:
2068 @rinternals{Auto_beam_engraver},
2069 @rinternals{Beam_engraver},
2070 @rinternals{Beam},
2071 @rinternals{BeamEvent},
2072 @rinternals{BeamForbidEvent},
2073 @rinternals{beam-interface},
2074 @rinternals{unbreakable-spanner-interface}
2075
2076 @knownissues
2077 連桁のプロパティは連桁構築の開始時に決定され、@c
2078 その後から連桁の完了までの間に追加された連桁プロパティの変更は
2079 @emph{次の} 連桁から影響を与えます。
2080
2081
2082 @node 自動連桁の振る舞いを設定する
2083 @unnumberedsubsubsec 自動連桁の振る舞いを設定する
2084 @translationof Setting automatic beam behavior
2085
2086 @cindex beams, with lyrics (連桁と歌詞)
2087 @cindex lyrics, with beams (歌詞と連桁)
2088
2089 @funindex autoBeaming
2090 @funindex baseMoment
2091 @funindex beamExceptions
2092 @funindex beatStructure
2093 @funindex measureLength
2094 @funindex \time
2095 @funindex time
2096 @funindex \set
2097 @funindex set
2098
2099 たいていの場合、自動連桁は拍の終わりで終了します。@c
2100 拍の終了点はコンテキスト プロパティ @code{baseMoment} と
2101 @code{beatStructure} によって決定されます。@c
2102 @code{beatStructure} は @code{baseMoment} を単位とする小節の各拍の@c
2103 長さを定義する Scheme リストです。@c
2104 デフォルトでは、@code{baseMoment} は @q{1/拍子の分母} です。@c
2105 デフォルトでは、各拍の長さは @code{baseMoment} です。
2106
2107 @lilypond[quote,relative=2,verbatim]
2108 \time 5/16
2109 c16^"default" c c c c |
2110 \set Timing.beatStructure = #'(2 3)
2111 c16^"(2+3)" c c c c |
2112 \set Timing.beatStructure = #'(3 2)
2113 c16^"(3+2)" c c c c |
2114 @end lilypond
2115
2116 連桁の設定変更をある特定のテキストに限定することができます。@c
2117 下位コンテキストに連桁の設定が含まれない場合、@c
2118 そのコンテキストを囲んでいる上位コンテキストの設定が適用されます。
2119
2120 @lilypond[quote, verbatim,relative=1]
2121 \new Staff {
2122   \time 7/8
2123   \set Staff.beatStructure = #'(2 3 2)
2124   <<
2125     \new Voice = one {
2126       \relative {
2127         a'8 a a a a a a
2128       }
2129     }
2130     \new Voice = two {
2131       \relative {
2132         \voiceTwo
2133         \set Voice.beatStructure = #'(1 3 3)
2134         f'8 f f f f f f
2135       }
2136     }
2137   >>
2138 }
2139 @end lilypond
2140
2141 譜で複数のボイスが使用されている場合に@c
2142 連桁設定を譜のすべてのボイスに適用するには、@c
2143 @code{Staff} コンテキストで設定を行う必要があります:
2144
2145 @c KEEP LY
2146 @lilypond[quote,verbatim,relative=2]
2147 \time 7/8
2148 % リズム 3-1-1-2
2149 % デフォルトで連桁設定の変更は Voice に適用され、うまくいきません
2150 % なぜなら、自動生成されるボイスで、すべての拍は baseMoment (1 . 8) だからです
2151 \set beatStructure = #'(3 1 1 2)
2152 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2153
2154 % コンテキスト Staff を指定するとうまくいきます
2155 \set Staff.beatStructure = #'(3 1 1 2)
2156 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2157 @end lilypond
2158
2159 @code{baseMoment} の値を調整することで、@c
2160 連桁の振る舞いを変更することができます。@c
2161 @code{baseMoment} の値を変更した場合、@c
2162 @code{beatStructure} に新しい @code{baseMoment} と矛盾しない値を@c
2163 設定する必要があります。
2164
2165 @lilypond[quote,verbatim,relative=2]
2166 \time 5/8
2167 \set Timing.baseMoment = #(ly:make-moment 1/16)
2168 \set Timing.beatStructure = #'(7 3)
2169 \repeat unfold 10 { a16 }
2170 @end lilypond
2171
2172 @code{beatLength} は @i{moment} -- 演奏時間の単位 -- です。@c
2173 タイプ @i{momento} の量は
2174 Scheme 関数 @code{ly:make-moment} によって作り出されます。@c
2175 この関数についての更なる情報は @ref{Time administration} を参照してください。
2176
2177 デフォルトでは、@code{baseMoment} には「1/拍子の分母」がセットされています。@c
2178 このデフォルトの例外は @file{scm/time-signature-settings.scm} で見つかります。
2179
2180 特殊な自動連桁規則 (連桁の終わりが拍に従わないもの) はプロパティ
2181 @code{beamExceptions} に定義します。
2182
2183 @c 未訳
2184 @lilypond[quote,relative=2,verbatim]
2185 \time 3/16
2186 \set Timing.beatStructure = #'(2 1)
2187 \set Timing.beamExceptions =
2188   #'(                         ;start of alist
2189      (end .                   ;entry for end of beams
2190       (                       ;start of alist of end points
2191        ((1 . 32) . (2 2 2))   ;rule for 1/32 beams -- end each 1/16
2192       )))                     %close all entries
2193 c16 c c |
2194 \repeat unfold 6 { c32 } |
2195 @end lilypond
2196
2197 @code{beamExceptions} は規則タイプのキーと連桁規則の値を持つ配列リストです。
2198
2199 現時点で、利用可能な唯一の規則タイプの値は、@c
2200 連桁の終わりのための @code{'end} です。
2201
2202 連桁規則は、連桁タイプとその連桁タイプの最短演奏時間の音符を保持する連桁に@c
2203 適用されるグループ化の仕方を示す Scheme 配列リスト (あるいはペアのリスト) です。
2204
2205 @example
2206 #'((beam-type1 . grouping-1)
2207    (beam-type2 . grouping-2)
2208    (beam-type3 . grouping-3))
2209 @end example
2210
2211 連桁タイプは、その連桁の演奏時間を示す Scheme ペアであり、@c
2212 例えば @code{(1 . 16)} です。
2213
2214 @warning{@code{beamExceptions} の値は @emph{完全な} 例外リストである@c
2215 必要があります。@c
2216 つまり、その設定には適用されるべき例外がすべて含まれている必要があります。@c
2217 例外の 1 つだけを追加、削除、変更することはできません。@c
2218 このことは扱い難いように思えるかもしれませんが、@c
2219 新しい連桁パターンを指定する際に現在の連桁設定を知る必要がないということを@c
2220 意味します。}
2221
2222 拍子が変更されると、@code{Timing.baseMoment}, @code{Timing.beatStructure},
2223 それに @code{Timing.beamExceptions} のデフォルト値が設定されます。@c
2224 拍子を設定すると、その @code{Timing} コンテキストの自動連桁設定は@c
2225 デフォルトの振る舞いにリセットされます。
2226
2227 @c KEEP LY
2228 @lilypond[quote,verbatim,relative=2]
2229 \time 6/8
2230 \repeat unfold 6 { a8 }
2231 % (4 + 2) にグループ化します
2232 \set Timing.beatStructure = #'(4 2)
2233 \repeat unfold 6 { a8 }
2234 % デフォルトの振る舞いに戻ります
2235 \time 6/8
2236 \repeat unfold 6 { a8 }
2237 @end lilypond
2238
2239 ある拍子に対するデフォルトの自動連桁設定は @file{scm/beam-settings.scm}
2240 の中で決定されます。@c
2241 ある拍子に対する自動連桁のデフォルト設定を変更する方法は
2242 @ref{Time signature} で説明しています。
2243
2244 ある拍子に対する自動連桁設定の多くには
2245 @code{beamExceptions} が登録されています。@c
2246 例えば、4/4 拍子は 16 分音符しかない小節を 2 つの連桁で囲もうとします。@c
2247 @code{beamExceptions} がリセットされていなければ、@c
2248 @code{beamExceptions} 規則は @code{beatStructure} 設定を@c
2249 オーバライドすることができます。
2250
2251 @c KEEP LY
2252 @lilypond[quote,verbatim,relative=2]
2253 \time 4/4
2254 \set Timing.baseMoment = #(ly:make-moment 1/8)
2255 \set Timing.beatStructure = #'(3 3 2)
2256 % 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
2257 \repeat unfold 8 {c8} |
2258 % 以下は beamExceptions をクリアするため、(3 3 2) の連桁になります
2259 \set Timing.beamExceptions = #'()
2260 \repeat unfold 8 {c8}
2261 @end lilypond
2262
2263 同様に、3/4 拍子はデフォルトで 8 分音符しかない小節を 1 つの連桁で囲み@c
2264 ます。@c
2265 3/4 拍子の 8 分音符に拍毎の連桁を付けるには、@code{beamExceptions} を@c
2266 リセットします。
2267
2268 @c KEEP LY
2269 @lilypond[quote,verbatim,relative=2]
2270 \time 3/4
2271 % beamExceptions により、デフォルトで (6) の連桁を付けます
2272 \repeat unfold 6 {a8} |
2273 % beatLength により、これは (1 1 1) の連桁を付けます
2274 \set Timing.beamExceptions = #'()
2275 \repeat unfold 6 {a8}
2276 @end lilypond
2277
2278 ロマン派や古典派時代の譜刻では、3/4 拍子の小節の途中から連桁が始まる@c
2279 ことがありますが、誤った 6/8 拍子の印象を与えるため現代の習慣では@c
2280 用いません (Gould の 153 ページを参照してください)。@c
2281 3/8 拍子でも同様の状況が発生します。@c
2282 この振る舞いはコンテキスト プロパティ @code{beamHalfMeasure} によって@c
2283 制御されます -- これは分子が 3 の拍子記号の場合にのみ効果を持ちます:
2284
2285 @lilypond[quote,verbatim]
2286 \relative a' {
2287   \time 3/4
2288   r4. a8 a a |
2289   \set Timing.beamHalfMeasure = ##f
2290   r4. a8 a a |
2291 }
2292 @end lilypond
2293
2294 @i{@strong{自動連桁はどのように機能するのか}}
2295
2296 自動連桁が有効である場合、自動連桁の配置はコンテキスト プロパティ
2297 @code{baseMoment}, @code{beatStructure}, それに @code{beamExceptions}
2298 によって決定されます。
2299
2300 連桁の配置を決定する際、以下の規則が並び順の優先度で適用されます:
2301
2302 @itemize
2303
2304 @item @code{[..]} で手動連桁が指定されている場合、@c
2305 連桁は指定どおりに設定されます。@c
2306 手動連桁が指定されていない場合、
2307
2308 @item
2309 その連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2310 定義されている場合、@c
2311 その規則を用いて連桁を終了させる位置を決定します。@c
2312 連桁終了規則が定義されていない場合、
2313
2314 @item
2315 もっと長い連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2316 定義されている場合、@c
2317 その規則を用いて連桁を終了させる位置を決定します。@c
2318 連桁終了規則が定義されていない場合、
2319
2320 @item
2321 @code{baseMoment} と @code{beatStructure} の値を用いて@c
2322 その小節での拍の終わりを決定し、@c
2323 拍の終わりで連桁を終了させます。
2324
2325 @end itemize
2326
2327 上記の規則で、@emph{連桁タイプ} は連桁でグループ化された音符の最短演奏時間です。
2328
2329 デフォルトの連桁規則は @file{scm/time-signature-settings.scm} の中にあります。
2330
2331 @snippets
2332
2333 @cindex beams, subdividing (連桁をサブ グループ化する)
2334
2335 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2336 {subdividing-beams.ly}
2337
2338 @c 未訳
2339 @cindex beamlets, orienting
2340
2341 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2342 {strict-beat-beaming.ly}
2343
2344 @cindex measure groupings (小節をグループ化する)
2345 @cindex beats, grouping (拍をグループ化する)
2346 @cindex grouping beats (拍をグループ化する)
2347 @cindex measure sub-grouping (小節をサブ グループ化する)
2348
2349 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2350 {conducting-signs,-measure-grouping-signs.ly}
2351
2352 @cindex beam, endings in a score (楽譜の終わりでの連桁)
2353 @cindex beam, endings with multiple voices (複数のボイスの終わりでの連桁)
2354
2355 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2356 {beam-endings-in-score-context.ly}
2357
2358 @seealso
2359 インストールされているファイル:
2360 @file{scm/beam-settings.scm}
2361
2362 コード断片集:
2363 @rlsr{Rhythms}
2364
2365 内部リファレンス:
2366 @rinternals{Auto_beam_engraver},
2367 @rinternals{Beam},
2368 @rinternals{BeamForbidEvent},
2369 @rinternals{beam-interface}
2370
2371 @knownissues
2372 自動連桁が終了しておらず、まだ音符を受け付けている最中に楽譜が終了する場合、@c
2373 その最後の連桁はまったく譜刻されません。@c
2374 @code{<< @dots{} \\ @dots{} >>} で入力される多声ボイスでも同様です。@c
2375 自動連桁がまだ音符を受け付けている最中に多声ボイスが終了する場合、@c
2376 その最後の連桁はまったく譜刻されません。@c
2377 ボイスや楽譜の最後の連桁には手動で連桁を付けることにより、@c
2378 これらの問題を回避できます。
2379
2380 デフォルトでは、@code{Timing} コンテキストは @code{Score} コンテキストに@c
2381 エイリアスされています。@c
2382 このことは、ある譜で拍子の設定を行うと、@c
2383 他の譜での連桁の付け方にも影響を与えると言うことを意味します。@c
2384 このため、後で出てくる譜で拍子の設定を行うと、@c
2385 前にある譜でセットしたカスタム連桁はリセットされます。@c
2386 この問題を回避する方法の 1 つは、拍子の設定は 1 つの譜でしか行わないことです。
2387
2388 @lilypond[quote,verbatim,relative=2]
2389 <<
2390   \new Staff {
2391     \time 3/4
2392     \set Timing.baseMoment = #(ly:make-moment 1/8)
2393     \set Timing.beatStructure = #'(1 5)
2394     \repeat unfold 6 { a8 }
2395   }
2396   \new Staff {
2397     \repeat unfold 6 { a8 }
2398   }
2399 >>
2400 @end lilypond
2401
2402 拍子に対するデフォルトの連桁設定を変更することで、@c
2403 常にお望みの連桁を使うこともできます。@c
2404 ある拍子に対する自動連桁設定を変更する方法は @ref{拍子} で説明しています。
2405
2406 @lilypond[quote,verbatim]
2407 <<
2408   \new Staff {
2409     \overrideTimeSignatureSettings
2410       3/4               % timeSignatureFraction
2411       1/8               % baseMomentFraction
2412       #'(1 5)           % beatStructure
2413       #'()              % beamExceptions
2414     \time 3/4
2415     \repeat unfold 6 { a'8 }
2416   }
2417   \new Staff {
2418     \time 3/4
2419     \repeat unfold 6 { a'8 }
2420   }
2421 >>
2422 @end lilypond
2423
2424
2425 @node 手動連桁
2426 @unnumberedsubsubsec 手動連桁
2427 @translationof Manual beams
2428
2429 @cindex beams, manual (手動連桁)
2430 @cindex manual beams (手動連桁)
2431
2432 @funindex ]
2433 @funindex [
2434
2435 自動連桁アルゴリズムをオーバライドする必要がある場合もあります。@c
2436 例えば、自動連桁は休符や小節線を越えて連桁を配置することはなく、@c
2437 合唱譜では連桁はしばしば音符ではなく歌詞の韻律に従って配置されます。@c
2438 そのような連桁は  @code{[} と @code{]} で開始点と終了点を記すことによって@c
2439 手動で指定することができます:
2440
2441 @lilypond[quote,verbatim]
2442 \relative { r4 r8[ g' a r] r g[ | a] r }
2443 @end lilypond
2444
2445 @cindex manual beams, direction shorthand for (手動連桁の向きを指定する短縮記譜法)
2446 @cindex manual beams, grace notes (装飾小音符の手動連桁)
2447
2448 方向指示子を用いることで、連桁の向きを手動で設定することができます:
2449
2450 @lilypond[quote,verbatim]
2451 \relative { c''8^[ d e] c,_[ d e f g] }
2452 @end lilypond
2453
2454 @funindex \noBeam
2455 @funindex noBeam
2456
2457 連桁でつながれないようにするために、個々の音符には
2458 @code{\noBeam} が記されるかもしれません:
2459
2460 @lilypond[quote,verbatim]
2461 \relative {
2462   \time 2/4
2463   c''8 c\noBeam c c
2464 }
2465 @end lilypond
2466
2467 装飾小音符の連桁と通常の音符の連桁は同時進行で発生します。@c
2468 通常の音符の連桁の途中に、連桁でつながれない装飾小音符は配置されません。
2469
2470 @lilypond[quote,verbatim]
2471 \relative {
2472   c''4 d8[
2473   \grace { e32 d c d }
2474   e8] e[ e
2475   \grace { f16 }
2476   e8 e]
2477 }
2478 @end lilypond
2479
2480 @funindex stemLeftBeamCount
2481 @funindex stemRightBeamCount
2482
2483 プロパティ @code{stemLeftBeamCount} と @code{stemRightBeamCount} を@c
2484 セットすることによって連桁をさらに厳密に手動制御することが可能です。@c
2485 これらの値はそれぞれ、次の音符の左側と右側に描く連桁の本数を指定します。@c
2486 どちらかのプロパティがセットされている場合、その値は 1 度だけ使用され、@c
2487 それから消去されます。@c
2488 以下の例では、最後の @code{f} は左側に連桁を 1 本だけ持って
2489 -- すなわち、グループ全体をつなげている 8 分音符の連桁を持って --
2490 譜刻されています。
2491
2492 @lilypond[quote,verbatim]
2493 \relative a' {
2494   a8[ r16 f g a]
2495   a8[ r16
2496   \set stemLeftBeamCount = #2
2497   \set stemRightBeamCount = #1
2498   f16
2499   \set stemLeftBeamCount = #1
2500   g16 a]
2501 }
2502 @end lilypond
2503
2504
2505 @predefined
2506 @code{\noBeam}
2507 @endpredefined
2508
2509 @snippets
2510
2511 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2512 {flat-flags-and-beam-nibs.ly}
2513
2514 @seealso
2515 記譜法リファレンス:
2516 @ref{Direction and placement},
2517 @ref{Grace notes}
2518
2519 コード断片集:
2520 @rlsr{Rhythms}
2521
2522 内部リファレンス:
2523 @rinternals{Beam},
2524 @rinternals{BeamEvent},
2525 @rinternals{Beam_engraver},
2526 @rinternals{beam-interface},
2527 @rinternals{Stem_engraver}
2528
2529
2530 @node 羽状の連桁
2531 @unnumberedsubsubsec 羽状の連桁
2532 @translationof Feathered beams
2533
2534 @cindex beams, feathered (羽状の連桁)
2535 @cindex feathered beams (羽状の連桁)
2536
2537 @funindex \featherDurations
2538 @funindex featherDurations
2539 @funindex grow-direction
2540
2541 羽状の連桁は、楽曲全体のテンポを変えることなく、音符の小さなグループを@c
2542 テンポを上げながら (あるいは下げながら) 演奏すべきであることを示すために@c
2543 使用されます。@c
2544 羽状連桁の範囲は @code{[} と @code{]} を使って手動で指定する必要があり、@c
2545 連桁の羽は @code{Beam} のプロパティ @code{grow-direction} に向きを@c
2546 指定することによって調整することができます。
2547
2548 音符の配置と MIDI 出力での音が羽状連桁によって指示された
2549 ritardando (徐々に緩やかに) や accelerando (次第に速く) を@c
2550 反映すべきであるのなら、@c
2551 音符は波括弧で区切られた音楽表記としてグループ化される必要があり、@c
2552 さらに、そのグループの最初の音符と最後の音符の演奏時間の比率を指定する
2553 @code{featheredDurations} コマンドを前に置く必要があります。
2554
2555 角括弧は連桁の範囲を示し、@c
2556 波括弧は演奏時間を変更される音符はどれなのかを示します。@c
2557 通常これら 2 つは同じ音符のグループを囲みますが、@c
2558 同じであることは必須ではありません:
2559 2 つのコマンドは独立しています。
2560
2561 以下の例では、8 つの 16 分音符は 2 分音符とまったく同じ時間を占めますが、@c
2562 最初の音符の長さは最後の音符の長さの半分であり、@c
2563 中間の音符は徐々に長くなります。@c
2564 最初の 4 つの 32 分音符は徐々にスピード アップしますが、@c
2565 最後の 4 つの 32 分音符は一定のテンポです。
2566
2567 @lilypond[verbatim,quote]
2568 \relative c' {
2569   \override Beam.grow-direction = #LEFT
2570   \featherDurations #(ly:make-moment 2/1)
2571   { c16[ c c c c c c c] }
2572   \override Beam.grow-direction = #RIGHT
2573   \featherDurations #(ly:make-moment 2/3)
2574   { c32[ d e f] }
2575   % revert to non-feathered beams
2576   \override Beam.grow-direction = #'()
2577   { g32[ a b c] }
2578 }
2579 @end lilypond
2580
2581 @noindent
2582 譜刻される音符の間隔は音符の演奏時間を近似的に表しているだけですが、@c
2583 MIDI 出力での演奏時間は正確です。
2584
2585 @predefined
2586 @code{\featherDurations}
2587 @endpredefined
2588
2589 @seealso
2590 コード断片集:
2591 @rlsr{Rhythms}
2592
2593 @knownissues
2594 @code{\featherDurations} は非常に短い音楽コード断片に対してだけ、@c
2595 そして分数の数が小さいときにだけ機能します。
2596
2597
2598 @node 小節
2599 @subsection 小節
2600 @translationof Bars
2601
2602 @menu
2603 * 小節線::
2604 * 小節番号::
2605 * 小節と小節番号のチェック::
2606 * リハーサル記号::
2607 @end menu
2608
2609
2610 @node 小節線
2611 @unnumberedsubsubsec 小節線
2612 @translationof Bar lines
2613
2614 @cindex bar lines (小節線)
2615 @cindex measure lines (小節線)
2616 @cindex closing bar lines (閉じの小節線)
2617 @cindex bar lines, closing (閉じの小節線)
2618 @cindex double bar lines (2 重小節線)
2619 @cindex bar lines, double (2 重小節線)
2620 @cindex repeat bars (繰り返しの小節線)
2621
2622 @funindex \bar
2623 @funindex bar
2624
2625 小節線は小節を区切り、繰り返しを示すためにも使用されます。@c
2626 通常、単線の小節線が拍子に基づいて出力に自動的に挿入されます。
2627
2628 自動的に挿入される単線の小節線は
2629 @code{\bar} コマンドで他のタイプに変更することができます。@c
2630 例えば、通常、2 重線の閉じの小節線が楽曲の最後に配置されます:
2631
2632 @lilypond[quote,verbatim]
2633 \relative { e'4 d c2 \bar "|." }
2634 @end lilypond
2635
2636 ある小節の最後の音符が、自動的に挿入される小節線の所で終わっていなくても@c
2637 無効ではありません:
2638 その音符は次の小節に持ち越されるものと見なされます。@c
2639 しかしながら、そのような持ち越しのある小節がいくつも続く場合、@c
2640 その音楽は圧縮されて表示される可能性があり、@c
2641 ページからはみ出す可能性さえあります。@c
2642 これは、自動改行は完全な小節
2643 -- つまり、小節の終端ですべての音符が終わっている小節 --
2644 の終わりでのみ発生するからです。
2645
2646 @warning{誤った演奏時間の指定は改行を抑制し、結果として@c
2647 非常に圧縮された楽譜やページからはみ出す楽譜の原因となります。}
2648
2649 @cindex line breaks (改行)
2650 @cindex bar lines, invisible (不可視の小節線)
2651 @cindex measure lines, invisible (不可視の小節線)
2652
2653 手動で挿入された小節線のところでも
2654 -- たとえ、その小節が不完全であっても --
2655 改行することができます。@c
2656 小節線を譜刻せずに改行を可能にするには、以下を使用します:
2657
2658 @example
2659 \bar ""
2660 @end example
2661
2662 @noindent
2663 これは不可視の小節線を挿入し、@c
2664 そこで改行が発生することを可能にします (強制はしません)。@c
2665 小節番号カウンタは増加しません。@c
2666 強制的に改行を行うには、@ref{Line breaking} を参照してください。
2667
2668 @cindex manual bar lines (手動の小節線)
2669 @cindex manual measure lines (手動の小節線)
2670 @cindex bar lines, manual (手動の小節線)
2671 @cindex measure lines, manual (手動の小節線)
2672
2673 不可視の小節線と他の特殊な小節線は任意の位置に手動で挿入することができます。@c
2674 それらの小節線の位置がある小節の終わりと一致する場合、@c
2675 それらの小節線はそこに自動で挿入されるはずだった単線の小節線に@c
2676 取って代わります。@c
2677 小節の終わりと一致しない場合、指定された小節線がその位置に挿入されます。@c
2678
2679 手動の小節線は純粋に視覚的なものです。@c
2680 それらは通常の小節線が影響を与えるプロパティ
2681 -- 小節番号、臨時記号、改行など --
2682 には何の影響も与えません。@c
2683 手動の小節線はその後に続く自動小節線の算出や配置に影響を与えません。@c
2684 自動小節線がすでに存在する場所に手動小節線が配置されても、@c
2685 自動小節線の効果は変更されません。
2686
2687 手動で挿入できる小節線として、単線の小節線は 2 種類あり、@c
2688 2 重線の小節線は 5 種類あります:
2689
2690 @lilypond[quote,verbatim]
2691 \relative {
2692   f'1 \bar "|"
2693   f1 \bar "."
2694   g1 \bar "||"
2695   a1 \bar ".|"
2696   b1 \bar ".."
2697   c1 \bar "|.|"
2698   d1 \bar "|."
2699   e1
2700 }
2701 @end lilypond
2702
2703 @noindent
2704 さらに、点線と破線の小節線があります:
2705
2706 @lilypond[quote,verbatim]
2707 \relative {
2708   f'1 \bar ";"
2709   g1 \bar "!"
2710   a1
2711 }
2712 @end lilypond
2713
2714 @noindent
2715 さらに、繰り返しの小節線が 5 種類あります:
2716
2717 @lilypond[quote,relative=1,verbatim]
2718 f1 \bar ".|:"
2719 g1 \bar ":..:"
2720 a1 \bar ":|.|:"
2721 b1 \bar ":|.:"
2722 c1 \bar ":|."
2723 e1
2724 @end lilypond
2725
2726 @c 未訳
2727 Additionally, a bar line can be printed as a simple tick:
2728 @lilypond[quote,relative=1,verbatim]
2729 f1 \bar "'"
2730 @end lilypond
2731 However, as such ticks are typically used in Gregorian chant, it is preferable
2732 to use @code{\divisioMinima} there instead, described in the section
2733 @ref{Divisiones} in Gregorian chant.
2734
2735 @cindex segno (セーニョ)
2736
2737 行内のセーニョ記号として、3 タイプの小節線があり、@c
2738 改行での振る舞いがそれぞれ異なります:
2739
2740 @lilypond[quote,verbatim]
2741 \relative c'' {
2742   c4 c c c
2743   \bar "S"
2744   c4 c c c \break
2745   \bar "S"
2746   c4 c c c
2747   \bar "S-|"
2748   c4 c c c \break
2749   \bar "S-|"
2750   c4 c c c
2751   \bar "S-S"
2752   c4 c c c \break
2753   \bar "S-S"
2754   c1
2755 }
2756 @end lilypond
2757
2758 @cindex repeats (繰り返し)
2759
2760 繰り返しを表す小節線は手動で挿入される場合がありますが、@c
2761 それらの小節線自体は LilyPond に繰り返されるセクションを@c
2762 認識させることはしません。@c
2763 そのような繰り返されるセクションは@c
2764 さまざまな繰り返しのコマンドを使って入力した方が良いです
2765 (@ref{Repeats} を参照してください)。@c
2766 繰り返しのコマンドは自動的に適切な小節線を譜刻します。
2767
2768 さらに、@code{"||:"} を使用することができます。@c
2769 これは @code{"|:"} と等価ですが、例外として改行位置では、@c
2770 この小節線は行の終わりに 2 重線の小節線を置き、@c
2771 次の行の始めに繰り返し開始の小節線を置きます。
2772
2773 @lilypond[quote,verbatim]
2774 \relative c'' {
2775   c4 c c c
2776   \bar ".|:-||"
2777   c4 c c c \break
2778   \bar ".|:-||"
2779   c4 c c c
2780 }
2781 @end lilypond
2782
2783 繰り返しとセーニョ記号の組み合わせは 6 種類あります:
2784
2785 @lilypond[quote,verbatim]
2786 \relative c'' {
2787   c4 c c c
2788   \bar ":|.S"
2789   c4 c c c \break
2790   \bar ":|.S"
2791   c4 c c c
2792   \bar ":|.S-S"
2793   c4 c c c \break
2794   \bar ":|.S-S"
2795   c4 c c c
2796   \bar "S.|:-S"
2797   c4 c c c \break
2798   \bar "S.|:-S"
2799   c4 c c c
2800   \bar "S.|:"
2801   c4 c c c \break
2802   \bar "S.|:"
2803   c4 c c c
2804   \bar ":|.S.|:"
2805   c4 c c c \break
2806   \bar ":|.S.|:"
2807   c4 c c c
2808   \bar ":|.S.|:-S"
2809   c4 c c c \break
2810   \bar ":|.S.|:-S"
2811   c1
2812 }
2813 @end lilypond
2814
2815 さらに、@code{\inStaffSegno} コマンドがあります。@c
2816 これは、セーニョ小節線を作り出し、@code{\repeat volta} コマンドと連携@c
2817 します。
2818
2819
2820 多くの譜を持つ楽譜では、ある譜の @code{\bar} コマンドは@c
2821 自動的にすべての譜に適用されます。@c
2822 結果として、@code{StaffGroup}, @code{PianoStaff}, あるいは
2823 @code{GrandStaff} では、小節線は譜をまたがって 1 本に接続されます。
2824
2825 @lilypond[quote,verbatim]
2826 <<
2827   \new StaffGroup <<
2828     \new Staff \relative {
2829       e'4 d
2830       \bar "||"
2831       f4 e
2832     }
2833     \new Staff \relative { \clef bass c'4 g e g }
2834   >>
2835   \new Staff \relative { \clef bass c'2 c2 }
2836 >>
2837 @end lilypond
2838
2839
2840 @cindex default bar lines, changing (デフォルトの小節線を変更する)
2841 @cindex bar lines, default, changing (デフォルトの小節線を変更する)
2842
2843 @snippets
2844
2845 @funindex whichBar
2846 @funindex defaultBarType
2847 @funindex \bar
2848 @funindex bar
2849 @funindex bartype
2850
2851 コマンド @code{\bar }@var{bartype} は
2852 @samp{\set Timing.whichBar = @var{bartype}} の短縮記法です。@c
2853 @code{whichBar} プロパティがセットされるといつでも小節線が作成されます。
2854
2855 自動的に挿入される小節線に使用されるデフォルトの@c
2856 小節線タイプは @code{"|"} です。@c
2857 これは @samp{\set Timing.defaultBarType = @var{bartype}} でいつでも@c
2858 変更することができます。
2859
2860 @seealso
2861 記譜法リファレンス:
2862 @ref{Line breaking},
2863 @ref{Repeats},
2864 @ref{Grouping staves}
2865
2866 コード断片集:
2867 @rlsr{Rhythms}
2868
2869 内部リファレンス:
2870 @rinternals{BarLine} (@rinternals{Staff} の階層で作成されます),
2871 @rinternals{SpanBar} (譜をまたぎます),
2872 @rinternals{Timing_translator} (@code{Timing} プロパティ用です)
2873
2874
2875 @node 小節番号
2876 @unnumberedsubsubsec 小節番号
2877 @translationof Bar numbers
2878
2879 @cindex bar numbers (小節番号)
2880 @cindex measure numbers (小節番号)
2881 @cindex numbers, bar (小節番号)
2882 @cindex numbers, measure (小節番号)
2883
2884 @funindex currentBarNumber
2885
2886 小節番号は、デフォルトでは、最初の行を除く各行の開始点で譜刻されます。@c
2887 番号自体は @code{currentBarNumber} プロパティに保存されていて、@c
2888 通常は各小節で自動的に更新されます。@c
2889 小節番号を手動で設定することも可能です:
2890
2891 @lilypond[verbatim,quote,fragment,relative=1]
2892 c1 c c c
2893 \break
2894 \set Score.currentBarNumber = #50
2895 c1 c c c
2896 @end lilypond
2897
2898 @cindex bar numbers, regular spacing  規則的な間隔で小節番号を譜刻する
2899
2900 @funindex barNumberVisibility
2901 @funindex BarNumber
2902
2903 小節番号は、各行の開始点に配置する代わりに、規則的な間隔で@c
2904 譜刻することができます。@c
2905 このようにするには、小節番号を行の開始点以外の位置に譜刻できるよう、@c
2906 デフォルトの振る舞いをオーバライドする必要があります。@c
2907 これは @code{BarNumber} の @code{break-visibility} プロパティによって@c
2908 制御されます。@c
2909 これは 3 つの値をとります
2910 -- 3 つの値は、対応する小節番号を可視にするかしないかを指定するために、@c
2911 @code{#t} または @code{#f} にセットされます。@c
2912 3 つの値の順番は、@code{end of line visible},
2913 @code{middle of line visible}, @code{beginning of line visible}
2914 (行の終了点での可視性、行の途中での可視性、行の開始点での可視性) です。@c
2915 以下の例では、譜刻可能な場所すべてに小節番号を譜刻しています:
2916
2917 @lilypond[verbatim,quote,relative=1]
2918 \override Score.BarNumber.break-visibility = #'#(#t #t #t)
2919 \set Score.currentBarNumber = #11
2920 % Permit first bar number to be printed
2921 \bar ""
2922 c1 | c | c | c
2923 \break
2924 c1 | c | c | c
2925 @end lilypond
2926
2927 @snippets
2928 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2929 {printing-the-bar-number-for-the-first-measure.ly}
2930
2931 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2932 {printing-bar-numbers-at-regular-intervals.ly}
2933
2934 @cindex measure number, format (小節番号のフォーマット)
2935 @cindex bar number, format (小節番号のフォーマット)
2936
2937 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2938 {printing-bar-numbers-inside-boxes-or-circles.ly}
2939
2940 @cindex bar numbers, with letters (文字付きの小節番号)
2941 @cindex bar numbers, with repeats (繰り返しの小節番号)
2942
2943 @lilypondfile[verbatim,quote,texidoc,doctitle]
2944 {alternative-bar-numbering.ly}
2945
2946 @cindex bar number alignment (小節番号を揃える)
2947
2948 @lilypondfile[verbatim,quote,texidoc,doctitle]
2949 {aligning-bar-numbers.ly}
2950
2951 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2952 {removing-bar-numbers-from-a-score.ly}
2953
2954 @seealso
2955 コード断片集:
2956 @rlsr{Rhythms}
2957
2958 内部リファレンス:
2959 @rinternals{BarNumber},
2960 @rinternals{Bar_number_engraver}
2961
2962 @cindex bar number collision (小節番号の衝突)
2963 @cindex collision, bar number (小節番号の衝突)
2964
2965 @knownissues
2966 小節番号は @code{StaffGroup} の左括弧の上端と衝突する可能性があります。@c
2967 これを解決するには、@code{BarNumber} の @code{padding} プロパティを@c
2968 使って小節番号を適切な位置に配置します。@c
2969 詳細は @rinternals{StaffGroup} と @rinternals{BarNumber} を参照してください。
2970
2971
2972 @node 小節と小節番号のチェック
2973 @unnumberedsubsubsec 小節と小節番号のチェック
2974 @translationof Bar and bar number checks
2975
2976 @cindex bar check (小節チェック)
2977 @cindex bar number check (小節番号チェック)
2978 @cindex measure check (小節チェック)
2979 @cindex measure number check (小節番号チェック)
2980
2981 @funindex barCheckSynchronize
2982 @funindex |
2983
2984 小節チェックは入力された演奏時間の誤りを検出する手助けをします。@c
2985 小節チェックは、小節線が書き込まれると予想される場所ならどこにでも、@c
2986 小節記号 @code{|} を使うことで挿入できます。@c
2987 他の場所で小節チェックの線に遭遇した場合、警告のリストがログ ファイルに@c
2988 書き込まれ、小節チェックに失敗した行番号と行を示します。@c
2989 次の例では、2 番目の小節チェックがエラーを発します。
2990
2991 @example
2992 \time 3/4 c2 e4 | g2 |
2993 @end example
2994
2995 歌詞でも小節チェックを使用することができます。@c
2996 以下に例を挙げます:
2997
2998 @example
2999 \lyricmode @{
3000   \time 2/4
3001   Twin -- kle | Twin -- kle |
3002 @}
3003 @end example
3004
3005 正しくない演奏時間は滅茶苦茶な楽譜を生成する可能性があります
3006 -- 特にその楽譜が多声である場合はそうなる可能性があります。@c
3007 入力を修正するには、@c
3008 まずざっと見て失敗した小節チェックと演奏時間の誤りを探すと良いでしょう。
3009
3010 連続する小節チェックは同じ音楽的間隔で off になり、@c
3011 最初の警告メッセージだけが表示されます。@c
3012 これにより、警告の焦点がタイミング エラーの発生源に絞られます。
3013
3014
3015 @funindex |
3016 @funindex "|"
3017
3018 入力の中で小節チェックあるいはパイプ記号 @code{|} に遭遇した場合にとられる@c
3019 アクションを再定義することも可能です。@c
3020 これにより、小節チェック以外のことを行うことができます。@c
3021 再定義は音楽表記を @code{"|"} に代入することによって行います。@c
3022 以下の例では、@code{|} は小節の終わりをチェックするのではなく、@c
3023 それが現れた場所に 2 重線の小節線を挿入するようセットされています。
3024
3025 @lilypond[quote,verbatim]
3026 "|" = \bar "||"
3027 {
3028   c'2 c' |
3029   c'2 c'
3030   c'2 | c'
3031   c'2 c'
3032 }
3033 @end lilypond
3034
3035 @funindex \barNumberCheck
3036 @funindex barNumberCheck
3037
3038 大きな楽曲をコピーしている場合、LilyPond の小節番号と@c
3039 コピー元のオリジナルの小節番号の対応をチェックすると役に立ちます。@c
3040 この対応は @code{\barNumberCheck} によってチェックすることができます。@c
3041 例えば、
3042
3043 @verbatim
3044 \barNumberCheck #123
3045 @end verbatim
3046
3047 @noindent
3048 を使用すると、@code{currentBarNumber} が処理された時に 123 でなければ、@c
3049 警告が表示されます。
3050
3051 @seealso
3052 コード断片集:
3053 @rlsr{Rhythms}
3054
3055
3056 @node リハーサル記号
3057 @unnumberedsubsubsec リハーサル記号
3058 @translationof Rehearsal marks
3059
3060 @cindex rehearsal marks (リハーサル記号)
3061 @cindex mark, rehearsal (リハーサル記号)
3062
3063 @funindex \mark
3064 @funindex mark
3065
3066 リハーサル記号を譜刻するには、@code{\mark} コマンドを使用します:
3067
3068 @lilypond[quote,verbatim]
3069 \relative c'' {
3070   c1 \mark \default
3071   c1 \mark \default
3072   c1 \mark \default
3073   c1 \mark \default
3074 }
3075 @end lilypond
3076
3077 @noindent
3078 @code{\mark \default} を使用するとリハーサル記号は自動的に +1 されますが、@c
3079 手動で整数をリハーサル記号にセットすることもできます。@c
3080 セットした値は @code{rehearsalMark} に保存されます。
3081
3082 @lilypond[quote,verbatim]
3083 \relative c'' {
3084   c1 \mark \default
3085   c1 \mark \default
3086   c1 \mark #8
3087   c1 \mark \default
3088   c1 \mark \default
3089 }
3090 @end lilypond
3091
3092 @noindent
3093 文字@tie{}@q{I} は、譜刻の慣習に従って、スキップされます。@c
3094 文字@tie{}@q{I} を含めたければ、@c
3095 リハーサル記号のスタイル (文字のみ、四角で囲まれた文字、丸で囲まれた文字)
3096 に合わせて以下のコマンドの 1 つを使用します:
3097
3098 @example
3099 \set Score.markFormatter = #format-mark-alphabet
3100 \set Score.markFormatter = #format-mark-box-alphabet
3101 \set Score.markFormatter = #format-mark-circle-alphabet
3102 @end example
3103
3104 @lilypond[quote,verbatim]
3105 \relative c'' {
3106   \set Score.markFormatter = #format-mark-box-alphabet
3107   c1 \mark \default
3108   c1 \mark \default
3109   c1 \mark #8
3110   c1 \mark \default
3111   c1 \mark \default
3112 }
3113 @end lilypond
3114
3115 @cindex rehearsal mark format (リハーサル記号のフォーマット)
3116 @cindex rehearsal mark style (リハーサル記号のスタイル)
3117 @cindex style, rehearsal mark (リハーサル記号のスタイル)
3118 @cindex format, rehearsal mark (リハーサル記号のフォーマット)
3119 @cindex mark, rehearsal, style (リハーサル記号のスタイル)
3120 @cindex mark, rehearsal, format (リハーサル記号のフォーマット)
3121 @cindex rehearsal mark, manual (手動でリハーサル記号をセットする)
3122 @cindex mark, rehearsal, manual (手動でリハーサル記号をセットする)
3123 @cindex custom rehearsal mark (リハーサル記号のカスタム)
3124 @cindex manual rehearsal mark (手動のリハーサル記号)
3125
3126 スタイルはプロパティ @code{markFormatter} によって定義されます。@c
3127 これは引数としてカレントの記号 (整数) とカレントのコンテキストをとる関数です。@c
3128 この関数はマークアップ オブジェクトを返します。@c
3129 以下の例では、@code{markFormatter} には定義済みの手続きがセットされています。@c
3130 数小節後では、四角で囲まれた番号を作り出す手続きがセットされています。
3131
3132 @lilypond[quote,verbatim]
3133 \relative c'' {
3134   \set Score.markFormatter = #format-mark-numbers
3135   c1 \mark \default
3136   c1 \mark \default
3137   \set Score.markFormatter = #format-mark-box-numbers
3138   c1 \mark \default
3139   \set Score.markFormatter = #format-mark-circle-numbers
3140   c1 \mark \default
3141   \set Score.markFormatter = #format-mark-circle-letters
3142   c1
3143 }
3144 @end lilypond
3145
3146 ファイル @file{scm/translation-functions.scm} は
3147 @code{format-mark-numbers} (デフォルトのフォーマット),
3148 @code{format-mark-box-numbers}, @code{format-mark-letters} それに
3149 @code{format-mark-box-letters} の定義を保持しています。@c
3150 これらを参考にして他のフォーマット関数を作り出すこともできます。
3151
3152 加算された数字や文字の代わりに小節番号を取得するために
3153 @code{format-mark-barnumbers}, @code{format-mark-box-barnumbers}, それに
3154 @code{format-mark-circle-barnumbers} を使うことがあります。
3155
3156 リハーサル記号の他のスタイルを手動で指定することができます:
3157
3158 @example
3159 \mark "A1"
3160 @end example
3161
3162 @noindent
3163 @code{Score.markFormatter} はこの方法で指定された記号に影響を与えません。@c
3164 しかしながら、文字列として @code{\markup} 使用することができます。
3165
3166 @example
3167 \mark \markup@{ \box A1 @}
3168 @end example
3169
3170 @cindex segno (セーニョ)
3171 @cindex coda (コーダ)
3172 @cindex D.S al Fine (ここで曲の先頭に戻り、Fine で終わる)
3173 @cindex fermata (フェルマータ)
3174 @cindex music glyphs (音楽的図柄)
3175 @cindex glyphs, music (音楽的図柄)
3176
3177 @funindex \musicglyph
3178 @funindex musicglyph
3179
3180 音楽的図柄 (セーニョ記号など) を @code{\mark} の中に譜刻することができます:
3181
3182 @lilypond[quote,verbatim]
3183 \relative c' {
3184   c1 \mark \markup { \musicglyph #"scripts.segno" }
3185   c1 \mark \markup { \musicglyph #"scripts.coda" }
3186   c1 \mark \markup { \musicglyph #"scripts.ufermata" }
3187   c1
3188 }
3189 @end lilypond
3190
3191 @noindent
3192 @code{\musicglyph} を使用して譜刻できる記号のリストは、@c
3193 @ref{The Feta font} を参照してください。
3194
3195 リハーサル記号の配置の一般的な調整については、@c
3196 @ref{Formatting text} を参照してください。@c
3197 更に細かな制御を行う場合は、@c
3198 @ref{Aligning objects} の @code{break-alignable-interface} を参照してください。
3199
3200 ファイル @file{scm/translation-functions.scm} は
3201 @code{format-mark-numbers} と @code{format-mark-letters} の定義を保持@c
3202 しています。@c
3203 ここにある定義を参考にして他のフォーマット関数を作り出すことができます。
3204
3205 @seealso
3206 記譜法リファレンス:
3207 @ref{The Feta font},
3208 @ref{Formatting text},
3209 @ref{Aligning objects}
3210
3211 インストールされているファイル:
3212 @file{scm/translation-functions.scm}
3213
3214 コード断片集:
3215 @rlsr{Rhythms}
3216
3217 内部リファレンス:
3218 @rinternals{MarkEvent},
3219 @rinternals{Mark_engraver},
3220 @rinternals{RehearsalMark}
3221
3222
3223 @node 特殊なリズム関連事項
3224 @subsection 特殊なリズム関連事項
3225 @translationof Special rhythmic concerns
3226
3227
3228 @menu
3229 * 装飾小音符::
3230 * カデンツァに揃える::
3231 * 時間管理::
3232 @end menu
3233
3234 @node 装飾小音符
3235 @unnumberedsubsubsec 装飾小音符
3236 @translationof Grace notes
3237
3238 @cindex ornaments (装飾音)
3239 @cindex grace notes (装飾小音符)
3240 @cindex appoggiatura (アッポジャトゥーラ)
3241 @cindex acciaccatura (アッチャカトゥーラ)
3242
3243 @funindex \grace
3244 @funindex \slashedGrace
3245 @funindex \acciaccatura
3246 @funindex \appoggiatura
3247
3248 装飾小音符は装飾の音であり、小さなフォントで表示され、@c
3249 論理的には演奏時間を持ちません。
3250
3251 @lilypond[quote,verbatim]
3252 \relative {
3253   c''4 \grace b16 a4(
3254   \grace { b16 c16 } a2)
3255 }
3256 @end lilypond
3257
3258 装飾音符には他にも 3 つのタイプがあります。@c
3259 @emph{acciaccatura} (長さを持たない装飾小音符で、@c
3260 スラーでつなげられるスラッシュ付きの符幹を持つ音符) と、
3261 @emph{appoggiatura} (一定の比率で主音符から演奏時間を取り、@c
3262 スラッシュを持たない音符)
3263 スラーで結ばれた主音符の間に装飾小音符を配置するために、@c
3264 @code{\slashedGrace} 関数を用いて、
3265 @emph{acciaccatura} のようにスラッシュ付きの符幹を持つが@c
3266 スラーは付かない装飾小音符を譜刻することもできます。
3267
3268 Lilypond はさらに 2 つ特殊なタイプの装飾小音符をサポートします:
3269 @emph{acciaccatura} (長さを持たない装飾小音符で、@c
3270 スラッシュ付きの符幹を持つスラーでつなげられる小さな音符) と
3271 @emph{appoggiatura} (一定の比率で主音符から演奏時間をとり、@c
3272 スラッシュを持たない小さな音符で譜刻されます) です。
3273
3274 @lilypond[quote,verbatim]
3275 \relative {
3276   \acciaccatura d''8 c4
3277   \appoggiatura e8 d4
3278   \acciaccatura { g16 f } e2
3279   \slashedGrace a,8 g4
3280   \slashedGrace b16 a4(
3281   \slashedGrace b8 a2)
3282 }
3283 @end lilypond
3284
3285 装飾小音符の配置は他の譜と同期されます。@c
3286 以下の例では、8 分の装飾小音符 1 つに対して 2 つの 16 分装飾小音符が@c
3287 割り当てられています:
3288
3289 @lilypond[quote,verbatim]
3290 <<
3291   \new Staff \relative { e''2 \grace { c16 d e f } e2 }
3292   \new Staff \relative { c''2 \grace { g8 b } c2 }
3293 >>
3294 @end lilypond
3295
3296 @cindex grace notes, following (装飾小音符を後ろに配置する)
3297
3298 @funindex \afterGrace
3299 @funindex afterGrace
3300
3301 装飾小音符で記譜を終えたいのならば、@c
3302 @code{\afterGrace} コマンドを使用します。@c
3303 このコマンドは 2 つの引数をとります:
3304 主音符と主音符の後に続く装飾小音符です。
3305
3306 @lilypond[quote,verbatim]
3307 \relative { c''1 \afterGrace d1 { c16[ d] } c1 }
3308 @end lilypond
3309
3310 これは主音符の長さの 3/4 のスペースをとった後に@c
3311 装飾小音符を配置しています。@c
3312 デフォルトの分数 3/4 は @code{afterGraceFraction} を設定することにより@c
3313 変更することができます。@c
3314 以下の例では、スペースをデフォルト、主音符の 15/16、最後は 1/2 に@c
3315 設定した結果を示しています。
3316
3317 @lilypond[quote,verbatim]
3318 <<
3319   \new Staff \relative {
3320     c''1 \afterGrace d1 { c16[ d] } c1
3321   }
3322   \new Staff \relative {
3323     #(define afterGraceFraction (cons 15 16))
3324     c''1 \afterGrace d1 { c16[ d] } c1
3325   }
3326   \new Staff \relative {
3327     #(define afterGraceFraction (cons 1 2))
3328     c''1 \afterGrace d1 { c16[ d] } c1
3329   }
3330 >>
3331 @end lilypond
3332
3333 主音符と装飾小音符の間のスペースは空白音符を使って@c
3334 指定することもできます。@c
3335 以下の例では、主音符の長さの 7/8 のスペースをとった後に装飾小音符を@c
3336 配置しています。
3337
3338 @lilypond[quote,verbatim]
3339 \new Voice \relative {
3340   <<
3341     { d''1^\trill_( }
3342     { s2 s4. \grace { c16 d } }
3343   >>
3344   c1)
3345 }
3346 @end lilypond
3347
3348 @cindex tweaking grace notes (装飾小音符を調整する)
3349 @cindex grace notes, tweaking (装飾小音符を調整する)
3350 @cindex grace notes, changing layout settings (装飾小音符のレイアウト設定を変更する)
3351
3352 @code{\grace} 音楽表記は特殊な譜刻設定を導入します
3353 -- 例えば、小さなフォントを作り出し、向きを設定するためです。@c
3354 それゆえ、装飾小音符の特殊な設定をオーバライドするために@c
3355 レイアウトの調整を行う場合、@c
3356 調整は装飾小音符の表記の中に置くべきです。@c
3357 さらに、そのオーバライドは装飾小音符の表記の中で元に戻しておくべきです。@c
3358 以下の例では、装飾小音符の符幹のデフォルトの向きがオーバライドされ、@c
3359 それから元に戻されています。
3360
3361 @lilypond[quote,verbatim]
3362 \new Voice \relative {
3363   \acciaccatura {
3364     \stemDown
3365     f''16->
3366     \stemNeutral
3367   }
3368   g4 e c2
3369 }
3370 @end lilypond
3371
3372
3373 @cindex stem, with slash (スラッシュ付きの符幹)
3374
3375
3376 @snippets
3377
3378 @lilypondfile[verbatim,quote,texidoc,doctitle]
3379 {using-grace-note-slashes-with-normal-heads.ly}
3380
3381 @lilypondfile[verbatim,quote,texidoc,doctitle]
3382 {tweaking-grace-layout-within-music.ly}
3383
3384 @lilypondfile[verbatim,quote,texidoc,doctitle]
3385 {redefining-grace-note-global-defaults.ly}
3386
3387 @lilypondfile[verbatim,quote,texidoc,doctitle]
3388 {positioning-grace-notes-with-floating-space.ly}
3389
3390 @seealso
3391 音楽用語集:
3392 @rglos{grace notes},
3393 @rglos{acciaccatura},
3394 @rglos{appoggiatura}
3395
3396 記譜法リファレンス:
3397 @ref{Scaling durations},
3398 @ref{Manual beams}
3399
3400 インストールされているファイル:
3401 @file{ly/grace-init@/.ly}
3402
3403 コード断片集:
3404 @rlsr{Rhythms}
3405
3406 内部リファレンス:
3407 @rinternals{GraceMusic},
3408 @rinternals{Grace_beam_engraver},
3409 @rinternals{Grace_engraver},
3410 @rinternals{Grace_spacing_engraver}
3411
3412
3413 @knownissues
3414 @cindex acciaccatura, multi-note (複数音符のアッチャカトゥーラ)
3415 @cindex multi-note acciaccatura (複数音符のアッチャカトゥーラ)
3416 @cindex grace-note synchronization (装飾小音符の同期)
3417
3418 複数の音符を連桁でつないだ @i{アッチャカトゥーラ} には@c
3419 スラッシュは付けられず、@c
3420 複数の音符を連桁でつないだ @i{アッポジャトゥーラ} と@c
3421 まったく同じに見えます。
3422
3423 @c TODO Add link to LSR snippet to add slash when available
3424
3425 装飾小音符の同期は予期しない結果を引き起こす可能性があります。@c
3426 譜の記譜要素 -- 拍子、小節線など -- も同期をとられます。@c
3427 装飾小音符を持つ譜と持たない譜を混在させる場合は気をつけて下さい。@c
3428 例えば:
3429
3430 @lilypond[quote,verbatim]
3431 <<
3432   \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
3433   \new Staff \relative { c''4 \bar ".|:" d2. }
3434 >>
3435 @end lilypond
3436
3437 @noindent
3438 これは、他の譜にある装飾小音符の演奏時間に対応した空白の@c
3439 装飾小音符を挿入することによって修正することができます。@c
3440 上の例を以下のように修正します:
3441
3442 @lilypond[quote,verbatim]
3443 <<
3444   \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
3445   \new Staff \relative { c''4 \bar ".|:" \grace s16 d2. }
3446 >>
3447 @end lilypond
3448
3449 ボイス コンテキストの中で装飾送音符を記述すると、@c
3450 ボイスの譜刻に混乱を招きます。@c
3451 これを克服するには、装飾小音符のセクションを変数に入れます。
3452
3453 @lilypond[quote,verbatim]
3454 accMusic = {
3455   \acciaccatura { f8 } e8 r8 \acciaccatura { f8 } e8 r4
3456 }
3457
3458 \new Staff {
3459   <<
3460     \new Voice {
3461       \relative c'' {
3462         r8 r8 \voiceOne \accMusic \oneVoice r8 |
3463         r8 \voiceOne r8 \accMusic \oneVoice r8 |
3464       }
3465     }
3466     \new Voice {
3467       \relative c' {
3468         s8 s8 \voiceTwo \accMusic \oneVoice s8 |
3469         s8 \voiceTwo r8 \accMusic \oneVoice s8 |
3470       }
3471     }
3472   >>
3473 }
3474 @end lilypond
3475
3476 装飾小音符セクションはシーケンシャルな音楽表記の中でのみ使用すべきです。@c
3477 装飾小音符セクションのネスト、並置はサポートされておらず、@c
3478 クラッシュや他のエラーを引き起こすかもしれません。
3479
3480 MIDI 出力において装飾小音符はそれぞれ 1/4 の実演奏時間を持ちます。@c
3481 一連の装飾小音符の演奏時間が前の音符の演奏時間よりも長い場合、@c
3482 @qq{@code{Going back in MIDI time}} エラーになります。@c
3483 エラーを避けるには、装飾小音符の演奏時間を短くします。@c
3484 例えば:
3485
3486 @example
3487 \acciaccatura @{ c'8[ d' e' f' g'] @}
3488 @end example
3489
3490 を以下のようにします:
3491
3492 @example
3493 \acciaccatura @{ c'16[ d' e' f' g'] @}
3494 @end example
3495
3496 あるいは、明示的に演奏時間を変更します:
3497
3498 @example
3499 \acciaccatura @{ \scaleDurations 1/2 @{ c'8[ d' e' f' g'] @} @}
3500 @end example
3501
3502 @ref{Scaling durations} を参照してください。
3503
3504
3505 @node カデンツァに揃える
3506 @unnumberedsubsubsec カデンツァに揃える
3507 @translationof Aligning to cadenzas
3508
3509 @cindex cadenza (カデンツァ)
3510 @cindex cadenza, aligning to (カデンツァに揃える)
3511 @cindex aligning to cadenza (カデンツァに揃える)
3512
3513 オーケストラのコンテキストにおいて、カデンツァは特殊な問題を提起します:
3514 楽譜の構成に演奏時間を持つカデンツァや他のソロ パッセージが含まれる場合、@c
3515 他のすべての楽器は、そのカデンツァの演奏時間の分だけ@c
3516 スキップする必要があります。@c
3517 さもなければ、他の楽器はカデンツァの終わりよりも早すぎる
3518 (あるいは遅すぎる) タイミングで始まってしまいます。
3519
3520 この問題の解決方法の一つは、関数 @code{mmrest-of-length} と
3521 @code{skip-of-length} を使用することです。@c
3522 これらの Scheme 関数は、引数として定義済みの音楽表記をとり、@c
3523 その音楽表記と同じ長さの複数小節休符または @code{\skip} を生成します。
3524
3525 @lilypond[verbatim,quote]
3526 MyCadenza = \relative {
3527   c'4 d8 e f g g4
3528   f2 g4 g
3529 }
3530
3531 \new GrandStaff <<
3532   \new Staff {
3533     \MyCadenza c'1
3534     \MyCadenza c'1
3535   }
3536   \new Staff {
3537     #(mmrest-of-length MyCadenza)
3538     c'1
3539     #(skip-of-length MyCadenza)
3540     c'1
3541   }
3542 >>
3543 @end lilypond
3544
3545 @seealso
3546 音楽用語集:
3547 @rglos{cadenza}
3548
3549 コード断片集:
3550 @rlsr{Rhythms}
3551
3552
3553 @node 時間管理
3554 @unnumberedsubsubsec 時間管理
3555 @translationof Time administration
3556
3557 @cindex time administration (時間管理)
3558 @cindex timing (within the score) ((楽譜内での) タイミング)
3559 @cindex music, unmetered (無韻律の音楽)
3560 @cindex unmetered music (無韻律の音楽)
3561
3562 @funindex currentBarNumber
3563 @funindex measurePosition
3564 @funindex measureLength
3565
3566 時間は @code{Timing_translator}
3567 -- これは、デフォルトでは、@code{Socre} コンテキストの中にあります --
3568 によって管理されます。@c
3569 エイリアス @code{Timing} は @code{Timing_translator} が配置されている@c
3570 コンテキストに付け加えられます。
3571 エイリアス @code{Timing} が利用可能であることを保証するため、@c
3572 コンテキスト (@code{Voice} や @code{Staff} など) を明示的にインスタンス化@c
3573 する必要があるかもしれません。
3574
3575 以下の @code{Timing} のプロパティは、@c
3576 楽譜内でのタイミングの経過を追うために使用されます。
3577
3578 @cindex bar number (小節番号)
3579 @cindex measure number (小節番号)
3580
3581 @table @code
3582 @item currentBarNumber
3583 カレントの小節番号。@c
3584 このプロパティの使用例は、@ref{小節番号} を参照してください。
3585
3586 @item measureLength
3587 カレントの拍子での小節の長さ。@c
3588 4/4 拍子では 1 であり、6/8 拍子では 3/4 です。@c
3589 この値は小節線を挿入するタイミングと自動連桁の生成の仕方を決定します。
3590
3591 @item measurePosition
3592 カレントで処理している小節内での位置。@c
3593 この値は、@code{measureLength} に到達するか超過したときに、@c
3594 この値から @code{measureLength} を減算されることによって、リセットされます。@c
3595 リセットが起こるときに、@code{currentBarNumber} が +1 されます。
3596
3597 @item timing
3598 真にセットされている場合、各タイム ステップごとに上記の変数は更新されます。@c
3599 偽にセットされている場合、エングラーバはカレントの小節に永久に留まります。
3600
3601 @end table
3602
3603 タイミングは、上記の値のいずれかを明示的に設定することによって、@c
3604 変更することができます。@c
3605 次の例では、デフォルトの 4/4 拍子が譜刻されていますが、@c
3606 @code{measureLength} は 5/4 にセットされています。@c
3607 第 3 小節の 4/8 の位置で、@code{measurePositoin} は 1/8 進められて
3608 5/8 になり、それによりその小節は 1/8 短くされます。@c
3609 次の小節線は 5/4 ではなく 9/8 の位置で引かれます。
3610
3611 @lilypond[quote,verbatim]
3612 \new Voice \relative {
3613   \set Timing.measureLength = #(ly:make-moment 5/4)
3614   c'1 c4 |
3615   c1 c4 |
3616   c4 c
3617   \set Timing.measurePosition = #(ly:make-moment 5/8)
3618   b4 b b8 |
3619   c4 c1 |
3620 }
3621 @end lilypond
3622
3623 @noindent
3624 この例が示すように、@code{ly:make-moment n m} は全音符の n/m の長さの@c
3625 演奏時間を構成します。@c
3626 例えば、@code{ly:make-moment 1 8} は 1 個の 8 分音符の演奏時間であり、@c
3627 @code{ly:make-moment 7 16} は 7 個の 16 分音符の演奏時間です。
3628
3629 @seealso
3630 記譜法リファレンス:
3631 @ref{Bar numbers},
3632 @ref{Unmetered music}
3633
3634 コード断片集:
3635 @rlsr{Rhythms}
3636
3637 内部リファレンス:
3638 @rinternals{Timing_translator},
3639 @rinternals{Score}