]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/rhythms.itely
Docs: run convert-ly for 2.14.0.
[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,lilyquote,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,lilyquote,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,lilyquote,ragged-right,texidoc,doctitle]
267 {changing-the-tuplet-number.ly}
268
269 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
270 {non-default-tuplet-numbers.ly}
271
272 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
273 {controlling-tuplet-bracket-visibility.ly}
274
275 @lilypondfile[verbatim,lilyquote,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,lilyquote,ragged-right,texidoc,doctitle]
554 {using-ties-with-arpeggios.ly}
555
556 @lilypondfile[verbatim,lilyquote,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,lilyquote,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,lilyquote,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,lilyquote,ragged-right,texidoc,doctitle]
947 {positioning-multi-measure-rests.ly}
948
949 @lilypondfile[verbatim,lilyquote,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,lilyquote,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,lilyquote,texidoc,doctitle]
1234 {compound-time-signatures.ly}
1235
1236 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1237 {time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly}
1238
1239
1240 @seealso
1241 音楽用語集:
1242 @rglos{time signature}
1243
1244 記譜法リファレンス:
1245 @ref{Mensural time signatures},
1246 @ref{時間管理}
1247
1248 コード断片集:
1249 @rlsrnamed{Rhythms,リズム}
1250
1251 内部リファレンス:
1252 @rinternals{TimeSignature},
1253 @rinternals{Timing_translator}
1254
1255
1256 @node メトロノーム記号
1257 @unnumberedsubsubsec メトロノーム記号
1258 @translationof Metronome marks
1259
1260 @cindex tempo (テンポ)
1261 @cindex beats per minute (1 分毎の拍数)
1262 @cindex metronome mark (メトロノーム記号)
1263 @cindex metronome marking with text (テキストを持つメトロノーム記号)
1264
1265 @funindex \tempo
1266 @funindex tempo
1267
1268 基本的なメトロノーム記号は単純に以下のように記述します:
1269
1270 @lilypond[verbatim,quote,relative=1]
1271 \tempo 4 = 120
1272 c2 d
1273 e4. d8 c2
1274 @end lilypond
1275
1276 メトロノーム記号を 2 つの数の範囲として譜刻することもできます:
1277
1278 @lilypond[verbatim,quote,relative=1]
1279 \tempo 4 = 40 ~ 46
1280 c4. e8 a4 g
1281 b,2 d4 r
1282 @end lilypond
1283
1284 テキストを持つテンポ指示にすこともできます:
1285
1286 @lilypond[verbatim,quote,relative=2]
1287 \tempo "Allegretto"
1288 c4 e d c
1289 b4. a16 b c4 r4
1290 @end lilypond
1291
1292 メトロノーム記号とテキストを組み合わせると、@c
1293 メトロノーム記号は自動的に括弧で囲まれます:
1294
1295 @lilypond[verbatim,quote,relative=2]
1296 \tempo "Allegro" 4 = 160
1297 g4 c d e
1298 d4 b g2
1299 @end lilypond
1300
1301 一般に、テキストを任意のマークアップ オブジェクトにすることができます:
1302
1303 @lilypond[verbatim,quote,relative=2]
1304 \tempo \markup { \italic Faster } 4 = 132
1305 a8-. r8 b-. r gis-. r a-. r
1306 @end lilypond
1307
1308 テキストを伴わないメトロノーム記号を括弧で囲むには、@c
1309 空の文字列を含めて記述します:
1310
1311 @lilypond[verbatim,quote,relative=2]
1312 \tempo "" 8 = 96
1313 d4 g e c
1314 @end lilypond
1315
1316
1317 @snippets
1318
1319 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1320 {printing-metronome-and-rehearsal-marks-below-the-staff.ly}
1321
1322 @c perhaps also an example of how to move it horizontally?
1323
1324 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1325 {changing-the-tempo-without-a-metronome-mark.ly}
1326
1327 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
1328 {creating-metronome-marks-in-markup-mode.ly}
1329
1330 詳細は @ref{Formatting text} を参照してください。
1331
1332
1333 @seealso
1334 音楽用語集:
1335 @rglos{metronome},
1336 @rglos{metronomic indication},
1337 @rglos{tempo indication},
1338 @rglos{metronome mark}
1339
1340 記譜法リファレンス:
1341 @ref{Formatting text},
1342 @ref{MIDI output}
1343
1344 コード断片集:
1345 @rlsr{Staff notation}
1346
1347 内部リファレンス:
1348 @rinternals{MetronomeMark}
1349
1350
1351 @node 上拍
1352 @unnumberedsubsubsec 上拍
1353 @translationof Upbeats
1354
1355 @cindex anacrusis (弱拍)
1356 @cindex upbeat (上拍)
1357 @cindex partial measure (部分小節)
1358 @cindex measure, partial (部分小節)
1359 @cindex pickup measure (ピックアップ小節)
1360 @cindex measure, change length (小節の長さの変更)
1361
1362 @funindex measurePosition
1363 @funindex \partial
1364 @funindex partial
1365
1366 弱拍や上拍などのような部分小節またはピックアップ小節は、@c
1367 @code{\partial} コマンドを使って入力します。@c
1368 以下の構文を使用します:
1369
1370 @example
1371 \partial @var{duration}
1372 @end example
1373
1374 @noindent
1375 @code{duration} は、最初の完全な長さを持つ小節の前に置かれる小節の長さです:
1376
1377 @lilypond[quote,verbatim,relative=2]
1378 \partial 4 e4 |
1379 a2. c,4 |
1380 @end lilypond
1381
1382 部分小節は、完全な長さを持つ小節よりも短い演奏時間なら、@c
1383 どのような長さでも持つことができます:
1384
1385 @lilypond[quote,verbatim,relative=2]
1386 \partial 4 e4 |
1387 a2. c,4 |
1388 @end lilypond
1389
1390 部分小節は 1 小節よりも短い任意の演奏時間にすることができます:
1391
1392 @lilypond[quote,verbatim,relative=2]
1393 \partial 8*3 c8 d e |
1394 a2. c,4 |
1395 @end lilypond
1396
1397 内部的には、@code{\partial @var{duration}} は以下のように翻訳されます:
1398
1399 @example
1400 \set Timing.measurePosition -@var{duration}
1401 @end example
1402
1403 例えば、@code{\partial 8*3} は以下のようになります:
1404
1405 @example
1406 \set Timing.measurePosition = #(ly:make-moment -3 8)
1407 @end example
1408
1409 プロパティ @code{measurePosition} は、@c
1410 ある時点でその小節はどれくらい演奏済みになっているかを示す有理数を保持します。@c
1411 このプロパティは @code{\partial} によって負の数にセットされるということに@c
1412 注意してください:
1413 すなわち、@code{\partial 4} は内部的に @code{-4} に翻訳され、@c
1414 @qq{その小節には 4 分音符が残っている} という意味になります。
1415
1416
1417 @seealso
1418 音楽用語集:
1419 @rglos{anacrusis}
1420
1421 記譜法リファレンス:
1422 @ref{装飾小音符}
1423
1424 コード断片集:
1425 @rlsrnamed{Rhythms,リズム}
1426
1427 内部リファレンス:
1428 @rinternals{Timing_translator}
1429
1430
1431 @knownissues
1432
1433 @code{\partial} コマンドは楽曲の開始時で使用されることだけを@c
1434 意図したものです。@c
1435 楽曲の途中でこのコマンドを使用した場合、@c
1436 奇妙な警告がいくつか発生するかもしれません。@c
1437 曲の途中では @code{\set Timing.measurePosition} を使用してください。
1438
1439 @node 無韻律の音楽
1440 @unnumberedsubsubsec 無韻律の音楽
1441 @translationof Unmetered music
1442
1443 @cindex bar lines, turning off (小節線を付けない)
1444 @cindex bar numbering, turning off (小節の付番を off にする)
1445 @cindex cadenza (カデンツァ)
1446 @cindex unmetered music (無韻律の音楽)
1447
1448 @funindex \cadenzaOn
1449 @funindex cadenzaOn
1450 @funindex \cadenzaOff
1451 @funindex cadenzaOff
1452
1453 小節線と小節番号は自動的に算出されます。@c
1454 無韻律の音楽 (例えば、カデンツァの一部) では、この機能は望ましくありません。@c
1455 小節線と小節番号の自動算出を off にするには@c
1456 コマンド @code{\cadenzaOn} を使用し、@c
1457 再び on にするには @code{\cadenzaOff} を使用します。
1458
1459 @lilypond[verbatim,relative=2,quote]
1460 c4 d e d
1461 \cadenzaOn
1462 c4 c d8[ d d] f4 g4.
1463 \cadenzaOff
1464 \bar "|"
1465 d4 e d c
1466 @end lilypond
1467
1468 小節の付番は、カデンツァが存在しないかのように、@c
1469 カデンツァの終了点で再開されます:
1470
1471 @lilypond[verbatim,relative=2,quote]
1472 % すべての小節番号を表示します
1473 \override Score.BarNumber #'break-visibility = #all-visible
1474 c4 d e d
1475 \cadenzaOn
1476 c4 c d8[ d d] f4 g4.
1477 \cadenzaOff
1478 \bar "|"
1479 d4 e d c
1480 @end lilypond
1481
1482 @cindex beaming in cadenzas (カデンツァでの連桁)
1483 @cindex beaming in unmetered music (無韻律の音楽での連桁)
1484 @cindex cadenza, beaming in (カデンツァでの連桁)
1485 @cindex unmetered music, beaming in (無韻律の音楽での連桁)
1486
1487 自動連桁は @code{\cadenzaOn} で off になり、@c
1488 @code{\cadenzaOff} で on になります。@c
1489 このため、カデンツァ内の連桁はすべて手動で入力する必要があります
1490 (@ref{手動連桁})。
1491
1492 @lilypond[verbatim,relative=2,quote]
1493 \repeat unfold 8 { c8 }
1494 \cadenzaOn
1495 \repeat unfold 5 { c8 }
1496 \bar"|"
1497 \cadenzaOff
1498 \repeat unfold 8 { c8 }
1499 @end lilypond
1500
1501 これらの定義済みコマンドは、@c
1502 たとえ @code{Voice} コンテキストの 1 つの中に配置したとしても、@c
1503 楽譜のすべての譜に影響を与えるということに注意してください。@c
1504 これを変更するには、@ref{複合拍子記譜法} で示されているように、@c
1505 @code{Timing_translator} を @code{Score} コンテキストから
1506 @code{Staff} コンテキストに移動させます。
1507
1508 @predefined
1509 @code{\cadenzaOn},
1510 @code{\cadenzaOff}
1511 @endpredefined
1512
1513
1514 @seealso
1515 音楽用語集:
1516 @rglos{cadenza}
1517
1518 記譜法リファレンス:
1519 @ref{Visibility of objects}
1520
1521 コード断片集:
1522 @rlsrnamed{Rhythms,リズム}
1523
1524
1525 @cindex cadenza line breaks (カデンツァでの改行)
1526 @cindex cadenza page breaks (カデンツァでの改ページ)
1527 @cindex unmetered music, line breaks (無韻律の音楽での改行)
1528 @cindex unmetered music, page breaks (無韻律の音楽での改ページ)
1529 @cindex breaks in unmetered music (無韻律の音楽での改行、改ページ)
1530 @cindex line breaks in cadenzas (カデンツァでの改行)
1531 @cindex page breaks in cadenzas (カデンツァでの改ページ)
1532 @cindex line breaks in unmetered music (無韻律の音楽での改行)
1533 @cindex page breaks in unmetered music (無韻律の音楽での改ページ)
1534
1535 @knownissues
1536
1537 LilyPond は改行と改ページを小節線の箇所にのみ挿入します。@c
1538 無韻律の音楽が譜の行の終わりまでに終了しないのならば、@c
1539 以下のように不可視の小節線を挿入して、@c
1540 改行または改ページを起こすことができる場所であることを示す必要があります:
1541
1542 @example
1543 \bar ""
1544 @end example
1545
1546 @code{\cadenzaOn} で楽曲を始める場合、@c
1547 @code{Voice} コンテキストを明示的に作成すべきです。@c
1548 さもないと、奇妙なエラーが発生する可能性があります。
1549
1550 @example
1551 \new Voice @{
1552   \relative c' @{
1553     \cadenzaOn
1554     c16[^"Solo Free Time" d e f] g2.
1555     \bar "||"
1556     \cadenzaOff
1557   @}
1558 @}
1559 @end example
1560
1561
1562 @node 複合拍子記譜法
1563 @unnumberedsubsubsec 複合拍子記譜法
1564 @translationof Polymetric notation
1565
1566 @c This section necessarily uses \set
1567 @c This is acceptable  -td
1568
1569 @cindex double time signatures (2 重拍子)
1570 @cindex signatures, polymetric (複合韻律)
1571 @cindex time signatures, polymetric (複合拍子)
1572 @cindex time signatures, double (2 重拍子)
1573 @cindex polymetric signatures (複合韻律)
1574 @cindex meter, polymetric (複合韻律拍)
1575
1576 @funindex timeSignatureFraction
1577 @funindex \scaleDurations
1578 @funindex scaleDurations
1579 @funindex \times
1580 @funindex times
1581
1582 複合拍子記譜法がサポートされます。@c
1583 明示的な複合拍子と、拍子指定を変更して音符の演奏時間を@c
1584 伸縮することによる複合拍子のどちらもです。
1585
1586
1587 @strong{@i{それぞれの譜は異なる拍子を持ち、小節の長さは等価である場合}}
1588
1589 この記譜を作成するには、各譜に共通の拍子をセットし、@c
1590 @code{timeSignatureFraction} に望みの分数をセットすることによって記号を@c
1591 手動で置き換え、各譜の演奏時間を伸縮させて共通の拍子に合わせます
1592 -- @ref{拍子} を参照してください。@c
1593 演奏時間の伸縮は @code{\scaleDurations} で行います。@c
1594 このコマンドの使用方法は @code{\times} と同じですが、連符囲みを@c
1595 作成しません -- @ref{演奏時間を変更する} を参照してください。
1596
1597 @cindex beaming in polymetric music (複合拍子音楽での連桁)
1598 @cindex beaming in polymetric meter (複合拍での連桁)
1599
1600 この例では、3/4, 9/8 それに 10/8 の拍子を持つ音楽が並列に並べられています。@c
1601 2 番目の譜では、演奏時間に 2/3 が掛けられ、それによって 2/3 * 9/8 = 3/4 と@c
1602 なっています。@c
1603 3 番目の譜では、演奏時間に 3/5 が掛けられ、それによって 3/5 * 10/8 = 3/4 と@c
1604 なっています。@c
1605 演奏時間の伸縮は自動連桁の規則に影響を与えるため、しばしば手動で連桁を@c
1606 挿入することが必要になります。
1607
1608 @lilypond[quote,verbatim]
1609 \relative c' <<
1610   \new Staff {
1611     \time 3/4
1612     c4 c c |
1613     c c c |
1614   }
1615   \new Staff {
1616     \time 3/4
1617     \set Staff.timeSignatureFraction = #'(9 . 8)
1618     \scaleDurations #'(2 . 3)
1619     \repeat unfold 6 { c8[ c c] }
1620   }
1621   \new Staff {
1622     \time 3/4
1623     \set Staff.timeSignatureFraction = #'(10 . 8)
1624     \scaleDurations #'(3 . 5) {
1625       \repeat unfold 2 { c8[ c c] }
1626       \repeat unfold 2 { c8[ c] } |
1627       c4. c4. \times 2/3 { c8[ c c] } c4
1628     }
1629   }
1630 >>
1631 @end lilypond
1632
1633
1634 @strong{@i{それぞれの譜は異なる拍子を持ち、小節の長さは等価ではない場合}}
1635
1636 @code{Timing_translator} と @code{Default_bar_line_engraver} を
1637 @code{Staff} コンテキストに移すことによって、@c
1638 それぞれの譜に独立した拍子を与えることができます。
1639
1640 @c KEEP LY
1641 @lilypond[quote,verbatim]
1642 \layout {
1643   \context {
1644     \Score
1645     \remove "Timing_translator"
1646     \remove "Default_bar_line_engraver"
1647   }
1648   \context {
1649     \Staff
1650     \consists "Timing_translator"
1651     \consists "Default_bar_line_engraver"
1652   }
1653 }
1654
1655 % 以上で、各譜はそれぞれに拍子を持つようになります
1656
1657 \relative c' <<
1658   \new Staff {
1659     \time 3/4
1660     c4 c c |
1661     c4 c c |
1662   }
1663   \new Staff {
1664     \time 2/4
1665     c4 c |
1666     c4 c |
1667     c4 c |
1668   }
1669   \new Staff {
1670     \time 3/8
1671     c4. |
1672     c8 c c |
1673     c4. |
1674     c8 c c |
1675   }
1676 >>
1677 @end lilypond
1678
1679 @snippets
1680
1681 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1682 {compound-time-signatures.ly}
1683
1684
1685 @seealso
1686 音楽用語集:
1687 @rglos{polymetric},
1688 @rglos{polymetric time signature},
1689 @rglos{meter}
1690
1691 記譜法リファレンス:
1692 @ref{拍子},
1693 @ref{演奏時間を変更する}
1694
1695 コード断片集:
1696 @rlsrnamed{Rhythms,リズム}
1697
1698 内部リファレンス:
1699 @rinternals{TimeSignature},
1700 @rinternals{Timing_translator},
1701 @rinternals{Default_bar_line_engraver},
1702 @rinternals{Staff}
1703
1704
1705 @knownissues
1706
1707 異なる拍子を持つ譜が並列に並べられている場合、@c
1708 同時に起こる音符の水平方向の位置は同じになります。@c
1709 しかしながら、それぞれの譜の小節線により、@c
1710 音符の間隔は通常の異なる拍子が無い場合よりも不規則になります。
1711
1712
1713 @node 自動音符分割
1714 @unnumberedsubsubsec 自動音符分割
1715 @translationof Automatic note splitting
1716
1717 @cindex notes, splitting (音符を分割する)
1718 @cindex splitting notes (音符を分割する)
1719
1720 @funindex Note_heads_engraver
1721 @funindex Completion_heads_engraver
1722
1723 小節線をまたがる長い音符を自動的にタイで結ばれた音符に変換することができます。@c
1724 これを行うには、@code{Note_heads_engraver} を
1725 @code{Completion_heads_engraver} で置き換えます。@c
1726 以下の例では、小節線をまたがる音符が分割され、タイで結ばれています。
1727
1728 @lilypond[quote,verbatim,relative=1]
1729 \new Voice \with {
1730   \remove "Note_heads_engraver"
1731   \consists "Completion_heads_engraver"
1732 }
1733
1734 { c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 }
1735 @end lilypond
1736
1737 このエングラーバは進行中の音符をすべて小節線のところで分割して、@c
1738 タイを挿入します。@c
1739 このエングラーバの用途の 1 つに複雑な楽譜のデバッグがあります:
1740 何小節かで音符がきちんと満たされていない場合、@c
1741 このエングラーバで挿入されたタイが、それぞれの小節の狂いを示します。
1742
1743
1744 @seealso
1745 音楽用語集: @rglos{tie}
1746
1747 学習マニュアル:
1748 @rlearning{エングラーバの説明},
1749 @rlearning{エングラーバを追加 / 削除する}
1750
1751 コード断片集:
1752 @rlsrnamed{Rhythms,リズム}
1753
1754 内部リファレンス:
1755 @rinternals{Note_heads_engraver},
1756 @rinternals{Completion_heads_engraver},
1757 @rinternals{Forbid_line_break_engraver}
1758
1759
1760 @knownissues
1761
1762 すべての演奏時間を通常の音符と付点で正確に表すことはできません
1763 (特に、連符を含んでいる場合) が、@c
1764 @code{Completion_heads_engraver} が連符を挿入することはありません。
1765
1766 @code{Completion_heads_engraver} は音符にだけ作用します。@c
1767 休符を分割することはありません。
1768
1769
1770 @node 旋律のリズムを示す
1771 @unnumberedsubsubsec 旋律のリズムを示す
1772 @translationof Showing melody rhythms
1773
1774 @cindex melody rhythms, showing (旋律のリズムを示す)
1775 @cindex rhythms, showing melody (旋律のリズムを示す)
1776
1777 しばしば旋律のリズムだけを示したいことがあります。@c
1778 これはリズム譜を使うことで達成できます。@c
1779 そのような譜上にある音符のピッチはすべて破棄され、その譜自体は 1 本の@c
1780 線を持ちます:
1781
1782 @lilypond[quote,relative=1,verbatim]
1783 <<
1784   \new RhythmicStaff {
1785     \new Voice = "myRhythm" {
1786       \time 4/4
1787       c4 e8 f g2
1788       r4 g g f
1789       g1
1790     }
1791   }
1792   \new Lyrics {
1793     \lyricsto "myRhythm" {
1794       This is my song
1795       I like to sing
1796     }
1797   }
1798 >>
1799 @end lilypond
1800
1801 @cindex guitar chord charts (ギター コード表)
1802 @cindex strumming rhythms, showing (つま弾き (ストラム) のリズムを示す)
1803 @cindex guitar strumming rhythms, showing (ギターのつま弾き (ストラム) のリズムを示す)
1804
1805 @funindex Pitch_squash_engraver
1806 @funindex \improvisationOn
1807 @funindex improvisationOn
1808 @funindex \improvisationOff
1809 @funindex improvisationOff
1810
1811 ギター コード表はしばしばつま弾き (ストラム) のリズムを示します。@c
1812 これは @code{Pitch_squash_engraver} と @code{\improvisationOn} を@c
1813 使うことで達成できます。
1814
1815
1816 @lilypond[quote,verbatim]
1817 <<
1818   \new ChordNames {
1819     \chordmode {
1820       c1 f g c
1821     }
1822   }
1823   \new Voice \with {
1824     \consists Pitch_squash_engraver
1825   } \relative c'' {
1826     \improvisationOn
1827     c4 c8 c c4 c8 c
1828     f4 f8 f f4 f8 f
1829     g4 g8 g g4 g8 g
1830     c4 c8 c c4 c8 c
1831   }
1832 >>
1833 @end lilypond
1834
1835
1836 @predefined
1837 @code{\improvisationOn},
1838 @code{\improvisationOff}
1839 @endpredefined
1840
1841
1842 @snippets
1843
1844 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1845 {guitar-strum-rhythms.ly}
1846
1847
1848 @seealso
1849 コード断片集:
1850 @rlsrnamed{Rhythms,リズム}
1851
1852 内部リファレンス:
1853 @rinternals{RhythmicStaff},
1854 @rinternals{Pitch_squash_engraver}
1855
1856
1857 @node 連桁
1858 @subsection 連桁
1859 @translationof Beams
1860
1861 @menu
1862 * 自動連桁::
1863 * 自動連桁の振る舞いを設定する::
1864 * 手動連桁::
1865 * 羽状の連桁::
1866 @end menu
1867
1868
1869 @node 自動連桁
1870 @unnumberedsubsubsec 自動連桁
1871 @translationof Automatic beams
1872
1873 デフォルトでは、連桁は自動的に挿入されます:
1874
1875 @cindex beams, manual (手動連桁)
1876 @cindex manual beams (手動連桁)
1877 @cindex beams, setting rules for (連桁の規則を設定する)
1878 @cindex beams, custom rules for (連桁のためのカスタム規則)
1879
1880 @funindex \autoBeamOn
1881 @funindex autoBeamOn
1882 @funindex \autoBeamOff
1883 @funindex autoBeamOff
1884
1885 @lilypond[quote,verbatim,relative=2]
1886 \time 2/4 c8 c c c
1887 \time 6/8 c8 c c c8. c16 c8
1888 @end lilypond
1889
1890 自動的に決定される連桁が満足いかないものである場合、@c
1891 明示的に連桁を挿入することが可能です
1892 -- @ref{手動連桁} を参照してください。@c
1893 連桁を休符の上まで伸ばそうと意図しているのなら、@c
1894 連桁を手動で挿入する @emph{必要があります}。
1895
1896 自動連桁を必要としない場合、@c
1897 @code{\autoBeamOff} で off にすることができ、@c
1898 @code{\autoBeamOn} で on にすることができます:
1899
1900 @lilypond[quote,relative=1,verbatim]
1901 c4 c8 c8. c16 c8. c16 c8
1902 \autoBeamOff
1903 c4 c8 c8. c16 c8.
1904 \autoBeamOn
1905 c16 c8
1906 @end lilypond
1907
1908 @cindex melismata, beams (メリスマと連桁)
1909 @cindex beams and melismata (連桁とメリスマ)
1910
1911 @warning{歌曲の中でメリスマを表すために連桁を使用する場合、
1912 @code{\autoBeamOff} で自動連桁を off にして、手動で連桁を示すべきです。}
1913
1914 @warning{@code{@bs{}partcombine} を @code{@bs{}autoBeamOff} と一緒に@c
1915 用いると予期しない結果になる可能性があります。@c
1916 詳細は以下のコード断片を参照してください。}
1917
1918 自動的に挿入されるデフォルトの連桁とは異なるパターンの連桁を@c
1919 作成することができます
1920 -- @ref{自動連桁の振る舞いを設定する} を参照してください。
1921
1922
1923 @predefined
1924 @code{\autoBeamOff},
1925 @code{\autoBeamOn}
1926 @endpredefined
1927
1928
1929 @snippets
1930
1931 @cindex line breaks and beams (改行と連桁)
1932 @cindex beams and line breaks (連桁と改行)
1933
1934 @funindex breakable
1935
1936 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1937 {beams-across-line-breaks.ly}
1938
1939 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
1940 {changing-beam-knee-gap.ly}
1941
1942 @cindex \partcombine and \autoBeamOff (\partcombine と \autoBeamOff)
1943 @cindex \autoBeamOff and \partcombine (\autoBeamOff と \partcombine)
1944
1945
1946 @lilypondfile [verbatim, lilyquote, ragged-right, texidoc, doctitle]
1947 {partcombine-and-autobeamoff.ly}
1948
1949
1950 @seealso
1951 記譜法リファレンス:
1952 @ref{手動連桁},
1953 @ref{自動連桁の振る舞いを設定する}
1954
1955 インストールされているファイル:
1956 @file{scm/auto-beam.scm}
1957
1958 コード断片集:
1959 @rlsrnamed{Rhythms,リズム}
1960
1961 内部リファレンス:
1962 @rinternals{Auto_beam_engraver},
1963 @rinternals{Beam_engraver},
1964 @rinternals{Beam},
1965 @rinternals{BeamEvent},
1966 @rinternals{BeamForbidEvent},
1967 @rinternals{beam-interface},
1968 @rinternals{unbreakable-spanner-interface}
1969
1970
1971 @knownissues
1972
1973 連桁は他のボイスの中にある符頭や臨時記号と衝突する可能性があります。
1974
1975
1976 @node 自動連桁の振る舞いを設定する
1977 @unnumberedsubsubsec 自動連桁の振る舞いを設定する
1978 @translationof Setting automatic beam behavior
1979
1980
1981 @cindex automatic beams, tuning (自動連桁を調整する)
1982 @cindex tuning automatic beaming (自動連桁を調整する)
1983 @cindex automatic beam generation (自動連桁生成)
1984 @cindex autobeam (自動連桁)
1985 @cindex lyrics and beaming (歌詞と連桁)
1986
1987 @funindex autoBeaming
1988 @funindex baseMoment
1989 @funindex beamExceptions
1990 @funindex beatStructure
1991 @funindex measureLength
1992 @funindex \time
1993 @funindex time
1994 @funindex \set
1995 @funindex set
1996
1997 たいていの場合、自動連桁は拍の終わりで終了します。@c
1998 拍の終了点はコンテキスト プロパティ @code{baseMoment} と @code{beatStructure}
1999 によって決定されます。@c
2000 @code{beatStructure} は @code{baseMoment} を単位とする小節の各拍の長さを@c
2001 定義する Scheme リストです。@c
2002 デフォルトでは、@code{baseMoment} は「1/拍子の分母」です。@c
2003 デフォルトでは、各拍の長さは @code{baseMoment} です。
2004
2005 @lilypond[quote,relative=2,verbatim]
2006 \time 5/16
2007 c16^"default" c c c c |
2008 \set Timing.beatStructure = #'(2 3)
2009 c16^"(2+3)" c c c c |
2010 \set Timing.beatStructure = #'(3 2)
2011 c16^"(3+2)" c c c c |
2012 @end lilypond
2013
2014 連桁の設定変更をある特定のテキストに限定することができます。@c
2015 下位コンテキストに連桁の設定が含まれない場合、@c
2016 そのコンテキストを囲んでいる上位コンテキストの設定が適用されます。
2017
2018 @lilypond[quote, verbatim,relative=1]
2019 \new Staff {
2020   \time 7/8
2021   \set Staff.beatStructure = #'(2 3 2)
2022   <<
2023     \new Voice = one {
2024       \relative c'' {
2025         a8 a a a a a a
2026       }
2027     }
2028     \new Voice = two {
2029       \relative c' {
2030         \voiceTwo
2031         \set Voice.beatStructure = #'(1 3 3)
2032         f8 f f f f f f
2033       }
2034     }
2035   >>
2036 }
2037 @end lilypond
2038
2039 譜で複数のボイスが使用されている場合に@c
2040 連桁設定を譜のすべてのボイスに適用するには、@c
2041 @code{Staff} コンテキストで設定を行う必要があります:
2042
2043 @c KEEP LY
2044 @lilypond[quote,verbatim,relative=2]
2045 \time 7/8
2046 % リズム 3-1-1-2
2047 % デフォルトで連桁設定の変更は Voice に適用され、うまくいきません
2048 % なぜなら、自動生成されるボイスで、すべての拍は baseMoment (1 . 8) だからです
2049 \set beatStructure = #'(3 1 1 2)
2050 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2051
2052 % コンテキスト Staff を指定するとうまくいきます
2053 \set Staff.beatStructure = #'(3 1 1 2)
2054 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2055 @end lilypond
2056
2057 @code{baseMoment} の値を調整することで、@c
2058 連桁の振る舞いを変更することができます。@c
2059 @code{baseMoment} の値を変更した場合、@c
2060 @code{beatStructure} に新しい @code{baseMoment} と矛盾しない値を@c
2061 設定する必要があります。
2062
2063 @lilypond[quote,verbatim,relative=2]
2064 \time 5/8
2065 \set Timing.baseMoment = #(ly:make-moment 1 16)
2066 \set Timing.beatStructure = #'(7 3)
2067 \repeat unfold 10 { a16 }
2068 @end lilypond
2069
2070 @code{beatLength} は @i{moment} -- 演奏時間の単位 -- です。@c
2071 タイプ @i{momento} の量は
2072 Scheme 関数 @code{ly:make-moment} によって作り出されます。@c
2073 この関数についての更なる情報は @ref{時間管理} を参照してください。
2074
2075 デフォルトでは、@code{baseMoment} には「1/拍子の分母」がセットされています。@c
2076 このデフォルトの例外は @file{scm/time-signature-settings.scm} で見つかります。
2077
2078 特殊な自動連桁規則 (連桁の終わりが拍に従わないもの) はプロパティ
2079 @code{beamExceptions} に定義します。
2080
2081 @c 未訳
2082 @lilypond[quote,relative=2,verbatim]
2083 \time 3/16
2084 \set Timing.beatStructure = #'(2 1)
2085 \set Timing.beamExceptions =
2086   #'(                         ;start of alist
2087      (end .                   ;entry for end of beams
2088       (                       ;start of alist of end points
2089        ((1 . 32) . (2 2 2))   ;rule for 1/32 beams -- end each 1/16
2090       )))                     %close all entries
2091 c16 c c |
2092 \repeat unfold 6 { c32 } |
2093 @end lilypond
2094
2095 @code{beamExceptions} は規則タイプのキーと連桁規則の値を持つ配列リストです。
2096
2097 現時点で、利用可能な唯一の規則タイプの値は、@c
2098 連桁の終わりのための @code{#'end} です。
2099
2100 連桁規則は、連桁タイプとその連桁タイプの最短演奏時間の音符を保持する連桁に@c
2101 適用されるグループ化の仕方を示す Scheme 配列リスト (あるいはペアのリスト) です。
2102
2103 @example
2104 #'((beam-type1 . grouping-1)
2105    (beam-type2 . grouping-2)
2106    (beam-type3 . grouping-3))
2107 @end example
2108
2109 連桁タイプは、その連桁の演奏時間を示す Scheme ペアであり、@c
2110 例えば @code{(1 . 16)} です。
2111
2112 @warning{@code{beamExceptions} の値は @emph{完全な} 例外リストである@c
2113 必要があります。@c
2114 つまり、その設定には適用されるべき例外がすべて含まれている必要があります。@c
2115 例外の 1 つだけを追加、削除、変更することはできません。@c
2116 このことは扱い難いように思えるかもしれませんが、@c
2117 新しい連桁パターンを指定する際に現在の連桁設定を知る必要がないということを@c
2118 意味します。}
2119
2120 拍子が変更されると、@code{Timing.baseMoment}, @code{Timing.beatStructure},
2121 それに @code{Timing.beamExceptions} のデフォルト値が設定されます。@c
2122 拍子を設定すると、その @code{Timing} コンテキストの自動連桁設定は@c
2123 デフォルトの振る舞いにリセットされます。
2124
2125 @c KEEP LY
2126 @lilypond[quote,verbatim,relative=2]
2127 \time 6/8
2128 \repeat unfold 6 { a8 }
2129 % (4 + 2) にグループ化します
2130 \set Timing.beatStructure = #'(4 2)
2131 \repeat unfold 6 { a8 }
2132 % デフォルトの振る舞いに戻ります
2133 \time 6/8
2134 \repeat unfold 6 { a8 }
2135 @end lilypond
2136
2137 ある拍子のデフォルトの自動連桁設定は @file{scm/beam-settings.scm}
2138 の中で決定されます。@c
2139 ある拍子に対する自動連桁のデフォルト設定を変更する方法は
2140 @ref{拍子} で説明しています。
2141
2142 ある拍子に対する自動連桁設定の多くには
2143 @code{beamExceptions} が登録されています。@c
2144 例えば、4/4 拍子は 16 分音符しかない小節を 2 つの連桁で囲もうとします。@c
2145 @code{beamExceptions} がリセットされていなければ、@c
2146 @code{beamExceptions} 規則は @code{beatStructure} 設定を@c
2147 オーバライドすることができます。
2148
2149 @c KEEP LY
2150 @lilypond[quote,verbatim,relative=2]
2151 \time 4/4
2152 \set Timing.baseMoment = #(ly:make-moment 1 8)
2153 \set Timing.beatStructure = #'(3 3 2)
2154 % 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
2155 \repeat unfold 8 {c8} |
2156 % 以下は beamExceptions をクリアするため、(3 3 2) の連桁になります
2157 \set Timing.beamExceptions = #'()
2158 \repeat unfold 8 {c8}
2159 @end lilypond
2160
2161 同様に、デフォルトで 8 分音符のみの 3/4 拍子の小節は 1 つの連桁で囲まれます。@c
2162 3/4 拍子での 8分音符を拍毎に連桁で囲むには、@c
2163 @code{beamExceptions} をリセットします。
2164
2165 @c KEEP LY
2166 @lilypond[quote,verbatim,relative=2]
2167 \time 3/4
2168 % デフォルトでは beamExceptions のため、(3) の連桁になります
2169 \repeat unfold 6 {a8} |
2170 % 以下は beatLength のため、(1 1 1) の連桁になります
2171 \set Timing.beamExceptions = #'()
2172 \repeat unfold 6 {a8}
2173 @end lilypond
2174
2175 @i{@strong{自動連桁はどのように機能するのか}}
2176
2177 自動連桁が有効である場合、自動連桁の配置はコンテキスト プロパティ
2178 @code{baseMoment}, @code{beatStructure}, それに @code{beamExceptions}
2179 によって決定されます。
2180
2181 連桁の配置を決定する際、以下の規則が並び順の優先度で適用されます:
2182
2183 @itemize
2184
2185 @item @code{[..]} で手動連桁が指定されている場合、@c
2186 連桁は指定どおりに設定されます。@c
2187 手動連桁が指定されていない場合、
2188
2189 @item
2190 その連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2191 定義されている場合、@c
2192 その規則を用いて連桁を終了させる位置を決定します。@c
2193 連桁終了規則が定義されていない場合、
2194
2195 @item
2196 もっと長い連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2197 定義されている場合、@c
2198 その規則を用いて連桁を終了させる位置を決定します。@c
2199 連桁終了規則が定義されていない場合、
2200
2201 @item
2202 @code{baseMoment} と @code{beatStructure} の値を用いて@c
2203 その小節での拍の終わりを決定し、@c
2204 拍の終わりで連桁を終了させます。
2205
2206 @end itemize
2207
2208 上記の規則で、連桁タイプは連桁でグループ化された音符の最短演奏時間です。
2209
2210 参考として、@c
2211 デフォルトの連桁規則は @file{scm/time-signature-settings.scm} の中にあります。
2212
2213 @snippets
2214
2215 @cindex beams, subdividing (連桁をサブ グループ化する)
2216
2217 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2218 {subdividing-beams.ly}
2219
2220 @cindex measure groupings (小節をグループ化する)
2221 @cindex beats, grouping (拍をグループ化する)
2222 @cindex grouping beats (拍をグループ化する)
2223 @cindex measure sub-grouping (小節をサブ グループ化する)
2224
2225 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2226 {conducting-signs,-measure-grouping-signs.ly}
2227
2228 @cindex beam, last in score (楽譜の最後の連桁)
2229 @cindex beam, last in polyphonic voice (多声ボイスの最後の連桁)
2230
2231 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2232 {beam-endings-in-score-context.ly}
2233
2234
2235 @seealso
2236 インストールされているファイル:
2237 @file{scm/beam-settings.scm}
2238
2239 コード断片集:
2240 @rlsr{Rhythms}
2241
2242 内部リファレンス:
2243 @rinternals{Auto_beam_engraver},
2244 @rinternals{Beam},
2245 @rinternals{BeamForbidEvent},
2246 @rinternals{beam-interface}
2247
2248
2249 @knownissues
2250 自動連桁が終了しておらず、まだ音符を受け付けている最中に楽譜が終了する場合、@c
2251 その最後の連桁はまったく譜刻されません。@c
2252 @code{<< @dots{} \\ @dots{} >>} で入力される多声ボイスでも同様です。@c
2253 自動連桁がまだ音符を受け付けている最中に多声ボイスが終了する場合、@c
2254 その最後の連桁はまったく譜刻されません。@c
2255 ボイスや楽譜の最後の連桁には手動で連桁を付けることにより、@c
2256 これらの問題を回避できます。
2257
2258
2259 @node 手動連桁
2260 @unnumberedsubsubsec 手動連桁
2261 @translationof Manual beams
2262
2263 @cindex beams, manual (手動連桁)
2264 @cindex manual beams (手動連桁)
2265
2266 @funindex ]
2267 @funindex [
2268
2269 自動連桁アルゴリズムをオーバライドする必要がある場合もあります。@c
2270 例えば、自動連桁は休符や小節線を越えて連桁を配置することはなく、@c
2271 合唱譜では連桁はしばしば音符ではなく歌詞の韻律に従って配置されます。@c
2272 そのような連桁は  @code{[} と @code{]} で開始点と終了点を記すことによって@c
2273 手動で指定することができます:
2274
2275 @lilypond[quote,relative=1,verbatim]
2276 r4 r8[ g' a r] r g[ | a] r
2277 @end lilypond
2278
2279 @cindex manual beams, direction shorthand for (手動連桁の向きを指定する短縮記譜法)
2280 @cindex manual beams, grace notes (装飾小音符の手動連桁)
2281
2282 方向指示子を用いることで、連桁の向きを手動で設定することができます:
2283
2284 @lilypond[quote,relative=2,verbatim]
2285 c8^[ d e] c,_[ d e f g]
2286 @end lilypond
2287
2288 @funindex \noBeam
2289 @funindex noBeam
2290
2291 連桁でつながれないようにするために、個々の音符には
2292 @code{\noBeam} が記されるかもしれません:
2293
2294 @lilypond[quote,verbatim,relative=2]
2295 \time 2/4
2296 c8 c\noBeam c c
2297 @end lilypond
2298
2299 装飾小音符の連桁と通常の音符の連桁は同時進行で発生します。@c
2300 通常の音符の連桁の途中に、連桁でつながれない装飾小音符は配置されません。
2301
2302 @lilypond[quote,verbatim,relative=2]
2303 c4 d8[
2304 \grace { e32[ d c d] }
2305 e8] e[ e
2306 \grace { f16 }
2307 e8 e]
2308 @end lilypond
2309
2310 @funindex stemLeftBeamCount
2311 @funindex stemRightBeamCount
2312
2313 プロパティ @code{stemLeftBeamCount} と @code{stemRightBeamCount} を@c
2314 セットすることによって連桁をさらに厳密に手動制御することが可能です。@c
2315 これらの値はそれぞれ、次の音符の左側と右側に描く連桁の本数を指定します。@c
2316 どちらかのプロパティがセットされている場合、その値は 1 度だけ使用され、@c
2317 それから消去されます。@c
2318 以下の例では、最後の @code{f} は左側に連桁を 1 本だけ持って
2319 -- すなわち、グループ全体をつなげている 8 分音符の連桁を持って --
2320 譜刻されています。
2321
2322 @lilypond[quote,relative=2,verbatim]
2323 a8[ r16 f g a]
2324 a8[ r16
2325 \set stemLeftBeamCount = #2
2326 \set stemRightBeamCount = #1
2327 f16
2328 \set stemLeftBeamCount = #1
2329 g16 a]
2330 @end lilypond
2331
2332
2333 @predefined
2334 @code{\noBeam}
2335 @endpredefined
2336
2337 @snippets
2338
2339 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2340 {flat-flags-and-beam-nibs.ly}
2341
2342
2343 @seealso
2344 記譜法リファレンス:
2345 @ref{Direction and placement},
2346 @ref{Grace notes}
2347
2348 コード断片集:
2349 @rlsr{Rhythms}
2350
2351 内部リファレンス:
2352 @rinternals{Beam},
2353 @rinternals{BeamEvent},
2354 @rinternals{Beam_engraver},
2355 @rinternals{beam-interface},
2356 @rinternals{Stem_engraver}
2357
2358
2359 @node 羽状の連桁
2360 @unnumberedsubsubsec 羽状の連桁
2361 @translationof Feathered beams
2362
2363 @cindex beams, feathered (羽状の連桁)
2364 @cindex feathered beams (羽状の連桁)
2365
2366 @funindex \featherDurations
2367 @funindex featherDurations
2368 @funindex grow-direction
2369
2370 羽状の連桁は、楽曲全体のテンポを変えることなく、音符の小さなグループを@c
2371 テンポを上げながら (あるいは下げながら) 演奏すべきであることを示すために@c
2372 使用されます。@c
2373 羽状連桁の範囲は @code{[} と @code{]} を使って手動で指定する必要があり、@c
2374 連桁の羽は @code{Beam} のプロパティ @code{grow-direction} に向きを@c
2375 指定することによって調整することができます。
2376
2377 音符の配置と MIDI 出力での音が羽状連桁によって指示された
2378 ritardando (徐々に緩やかに) や accelerando (次第に速く) を@c
2379 反映すべきであるのなら、@c
2380 音符は波括弧で区切られた音楽表記としてグループ化される必要があり、@c
2381 さらに、そのグループの最初の音符と最後の音符の演奏時間の比率を指定する
2382 @code{featheredDurations} コマンドを前に置く必要があります。
2383
2384 角括弧は連桁の範囲を示し、@c
2385 波括弧は演奏時間を変更される音符はどれなのかを示します。@c
2386 通常これら 2 つは同じ音符のグループを囲みますが、@c
2387 同じであることは必須ではありません:
2388 2 つのコマンドは独立しています。
2389
2390 以下の例では、8 つの 16 分音符は 2 分音符とまったく同じ時間を占めますが、@c
2391 最初の音符の長さは最後の音符の長さの半分であり、@c
2392 中間の音符は徐々に長くなります。@c
2393 最初の 4 つの 32 分音符は徐々にスピード アップしますが、@c
2394 最後の 4 つの 32 分音符は一定のテンポです。
2395
2396 @lilypond[relative=1,verbatim,quote]
2397 \override Beam #'grow-direction = #LEFT
2398 \featherDurations #(ly:make-moment 2 1)
2399 { c16[ c c c c c c c] }
2400 \override Beam #'grow-direction = #RIGHT
2401 \featherDurations #(ly:make-moment 2 3)
2402 { c32[ d e f] }
2403 % revert to non-feathered beams
2404 \override Beam #'grow-direction = #'()
2405 { g32[ a b c] }
2406 @end lilypond
2407
2408 @noindent
2409 譜刻される音符の間隔は音符の演奏時間を近似的に表しているだけですが、@c
2410 MIDI 出力での演奏時間は正確です。
2411
2412
2413 @predefined
2414 @code{\featherDurations}
2415 @endpredefined
2416
2417 @seealso
2418 コード断片集:
2419 @rlsr{Rhythms}
2420
2421
2422 @knownissues
2423
2424 @code{\featherDurations} は非常に短い音楽コード断片に対してだけ、@c
2425 そして分数の数が小さいときにだけ機能します。
2426
2427
2428 @seealso
2429 コード断片集:
2430 @rlsrnamed{Rhythms,リズム}
2431
2432
2433 @node 小節
2434 @subsection 小節
2435 @translationof Bars
2436
2437 @menu
2438 * 小節線::
2439 * 小節番号::
2440 * 小節と小節番号のチェック::
2441 * リハーサル記号::
2442 @end menu
2443
2444
2445 @node 小節線
2446 @unnumberedsubsubsec 小節線
2447 @translationof Bar lines
2448
2449 @cindex bar lines (小節線)
2450 @cindex measure lines (小節線)
2451 @cindex closing bar lines (閉じの小節線)
2452 @cindex bar lines, closing (閉じの小節線)
2453 @cindex double bar lines (2 重小節線)
2454 @cindex bar lines, double (2 重小節線)
2455 @cindex repeat bars (繰り返しの小節線)
2456
2457 @funindex \bar
2458 @funindex bar
2459
2460 小節線は小節を区切り、繰り返しを示すためにも使用されます。@c
2461 通常、単線の小節線が拍子に基づいて出力に自動的に挿入されます。
2462
2463 自動的に挿入される単線の小節線は
2464 @code{\bar} コマンドで他のタイプに変更することができます。@c
2465 例えば、通常、2 重線の閉じの小節線が楽曲の最後に配置されます:
2466
2467 @lilypond[quote,relative=1,verbatim]
2468 e4 d c2 \bar "|."
2469 @end lilypond
2470
2471 ある小節の最後の音符が、自動的に挿入される小節線の所で終わっていなくても@c
2472 無効ではありません:
2473 その音符は次の小節に持ち越されるものと見なされます。@c
2474 しかしながら、そのような持ち越しのある小節がいくつも続く場合、@c
2475 その音楽は圧縮されて表示される可能性があり、@c
2476 ページからはみ出す可能性さえあります。@c
2477 これは、自動改行は完全な小節
2478 -- つまり、小節の終端ですべての音符が終わっている小節 --
2479 の終わりでのみ発生するからです。
2480
2481 @warning{誤った演奏時間の指定は改行を抑制し、結果として@c
2482 非常に圧縮された楽譜やページからはみ出す楽譜の原因となります。}
2483
2484 @cindex line breaks (改行)
2485 @cindex bar lines, invisible (不可視の小節線)
2486 @cindex measure lines, invisible (不可視の小節線)
2487
2488 手動で挿入された小節線のところでも
2489 -- たとえ、その小節が不完全であっても --
2490 改行することができます。@c
2491 小節線を譜刻せずに改行を可能にするには、以下を使用します:
2492
2493 @example
2494 \bar ""
2495 @end example
2496
2497 @noindent
2498 これは不可視の小節線を挿入し、@c
2499 そこで改行が発生することを可能にします (強制はしません)。@c
2500 小節番号カウンタは増加しません。@c
2501 強制的に改行を行うには、@ref{Line breaking} を参照してください。
2502
2503 @cindex manual bar lines (手動の小節線)
2504 @cindex manual measure lines (手動の小節線)
2505 @cindex bar lines, manual (手動の小節線)
2506 @cindex measure lines, manual (手動の小節線)
2507
2508 不可視の小節線と他の特殊な小節線は任意の位置に手動で挿入することができます。@c
2509 それらの小節線の位置がある小節の終わりと一致する場合、@c
2510 それらの小節線はそこに自動で挿入されるはずだった単線の小節線に@c
2511 取って代わります。@c
2512 小節の終わりと一致しない場合、指定された小節線がその位置に挿入されます。@c
2513
2514 手動の小節線は純粋に視覚的なものです。@c
2515 それらは通常の小節線が影響を与えるプロパティ
2516 -- 小節番号、臨時記号、改行など --
2517 には何の影響も与えません。@c
2518 手動の小節線はその後に続く自動小節線の算出や配置に影響を与えません。@c
2519 自動小節線がすでに存在する場所に手動小節線が配置されても、@c
2520 自動小節線の効果は変更されません。
2521
2522 手動で挿入できる小節線として、単線の小節線は 2 種類あり、@c
2523 2 重線の小節線は 5 種類あります:
2524
2525 @lilypond[quote,relative=1,verbatim]
2526 f1 \bar "|"
2527 f1 \bar "."
2528 g1 \bar "||"
2529 a1 \bar ".|"
2530 b1 \bar ".|."
2531 c1 \bar "|.|"
2532 d1 \bar "|."
2533 e1
2534 @end lilypond
2535
2536 @noindent
2537 さらに、点線と破線の小節線があります:
2538
2539 @lilypond[quote,relative=1,verbatim]
2540 f1 \bar ":"
2541 g1 \bar "dashed"
2542 a1
2543 @end lilypond
2544
2545 @noindent
2546 さらに、繰り返しの小節線が 5 種類あります:
2547
2548 @lilypond[quote,relative=1,verbatim]
2549 f1 \bar "|:"
2550 g1 \bar ":|:"
2551 a1 \bar ":|.|:"
2552 b1 \bar ":|.:"
2553 c1 \bar ":|"
2554 e1
2555 @end lilypond
2556
2557 @c 未訳
2558 Additionally, a bar line can be printed as a simple tick:
2559 @lilypond[quote,relative=1,verbatim]
2560 f1 \bar "'"
2561 @end lilypond
2562 However, as such ticks are typically used in Gregorian chant, it is preferable
2563 to use @code{\divisioMinima} there instead, described in the section
2564 @ref{Divisiones} in Gregorian chant.
2565
2566 @cindex segno (セーニョ)
2567
2568 行内のセーニョ記号として、3 タイプの小節線があり、@c
2569 改行での振る舞いがそれぞれ異なります:
2570
2571 @lilypond[quote,relative=2,verbatim]
2572 c4 c c c
2573 \bar "S"
2574 c4 c c c \break
2575 \bar "S"
2576 c4 c c c
2577 \bar "|S"
2578 c4 c c c \break
2579 \bar "|S"
2580 c4 c c c
2581 \bar "S|"
2582 c4 c c c \break
2583 \bar "S|"
2584 c1
2585 @end lilypond
2586
2587 @cindex repeats (繰り返し)
2588
2589 繰り返しを表す小節線は手動で挿入される場合がありますが、@c
2590 それらの小節線自体は LilyPond に繰り返されるセクションを@c
2591 認識させることはしません。@c
2592 そのような繰り返されるセクションは@c
2593 さまざまな繰り返しのコマンドを使って入力した方が良いです
2594 (@ref{Repeats} を参照してください)。@c
2595 繰り返しのコマンドは自動的に適切な小節線を譜刻します。
2596
2597 さらに、@code{"||:"} を使用することができます。@c
2598 これは @code{"|:"} と等価ですが、例外として改行位置では、@c
2599 この小節線は行の終わりに 2 重線の小節線を置き、@c
2600 次の行の始めに繰り返し開始の小節線を置きます。
2601
2602 @lilypond[quote,relative=2,verbatim]
2603 c4 c c c
2604 \bar "||:"
2605 c4 c c c \break
2606 \bar "||:"
2607 c4 c c c
2608 @end lilypond
2609
2610 繰り返しとセーニョ記号の組み合わせは 6 種類あります:
2611
2612 @lilypond[quote,relative=2,verbatim]
2613 c4 c c c
2614 \bar ":|S"
2615 c4 c c c \break
2616 \bar ":|S"
2617 c4 c c c
2618 \bar ":|S."
2619 c4 c c c \break
2620 \bar ":|S."
2621 c4 c c c
2622 \bar "S|:"
2623 c4 c c c \break
2624 \bar "S|:"
2625 c4 c c c
2626 \bar ".S|:"
2627 c4 c c c \break
2628 \bar ".S|:"
2629 c4 c c c
2630 \bar ":|S|:"
2631 c4 c c c \break
2632 \bar ":|S|:"
2633 c4 c c c
2634 \bar ":|S.|:"
2635 c4 c c c \break
2636 \bar ":|S.|:"
2637 c1
2638 @end lilypond
2639
2640
2641 多くの譜を持つ楽譜では、ある譜の @code{\bar} コマンドは@c
2642 自動的にすべての譜に適用されます。@c
2643 結果として、@code{StaffGroup}, @code{PianoStaff}, あるいは
2644 @code{GrandStaff} では、小節線は譜をまたがって 1 本に接続されます。
2645
2646 @lilypond[quote,relative=1,verbatim]
2647 <<
2648   \new StaffGroup <<
2649     \new Staff {
2650       e4 d
2651       \bar "||"
2652       f4 e
2653     }
2654     \new Staff { \clef bass c4 g e g }
2655   >>
2656   \new Staff { \clef bass c2 c2 }
2657 >>
2658 @end lilypond
2659
2660
2661 @cindex default bar lines, changing (デフォルトの小節線を変更する)
2662 @cindex bar lines, default, changing (デフォルトの小節線を変更する)
2663
2664 @snippets
2665
2666 @funindex whichBar
2667 @funindex defaultBarType
2668 @funindex \bar
2669 @funindex bar
2670 @funindex bartype
2671
2672 コマンド @code{\bar }@var{bartype} は
2673 @samp{\set Timing.whichBar = @var{bartype}} の短縮記法です。@c
2674 @code{whichBar} プロパティがセットされるといつでも小節線が作成されます。
2675
2676 自動的に挿入される小節線に使用されるデフォルトの@c
2677 小節線タイプは @code{"|"} です。@c
2678 これは @samp{\set Timing.defaultBarType = @var{bartype}} でいつでも@c
2679 変更することができます。
2680
2681
2682 @seealso
2683 記譜法リファレンス:
2684 @ref{Line breaking},
2685 @ref{Repeats},
2686 @ref{Grouping staves}
2687
2688 コード断片集:
2689 @rlsrnamed{Rhythms,リズム}
2690
2691 内部リファレンス:
2692 @rinternals{BarLine} (@rinternals{Staff} の階層で作成されます),
2693 @rinternals{SpanBar} (譜をまたぎます),
2694 @rinternals{Timing_translator} (@code{Timing} プロパティ用です)
2695
2696
2697 @node 小節番号
2698 @unnumberedsubsubsec 小節番号
2699 @translationof Bar numbers
2700
2701 @cindex bar numbers (小節番号)
2702 @cindex measure numbers (小節番号)
2703 @cindex numbers, bar (小節番号)
2704 @cindex numbers, measure (小節番号)
2705
2706 @funindex currentBarNumber
2707
2708 小節番号は、デフォルトでは、最初の行を除く各行の開始点で譜刻されます。@c
2709 番号自体は @code{currentBarNumber} プロパティに保存されていて、@c
2710 通常は各小節で自動的に更新されます。@c
2711 小節番号を手動で設定することも可能です:
2712
2713 @lilypond[verbatim,quote,fragment,relative=1]
2714 c1 c c c
2715 \break
2716 \set Score.currentBarNumber = #50
2717 c1 c c c
2718 @end lilypond
2719
2720 @cindex bar numbers, regular spacing  規則的な間隔で小節番号を譜刻する
2721
2722 @funindex barNumberVisibility
2723 @funindex BarNumber
2724
2725 小節番号は、各行の開始点に配置する代わりに、規則的な間隔で@c
2726 譜刻することができます。@c
2727 このようにするには、小節番号を行の開始点以外の位置に譜刻できるよう、@c
2728 デフォルトの振る舞いをオーバライドする必要があります。@c
2729 これは @code{BarNumber} の @code{break-visibility} プロパティによって@c
2730 制御されます。@c
2731 これは 3 つの値をとります
2732 -- 3 つの値は、対応する小節番号を可視にするかしないかを指定するために、@c
2733 @code{#t} または @code{#f} にセットされます。@c
2734 3 つの値の順番は、@code{end of line visible},
2735 @code{middle of line visible}, @code{beginning of line visible}
2736 (行の終了点での可視性、行の途中での可視性、行の開始点での可視性) です。@c
2737 以下の例では、譜刻可能な場所すべてに小節番号を譜刻しています:
2738
2739 @lilypond[verbatim,quote,relative=1]
2740 \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
2741 \set Score.currentBarNumber = #11
2742 % Permit first bar number to be printed
2743 \bar ""
2744 c1 | c | c | c
2745 \break
2746 c1 | c | c | c
2747 @end lilypond
2748
2749 @snippets
2750
2751 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2752 {printing-the-bar-number-for-the-first-measure.ly}
2753
2754 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2755 {printing-bar-numbers-at-regular-intervals.ly}
2756
2757 @cindex measure number, format
2758 @cindex bar number, format
2759
2760 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2761 {printing-bar-numbers-inside-boxes-or-circles.ly}
2762
2763 @cindex bar number alignment
2764
2765 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
2766 {aligning-bar-numbers.ly}
2767
2768 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,doctitle]
2769 {removing-bar-numbers-from-a-score.ly}
2770
2771
2772 @seealso
2773 コード断片集:
2774 @rlsrnamed{Rhythms,リズム}
2775
2776 内部リファレンス:
2777 @rinternals{BarNumber},
2778 @rinternals{Bar_number_engraver}
2779
2780
2781 @cindex bar number collision (小節番号の衝突)
2782 @cindex collision, bar number (小節番号の衝突)
2783
2784 @knownissues
2785 小節番号は @code{StaffGroup} の左括弧の上端と衝突する可能性があります。@c
2786 これを解決するには、@code{BarNumber} の @code{padding} プロパティを@c
2787 使って小節番号を適切な位置に配置します。@c
2788 詳細は @rinternals{StaffGroup} と @rinternals{BarNumber} を参照してください。
2789
2790
2791 @node 小節と小節番号のチェック
2792 @unnumberedsubsubsec 小節と小節番号のチェック
2793 @translationof Bar and bar number checks
2794
2795 @cindex bar check (小節チェック)
2796 @cindex bar number check (小節番号チェック)
2797 @cindex measure check (小節チェック)
2798 @cindex measure number check (小節番号チェック)
2799
2800 @funindex barCheckSynchronize
2801 @funindex |
2802
2803 小節チェックは入力された演奏時間の誤りを検出する手助けをします。@c
2804 小節チェックは、小節線が書き込まれると予想される場所ならどこにでも、@c
2805 小節記号 @code{|} を使うことで挿入できます。@c
2806 他の場所で小節チェックの線に遭遇した場合、警告のリストがログ ファイルに@c
2807 書き込まれ、小節チェックに失敗した行番号と行を示します。@c
2808 次の例では、2 番目の小節チェックがエラーを発します。
2809
2810 @example
2811 \time 3/4 c2 e4 | g2 |
2812 @end example
2813
2814 歌詞でも小節チェックを使用することができます。@c
2815 以下に例を挙げます:
2816
2817 @example
2818 \lyricmode @{
2819   \time 2/4
2820   Twin -- kle | Twin -- kle |
2821 @}
2822 @end example
2823
2824 正しくない演奏時間は滅茶苦茶な楽譜を生成する可能性があります
2825 -- 特にその楽譜が多声である場合はそうなる可能性があります。@c
2826 入力を修正するには、@c
2827 まずざっと見て失敗した小節チェックと演奏時間の誤りを探すと良いでしょう。
2828
2829 連続する小節チェックは同じ音楽的間隔で off になり、@c
2830 最初の警告メッセージだけが表示されます。@c
2831 これにより、警告の焦点がタイミング エラーの発生源に絞られます。
2832
2833
2834 @funindex |
2835 @funindex pipeSymbol
2836
2837 入力の中で小節チェックあるいはパイプ記号 @code{|} に遭遇した場合にとられる@c
2838 アクションを再定義することも可能です。@c
2839 これにより、小節チェック以外のことを行うことができます。@c
2840 再定義は音楽表記を @code{pipeSymbol} に代入することによって行います。@c
2841 以下の例では、@code{|} は小節の終わりをチェックするのではなく、@c
2842 それが現れた場所に 2 重線の小節線を挿入するようセットされています。
2843
2844 @lilypond[quote,verbatim]
2845 pipeSymbol = \bar "||"
2846 {
2847   c'2 c' |
2848   c'2 c'
2849   c'2 | c'
2850   c'2 c'
2851 }
2852 @end lilypond
2853
2854 @funindex \barNumberCheck
2855 @funindex barNumberCheck
2856
2857 大きな楽曲をコピーしている場合、LilyPond の小節番号と@c
2858 コピー元のオリジナルの小節番号の対応をチェックすると役に立ちます。@c
2859 この対応は @code{\barNumberCheck} によってチェックすることができます。@c
2860 例えば、
2861
2862 @verbatim
2863 \barNumberCheck #123
2864 @end verbatim
2865
2866 @noindent
2867 を使用すると、@code{currentBarNumber} が処理された時に 123 でなければ、@c
2868 警告が表示されます。
2869
2870
2871 @seealso
2872 コード断片集:
2873 @rlsrnamed{Rhythms,リズム}
2874
2875
2876 @node リハーサル記号
2877 @unnumberedsubsubsec リハーサル記号
2878 @translationof Rehearsal marks
2879
2880 @cindex rehearsal marks (リハーサル記号)
2881 @cindex mark, rehearsal (リハーサル記号)
2882
2883 @funindex \mark
2884 @funindex mark
2885
2886 リハーサル記号を譜刻するには、@code{\mark} コマンドを使用します:
2887
2888 @lilypond[quote,verbatim,relative=2]
2889 c1 \mark \default
2890 c1 \mark \default
2891 c1 \mark \default
2892 c1 \mark \default
2893 @end lilypond
2894
2895 @noindent
2896 @code{\mark \default} を使用するとリハーサル記号は自動的に +1 されますが、@c
2897 手動で整数をリハーサル記号にセットすることもできます。@c
2898 セットした値は @code{rehearsalMark} に保存されます。
2899
2900 @lilypond[quote,verbatim,relative=2]
2901 c1 \mark \default
2902 c1 \mark \default
2903 c1 \mark #8
2904 c1 \mark \default
2905 c1 \mark \default
2906 @end lilypond
2907
2908 @noindent
2909 文字@tie{}@q{I} は、譜刻の慣習に従って、スキップされます。@c
2910 文字@tie{}@q{I} を含めたければ、@c
2911 リハーサル記号のスタイル (文字のみ、四角で囲まれた文字、丸で囲まれた文字)
2912 に合わせて以下のコマンドの 1 つを使用します:
2913
2914 @example
2915 \set Score.markFormatter = #format-mark-alphabet
2916 \set Score.markFormatter = #format-mark-box-alphabet
2917 \set Score.markFormatter = #format-mark-circle-alphabet
2918 @end example
2919
2920 @lilypond[quote,verbatim,relative=2]
2921 \set Score.markFormatter = #format-mark-box-alphabet
2922 c1 \mark \default
2923 c1 \mark \default
2924 c1 \mark #8
2925 c1 \mark \default
2926 c1 \mark \default
2927 @end lilypond
2928
2929 @cindex rehearsal mark format (リハーサル記号のフォーマット)
2930 @cindex rehearsal mark style (リハーサル記号のスタイル)
2931 @cindex style, rehearsal mark (リハーサル記号のスタイル)
2932 @cindex format, rehearsal mark (リハーサル記号のフォーマット)
2933 @cindex mark, rehearsal, style (リハーサル記号のスタイル)
2934 @cindex mark, rehearsal, format (リハーサル記号のフォーマット)
2935 @cindex rehearsal mark, manual (手動でリハーサル記号をセットする)
2936 @cindex mark, rehearsal, manual (手動でリハーサル記号をセットする)
2937 @cindex custom rehearsal mark (リハーサル記号のカスタム)
2938 @cindex manual rehearsal mark (手動のリハーサル記号)
2939
2940 スタイルはプロパティ @code{markFormatter} によって定義されます。@c
2941 これは引数としてカレントの記号 (整数) とカレントのコンテキストをとる関数です。@c
2942 この関数はマークアップ オブジェクトを返します。@c
2943 以下の例では、@code{markFormatter} には定義済みの手続きがセットされています。@c
2944 数小節後では、四角で囲まれた番号を作り出す手続きがセットされています。
2945
2946 @lilypond[quote,verbatim,relative=2]
2947 \set Score.markFormatter = #format-mark-numbers
2948 c1 \mark \default
2949 c1 \mark \default
2950 \set Score.markFormatter = #format-mark-box-numbers
2951 c1 \mark \default
2952 \set Score.markFormatter = #format-mark-circle-numbers
2953 c1 \mark \default
2954 \set Score.markFormatter = #format-mark-circle-letters
2955 c1
2956 @end lilypond
2957
2958 ファイル @file{scm/translation-functions.scm} は
2959 @code{format-mark-numbers} (デフォルトのフォーマット),
2960 @code{format-mark-box-numbers}, @code{format-mark-letters} それに
2961 @code{format-mark-box-letters} の定義を保持しています。@c
2962 これらを参考にして他のフォーマット関数を作り出すこともできます。
2963
2964 加算された数字や文字の代わりに小節番号を取得するために
2965 @code{format-mark-barnumbers}, @code{format-mark-box-barnumbers}, それに
2966 @code{format-mark-circle-barnumbers} を使うことがあります。
2967
2968 リハーサル記号の他のスタイルを手動で指定することができます:
2969
2970 @example
2971 \mark "A1"
2972 @end example
2973
2974 @noindent
2975 @code{Score.markFormatter} はこの方法で指定された記号に影響を与えません。@c
2976 しかしながら、文字列として @code{\markup} 使用することができます。
2977
2978 @example
2979 \mark \markup@{ \box A1 @}
2980 @end example
2981
2982 @cindex segno (セーニョ)
2983 @cindex coda (コーダ)
2984 @cindex D.S al Fine (ここで曲の先頭に戻り、Fine で終わる)
2985 @cindex fermata (フェルマータ)
2986 @cindex music glyphs (音楽的図柄)
2987 @cindex glyphs, music (音楽的図柄)
2988
2989 @funindex \musicglyph
2990 @funindex musicglyph
2991
2992 音楽的図柄 (セーニョ記号など) を @code{\mark} の中に譜刻することができます:
2993
2994 @lilypond[quote,verbatim,relative=1]
2995 c1 \mark \markup { \musicglyph #"scripts.segno" }
2996 c1 \mark \markup { \musicglyph #"scripts.coda" }
2997 c1 \mark \markup { \musicglyph #"scripts.ufermata" }
2998 c1
2999 @end lilypond
3000
3001 @noindent
3002 @code{\musicglyph} を使用して譜刻できる記号のリストは、@c
3003 @ref{The Feta font} を参照してください。
3004
3005 リハーサル記号の配置の一般的な調整については、@c
3006 @ref{Formatting text} を参照してください。@c
3007 更に細かな制御を行う場合は、@c
3008 @ref{Aligning objects} の @code{break-alignable-interface} を参照してください。
3009
3010
3011 @seealso
3012 記譜法リファレンス:
3013 @ref{The Feta font},
3014 @ref{Formatting text},
3015 @ref{Aligning objects}
3016
3017 インストールされているファイル:
3018 @file{scm/translation-functions.scm} は @code{format-mark-numbers} と
3019 @code{format-mark-letters} の定義を保持しています。@c
3020 ここにある定義を参考にして他のフォーマット関数を作り出すことができます。
3021
3022 コード断片集:
3023 @rlsrnamed{Rhythms,リズム}
3024
3025 内部リファレンス:
3026 @rinternals{MarkEvent},
3027 @rinternals{Mark_engraver},
3028 @rinternals{RehearsalMark}
3029
3030
3031 @node 特殊なリズム関連事項
3032 @subsection 特殊なリズム関連事項
3033 @translationof Special rhythmic concerns
3034
3035
3036 @menu
3037 * 装飾小音符::
3038 * カデンツァに揃える::
3039 * 時間管理::
3040 @end menu
3041
3042 @node 装飾小音符
3043 @unnumberedsubsubsec 装飾小音符
3044 @translationof Grace notes
3045
3046 @cindex ornaments (装飾音)
3047 @cindex grace notes (装飾小音符)
3048 @cindex appoggiatura (アッポジャトゥーラ)
3049 @cindex acciaccatura (アッチャカトゥーラ)
3050
3051 @funindex \grace
3052 @funindex grace
3053
3054 装飾小音符は楽譜に書き出される装飾音です。@c
3055 装飾小音符は小さなフォントで譜刻され、@c
3056 小節の中では論理的な時間を持ちません。
3057
3058 @lilypond[quote,relative=2,verbatim]
3059 c4 \grace c16 c4
3060 \grace { c16[ d16] } c2
3061 @end lilypond
3062
3063 Lilypond はさらに 2 つ特殊なタイプの装飾小音符をサポートします:
3064 @emph{acciaccatura} (長さを持たない装飾小音符で、@c
3065 スラッシュ付きの符幹を持つスラーでつなげられる小さな音符) と
3066 @emph{appoggiatura} (一定の比率で主音符から演奏時間をとり、@c
3067 スラッシュを持たない小さな音符で譜刻されます) です。
3068
3069 @lilypond[quote,relative=2,verbatim]
3070 \grace c8 b4
3071 \acciaccatura d8 c4
3072 \appoggiatura e8 d4
3073 \acciaccatura { g16[ f] } e4
3074 @end lilypond
3075
3076 装飾小音符の配置は他の譜と同期されます。@c
3077 以下の例では、8 分の装飾小音符 1 つに対して 2 つの 16 分装飾小音符が@c
3078 割り当てられています:
3079
3080 @lilypond[quote,relative=2,verbatim]
3081 <<
3082   \new Staff { e2 \grace { c16[ d e f] } e2 }
3083   \new Staff { c2 \grace { g8[ b] } c2 }
3084 >>
3085 @end lilypond
3086
3087 @cindex grace notes, following (装飾小音符を後ろに配置する)
3088
3089 @funindex \afterGrace
3090 @funindex afterGrace
3091
3092 装飾小音符で記譜を終えたいのならば、@c
3093 @code{\afterGrace} コマンドを使用します。@c
3094 このコマンドは 2 つの引数をとります:
3095 主音符と主音符の後に続く装飾小音符です。
3096
3097 @lilypond[quote,verbatim,relative=2]
3098 c1 \afterGrace d1 { c16[ d] } c1
3099 @end lilypond
3100
3101 これは主音符の長さの 3/4 のスペースをとった後に@c
3102 装飾小音符を配置しています。@c
3103 デフォルトの分数 3/4 は @code{afterGraceFraction} を設定することにより@c
3104 変更することができます。@c
3105 以下の例では、スペースをデフォルト、主音符の 15/16、最後は 1/2 に@c
3106 設定した結果を示しています。
3107
3108 @lilypond[quote,verbatim,relative=2]
3109 <<
3110   \new Staff {
3111     c1 \afterGrace d1 { c16[ d] } c1
3112   }
3113   \new Staff {
3114     #(define afterGraceFraction (cons 15 16))
3115     c1 \afterGrace d1 { c16[ d] } c1
3116   }
3117   \new Staff {
3118     #(define afterGraceFraction (cons 1 2))
3119     c1 \afterGrace d1 { c16[ d] } c1
3120   }
3121 >>
3122 @end lilypond
3123
3124 主音符と装飾小音符の間のスペースは空白音符を使って@c
3125 指定することもできます。@c
3126 以下の例では、主音符の長さの 7/8 のスペースをとった後に装飾小音符を@c
3127 配置しています。
3128
3129 @lilypond[quote,verbatim,relative=2]
3130 \new Voice {
3131   <<
3132     { d1^\trill_( }
3133     { s2 s4. \grace { c16[ d] } }
3134   >>
3135   c1)
3136 }
3137 @end lilypond
3138
3139 @cindex tweaking grace notes (装飾小音符を調整する)
3140 @cindex grace notes, tweaking (装飾小音符を調整する)
3141 @cindex grace notes, changing layout settings (装飾小音符のレイアウト設定を変更する)
3142
3143 @code{\grace} 音楽表記は特殊な譜刻設定を導入します
3144 -- 例えば、小さなフォントを作り出し、向きを設定するためです。@c
3145 それゆえ、装飾小音符の特殊な設定をオーバライドするために@c
3146 レイアウトの調整を行う場合、@c
3147 調整は装飾小音符の表記の中に置くべきです。@c
3148 さらに、そのオーバライドは装飾小音符の表記の中で元に戻しておくべきです。@c
3149 以下の例では、装飾小音符の符幹のデフォルトの向きがオーバライドされ、@c
3150 それから元に戻されています。
3151
3152 @lilypond[quote,verbatim,relative=2]
3153 \new Voice {
3154   \acciaccatura {
3155     \stemDown
3156     f16->
3157     \stemNeutral
3158   }
3159   g4 e c2
3160 }
3161 @end lilypond
3162
3163
3164 @cindex stem, with slash (スラッシュ付きの符幹)
3165
3166
3167 @snippets
3168
3169 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
3170 {using-grace-note-slashes-with-normal-heads.ly}
3171
3172 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
3173 {tweaking-grace-layout-within-music.ly}
3174
3175 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
3176 {redefining-grace-note-global-defaults.ly}
3177
3178 @lilypondfile[verbatim,lilyquote,texidoc,doctitle]
3179 {positioning-grace-notes-with-floating-space.ly}
3180
3181
3182 @seealso
3183 音楽用語集:
3184 @rglos{grace notes},
3185 @rglos{acciaccatura},
3186 @rglos{appoggiatura}
3187
3188 記譜法リファレンス:
3189 @ref{手動連桁}
3190
3191 インストールされているファイル:
3192 @file{ly/grace-init@/.ly}
3193
3194 コード断片集:
3195 @rlsrnamed{Rhythms,リズム}
3196
3197 内部リファレンス:
3198 @rinternals{GraceMusic},
3199 @rinternals{Grace_beam_engraver},
3200 @rinternals{Grace_engraver},
3201 @rinternals{Grace_spacing_engraver}
3202
3203
3204 @knownissues
3205
3206 @cindex acciaccatura, multi-note (複数音符のアッチャカトゥーラ)
3207 @cindex multi-note acciaccatura (複数音符のアッチャカトゥーラ)
3208 @cindex grace-note synchronization (装飾小音符の同期)
3209
3210 複数の音符を連桁でつないだ @i{アッチャカトゥーラ} には@c
3211 スラッシュは付けられず、@c
3212 複数の音符を連桁でつないだ @i{アッポジャトゥーラ} と@c
3213 まったく同じに見えます。
3214
3215 @c TODO Add link to LSR snippet to add slash when available
3216
3217 装飾小音符の同期は予期しない結果を引き起こす可能性があります。@c
3218 譜の記譜要素 -- 拍子、小節線など -- も同期をとられます。@c
3219 装飾小音符を持つ譜と持たない譜を混在させる場合は気をつけて下さい。@c
3220 例えば:
3221
3222 @lilypond[quote,relative=2,verbatim]
3223 <<
3224   \new Staff { e4 \bar "|:" \grace c16 d2. }
3225   \new Staff { c4 \bar "|:" d2. }
3226 >>
3227 @end lilypond
3228
3229 @noindent
3230 これは、他の譜にある装飾小音符の演奏時間に対応した空白の@c
3231 装飾小音符を挿入することによって修正することができます。@c
3232 上の例を以下のように修正します:
3233
3234 @lilypond[quote,relative=2,verbatim]
3235 <<
3236   \new Staff { e4 \bar "|:" \grace c16 d2. }
3237   \new Staff { c4 \bar "|:" \grace s16 d2. }
3238 >>
3239 @end lilypond
3240
3241 装飾小音符セクションはシーケンシャルな音楽表記の中でのみ使用すべきです。@c
3242 装飾小音符セクションのネスト、並置はサポートされておらず、@c
3243 クラッシュや他のエラーを引き起こすかもしれません。
3244
3245
3246 @node カデンツァに揃える
3247 @unnumberedsubsubsec カデンツァに揃える
3248 @translationof Aligning to cadenzas
3249
3250 @cindex cadenza (カデンツァ)
3251 @cindex cadenza, aligning to (カデンツァに揃える)
3252 @cindex aligning to cadenza (カデンツァに揃える)
3253
3254 オーケストラのコンテキストにおいて、カデンツァは特殊な問題を提起します:
3255 楽譜の構成に演奏時間を持つカデンツァや他のソロ パッセージが含まれる場合、@c
3256 他のすべての楽器は、そのカデンツァの演奏時間の分だけ@c
3257 スキップする必要があります。@c
3258 さもなければ、他の楽器はカデンツァの終わりよりも早すぎる
3259 (あるいは遅すぎる) タイミングで始まってしまいます。
3260
3261 この問題の解決方法の一つは、関数 @code{mmrest-of-length} と
3262 @code{skip-of-length} を使用することです。@c
3263 これらの Scheme 関数は、引数として定義済みの音楽表記をとり、@c
3264 その音楽表記と同じ長さの複数小節休符または @code{\skip} を生成します。
3265
3266 @lilypond[verbatim,quote]
3267 MyCadenza = \relative c' {
3268   c4 d8 e f g g4
3269   f2 g4 g
3270 }
3271
3272 \new GrandStaff <<
3273   \new Staff {
3274     \MyCadenza c'1
3275     \MyCadenza c'1
3276   }
3277   \new Staff {
3278     #(ly:export (mmrest-of-length MyCadenza))
3279     c'1
3280     #(ly:export (skip-of-length MyCadenza))
3281     c'1
3282   }
3283 >>
3284 @end lilypond
3285
3286
3287 @seealso
3288 音楽用語集:
3289 @rglos{cadenza}
3290
3291 コード断片集:
3292 @rlsrnamed{Rhythms,リズム}
3293
3294
3295 @c ここから L3219
3296 @node 時間管理
3297 @unnumberedsubsubsec 時間管理
3298 @translationof Time administration
3299
3300 @cindex time administration (時間管理)
3301 @cindex timing (within the score) ((楽譜内での) タイミング)
3302 @cindex music, unmetered (無韻律の音楽)
3303 @cindex unmetered music (無韻律の音楽)
3304
3305 @funindex currentBarNumber
3306 @funindex measurePosition
3307 @funindex measureLength
3308
3309 時間は @code{Timing_translator}
3310 -- これは、デフォルトでは、@code{Socre} コンテキストの中にあります --
3311 によって管理されます。@c
3312 エイリアス @code{Timing} は @code{Timing_translator} が配置されている@c
3313 コンテキストに付け加えられます。
3314 エイリアス @code{Timing} が利用可能であることを保証するため、@c
3315 コンテキスト (@code{Voice} や @code{Staff} など) を明示的にインスタンス化@c
3316 する必要があるかもしれません。
3317
3318 以下の @code{Timing} のプロパティは、@c
3319 楽譜内でのタイミングの経過を追うために使用されます。
3320
3321 @cindex bar number (小節番号)
3322 @cindex measure number (小節番号)
3323
3324 @table @code
3325 @item currentBarNumber
3326 カレントの小節番号。@c
3327 このプロパティの使用例は、@ref{小節番号} を参照してください。
3328
3329 @item measureLength
3330 カレントの拍子での小節の長さ。@c
3331 4/4 拍子では 1 であり、6/8 拍子では 3/4 です。@c
3332 この値は小節線を挿入するタイミングと自動連桁の生成の仕方を決定します。
3333
3334 @item measurePosition
3335 カレントで処理している小節内での位置。@c
3336 この値は、@code{measureLength} に到達するか超過したときに、@c
3337 この値から @code{measureLength} を減算されることによって、リセットされます。@c
3338 リセットが起こるときに、@code{currentBarNumber} が +1 されます。
3339
3340 @item timing
3341 真にセットされている場合、各タイム ステップごとに上記の変数は更新されます。@c
3342 偽にセットされている場合、エングラーバはカレントの小節に永久に留まります。
3343
3344 @end table
3345
3346 タイミングは、上記の値のいずれかを明示的に設定することによって、@c
3347 変更することができます。@c
3348 次の例では、デフォルトの 4/4 拍子が譜刻されていますが、@c
3349 @code{measureLength} は 5/4 にセットされています。@c
3350 第 3 小節の 4/8 の位置で、@code{measurePositoin} は 1/8 進められて
3351 5/8 になり、それによりその小節は 1/8 短くされます。@c
3352 次の小節線は 5/4 ではなく 9/8 の位置で引かれます。
3353
3354 @lilypond[quote,verbatim]
3355 \new Voice \relative c' {
3356   \set Timing.measureLength = #(ly:make-moment 5 4)
3357   c1 c4 |
3358   c1 c4 |
3359   c4 c
3360   \set Timing.measurePosition = #(ly:make-moment 5 8)
3361   b4 b b8 |
3362   c4 c1 |
3363 }
3364 @end lilypond
3365
3366 @noindent
3367 この例が示すように、@code{ly:make-moment n m} は全音符の n/m の長さの@c
3368 演奏時間を構成します。@c
3369 例えば、@code{ly:make-moment 1 8} は 1 個の 8 分音符の演奏時間であり、@c
3370 @code{ly:make-moment 7 16} は 7 個の 16 分音符の演奏時間です。
3371
3372
3373 @seealso
3374 記譜法リファレンス:
3375 @ref{小節番号},
3376 @ref{無韻律の音楽}
3377
3378 コード断片集:
3379 @rlsrnamed{Rhythms,リズム}
3380
3381 内部リファレンス:
3382 @rinternals{Timing_translator},
3383 @rinternals{Score}