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