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