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