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