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