]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/repeats.itely
New upstream version 2.19.80
[lilypond.git] / Documentation / ja / notation / repeats.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.  For details, see the Contributors'
7     Guide, node Updating translation committishes..
8 @end ignore
9
10 @c \version "2.19.21"
11
12
13 @c Translators: Tomohiro Tatejima, Yoshiki Sawada
14 @c Translation status: post-GDP
15
16
17 @node 繰り返し
18 @section 繰り返し
19 @translationof Repeats
20
21 @lilypondfile[quote]{repeats-headword.ly}
22
23 繰り返しは音楽の主要なコンセプトであり、@c
24 繰り返しのために複数の記譜法が存在します。@c
25 LilyPond は以下の種類の繰り返しをサポートします:
26
27
28 @table @code
29 @item volta
30 繰り返される音楽は描き出されませんが、繰り返しの小節線で囲まれます。@c
31 繰り返しが楽曲の先頭にある場合、繰り返しの小節線は繰り返しの終端にのみ@c
32 譜刻されます。@c
33 @c 注: 原文では複数形 volte が使われているが、
34 @c   日本語話者には混乱をきたすと思われるため単数形 volta を使うことにした。
35 繰り返し時に入れ替えて演奏される部分 (volta) は囲みの右側に譜刻されます。@c
36 これは入れ替えがある繰り返しの標準的な記譜法です。
37
38 @item unfold
39 繰り返される音楽は、@var{repeatcount} によって指定された回数だけ、@c
40 描き出されます。@c
41 これは反復の多い音楽を入力するときに有用です。
42
43 @item percent
44 これには拍の繰り返しや小節の繰り返しがあります。@c
45 スラッシュまたはパーセント記号のような外見をしています。
46
47 @item tremolo
48 これはトレモロの連桁を描くために使用されます。
49 @end table
50
51
52 @menu
53 * 長い繰り返し::
54 * 短い繰り返し::
55 @end menu
56
57 @node 長い繰り返し
58 @subsection 長い繰り返し
59 @translationof Long repeats
60
61 このセクションでは長い (通常は複数の小節) 繰り返しを入力する方法について@c
62 議論します。@c
63 繰り返しには 2 つの形式があります: 繰り返し記号によって囲まれる繰り返しと、@c
64 描き出される繰り返し -- これは反復の多い音楽を入力するために使用されます
65 -- です。@c
66 繰り返し記号を手動で制御することもできます。
67
68 @menu
69 * 通常の繰り返し::
70 * 手動の繰り返し記号::
71 * 繰り返しを描き出す::
72 @end menu
73
74 @cindex volta
75 @cindex prima volta (1 つ目の volta)
76 @cindex seconda volta (2 つ目の volta)
77 @cindex volta, prima (1 つ目の volta)
78 @cindex volta, seconda (2 つ目の volta)
79 @cindex repeat, normal (通常の繰り返し)
80 @cindex normal repeat (通常の繰り返し)
81 @cindex repeat with alternate endings (入れ替え部分を持つ繰り返し)
82 @cindex alternate endings (繰り返しの入れ替え部分)
83 @funindex \repeat
84 @funindex \alternative
85 @funindex \partial
86
87 @node 通常の繰り返し
88 @unnumberedsubsubsec 通常の繰り返し
89 @translationof Normal repeats
90
91 通常の繰り返しの構文は以下の通りです。
92
93 @example
94 \repeat volta @var{repeatcount} @var{musicexpr}
95 @end example
96
97 @noindent
98 ここで、@code{@var{musicexpr}} は音楽表記です。@c
99
100 入れ替えを持たない 1 回の繰り返しは以下のようになります:
101
102 @lilypond[verbatim,quote]
103 \relative {
104   \repeat volta 2 { c''4 d e f }
105   c2 d
106   \repeat volta 2 { d4 e f g }
107 }
108 @end lilypond
109
110 繰り返しの@q{開始}記号は、デフォルトでは最初の小節には表示されません。@c
111 しかし、最初の音符の前に @code{\bar ".|:"} を用いることで表示させることが@c
112 できます。
113
114 @lilypond[verbatim,fragment,quote]
115 \relative {
116   \repeat volta 2 { \bar ".|:" c''4 d e f }
117   c2 d
118   \repeat volta 2 { d4 e f g }
119 }
120 @end lilypond
121
122 繰り返し時に入れ替えて演奏する部分は @code{\alternative} を@c
123 用いて作り出すことができます。@c
124 入れ替えの各グループを波括弧で囲んで、このブロックの中に配置します。
125
126 @example
127 \repeat volta @var{repeatcount} @var{musicexpr}
128 \alternative @{
129   @{ @var{musicexpr} @}
130 @}
131 @end example
132
133 @noindent
134 ここで、@code{@var{musicexpr}} は音楽表記です。@c
135
136 繰り返し回数が入れ替え部分の数よりも多い場合、始めの方の繰り返しには@c
137 最初の入れ替え部分が使用されます。
138
139 繰り返しが 1 回で、入れ替えも 1 つの場合は以下のようになります:
140
141 @lilypond[verbatim,quote]
142 \relative {
143   \repeat volta 2 { c''4 d e f | }
144   \alternative {
145     { c2 e | }
146     { f2 g | }
147   }
148   c1
149 }
150 @end lilypond
151
152 繰り返しが複数回あり、最後に入れ替え部分を演奏する繰り返しは@c
153 以下のようになります:
154
155 @lilypond[verbatim,quote]
156 \relative {
157   \repeat volta 4 { c''4 d e f | }
158   \alternative {
159     { c2 e | }
160     { f2 g | }
161   }
162   c1
163 }
164 @end lilypond
165
166 繰り返しが複数回あり、入れ替えも 2 つ以上ある繰り返しは以下のようになります:
167
168 @lilypond[verbatim,quote]
169 \relative {
170   \repeat volta 3 { c''4 d e f | }
171   \alternative {
172     { c2 e | }
173     { f2 g | }
174     { a2 g | }
175   }
176   c1
177 }
178 @end lilypond
179
180 @warning{入れ替えが複数ある場合、入れ替えの閉じ波括弧と次の入れ替えの@c
181 開始の波括弧の間に何かを置くべきではありません。@c
182 さもないと、予期せぬ数の入れ替えが発生します。}
183
184 @warning{@code{Voice} コンテキストを明示的にインスタンス化せずに@c
185 @code{@bs{}relative} を @code{@bs{}repeat} の中に配置すると、@c
186 余計な譜が表示されます。@c
187 @rprogram{余計な譜が表示される} を参照してください。}
188
189 @cindex repeat with upbeat (上拍を持つ繰り返し)
190 @cindex upbeat in a repeat (繰り返しの中にある上拍)
191 @cindex anacrusis in a repeat (繰り返しの中にある弱拍)
192 @cindex repeat with anacrusis (弱拍を持つ繰り返し)
193 @cindex repeat with pickup (ピックアップを持つ繰り返し)
194 @cindex pickup in a repeat (繰り返しの中にあるピックアップ)
195 @funindex \partial
196 @cindex bar checks with repeats (小節チェックと繰り返し)
197 @cindex repeats with bar checks (繰り返しと小節チェック)
198
199 入れ替えの無い繰り返しが小節の途中で始まる場合、通常は後の小節の対応する@c
200 中間部分で終了します (開始部分と終了部分で 1 つの完全な小節が作られます)。@c
201 このような場合、繰り返し記号は@q{本当の}小節線ではないため、@c
202 小節チェックや @code{\partial} コマンドをそこに置くべきではありません:
203
204 @lilypond[verbatim,quote,relative=1]
205 c'4 e g
206 \repeat volta 4 {
207   e4 |
208   c2 e |
209   g4 g g
210 }
211   g4 |
212   a2 a |
213   g1 |
214 @end lilypond
215
216 入れ替えの無い繰り返しが部分小節で始まる場合は、@c
217 @code{\partial} コマンドが小節の最初に必要であることを除けば、@c
218 同じ原則が適用されます:
219
220 @lilypond[verbatim,quote,relative=1]
221 \partial 4
222 \repeat volta 4 {
223   e'4 |
224   c2 e |
225   g4 g g
226 }
227   g4 |
228   a2 a |
229   g1 |
230 @end lilypond
231
232 @cindex repeats, with ties (タイを持つ繰り返し)
233 @cindex alternative endings, with ties (タイを持つ繰り返しの入れ替え部分)
234 @cindex ties, in repeats (繰り返しの中にあるタイ)
235 @cindex ties, alternative endings (タイと繰り返しの入れ替え部分)
236 @funindex \repeatTie
237
238 タイを 2 つ目の終了部に追加することができます:
239
240 @lilypond[verbatim,quote]
241 \relative {
242   c''1
243   \repeat volta 2 { c4 d e f~ }
244   \alternative {
245     { f2 d }
246     { f2\repeatTie f, }
247   }
248 }
249 @end lilypond
250
251 @funindex \inStaffSegno
252 @cindex repeats, with segno (セーニョを持つ繰り返し)
253 @cindex segno, with repeats (繰り返しを持つセーニョ)
254
255 @code{\inStaffSegno} コマンドは、@code{\repeat volta} コマンドと一緒に@c
256 用いられた際に、繰り返しの小節線とセーニョ記号を合体させた小節線を@c
257 作り出します。どの繰り返し記号が使われるか (すなわち、開始記号か、終了記号か、@c
258 両者を合わせた記号か) は、自動的に選択されます。対応する @qq{D.S.} 記号は@c
259 手動で入力しなければいけないことに注意してください。
260
261 繰り返しを使わない:
262
263 @lilypond[verbatim,quote]
264 \relative {
265   e'1
266   \inStaffSegno
267   f2 g a b
268   c1_"D.S." \bar "|."
269 }
270 @end lilypond
271
272 繰り返しの始まりに:
273
274 @lilypond[verbatim,quote]
275 \relative {
276   e'1
277   \repeat volta 2 {
278     \inStaffSegno  % start repeat
279     f2 g a b
280   }
281   c1_"D.S." \bar "|."
282 }
283 @end lilypond
284
285 繰り返しの終わりに:
286
287 @lilypond[verbatim,quote]
288 \relative {
289   e'1
290   \repeat volta 2 {
291     f2 g a b
292     \inStaffSegno  % end repeat
293   }
294   f2 g a b
295   c1_"D.S." \bar "|."
296 }
297 @end lilypond
298
299 2 つの繰り返しの間に:
300
301 @lilypond[verbatim,quote]
302 \relative {
303   e'1
304   \repeat volta 2 {
305     f2 g a b
306   }
307   \inStaffSegno  % double repeat
308   \repeat volta 2 {
309     f2 g a b
310   }
311   c1_"D.S." \bar "|."
312 }
313 @end lilypond
314
315 他の小節線記号を用いる場合、 (Score コンテキストに) プロパティ
316 @code{segnoType}, @code{startRepeatSegnoType}, @code{endRepeatSegnoType},
317 @code{doubleRepeatSegnoType} を好みの値を設定します。小節線の種類は@c
318 あらかじめ定義されているものか、前に @code{\defineBarLine} コマンドで定義@c
319 されているものから選択する必要があります (@ref{小節線}を参照してください)。
320
321 @lilypond[verbatim,quote]
322 \defineBarLine ":|.S[" #'(":|." "S[" "")
323 \defineBarLine "]" #'("]" "" "")
324 \relative {
325   e'1
326   \repeat volta 2 {
327     f2 g a b
328     \once \set Score.endRepeatSegnoType = ":|.S["
329     \inStaffSegno
330   }
331   f2 g \bar "]" a b
332   c1_"D.S." \bar "|."
333 }
334 @end lilypond
335
336 @snippets
337
338 @lilypondfile[verbatim,quote,texidoc,doctitle]
339 {shortening-volta-brackets.ly}
340
341 @lilypondfile[verbatim,quote,texidoc,doctitle]
342 {adding-volta-brackets-to-additional-staves.ly}
343
344 @lilypondfile[verbatim,quote,texidoc,doctitle]
345 {setting-the-double-repeat-default-for-volte.ly}
346
347 @cindex repeats, bar numbers letters (繰り返しでの小節番号)
348 @cindex repeats, alternative bar numbers (入れ替え部分での小節番号)
349
350 @lilypondfile[verbatim,quote,texidoc,doctitle]
351 {alternative-bar-numbering.ly}
352
353 @seealso
354 音楽用語集:
355 @rglos{repeat},
356 @rglos{volta}
357
358 記譜法リファレンス:
359 @ref{Bar lines},
360 @ref{Modifying context plug-ins},
361 @ref{Modifying ties and slurs},
362 @ref{Time administration}
363
364 インストールされているファイル:
365 @file{ly/engraver-init.ly}
366
367 コード断片集:
368 @rlsr{Repeats}
369
370 内部リファレンス:
371 @rinternals{VoltaBracket},
372 @rinternals{RepeatedMusic},
373 @rinternals{VoltaRepeatedMusic},
374 @rinternals{UnfoldedRepeatedMusic}
375
376 @knownissues
377 @cindex repeat, ambiguous (あいまいな繰り返し)
378 @cindex nested repeat (ネストされた繰り返し)
379 @cindex repeat, nested (ネストされた繰り返し)
380 @cindex repeat timing information (繰り返しタイミング情報)
381 @cindex repeat and measure number (繰り返しと小節番号)
382 @cindex timing information and repeats (タイミング情報と繰り返し)
383 @cindex measure number and repeats (小節番号と繰り返し)
384 @cindex repeats and slur (繰り返しとスラー)
385 @cindex slur and repeats (スラーと繰り返し)
386 @cindex glissandi and repeats (グリッサンドと繰り返し)
387 @cindex repeats and glissandi (繰り返しとグリッサンド)
388
389 @code{\repeat} ブロックから @code{\alternative} ブロックまで続くスラーは、@c
390 最初の入れ替え部分に対してのみ機能します。@c
391 他の入れ替え部分に対して見た目上、スラーを伸ばすには @code{\repeatTie} を@c
392 使います。
393 しかしながら、この手法はスラーが 1 本の場合のみ可能であり、@code{TabStaff}
394 では機能しません。@c
395 複数のスラーを入れ替え部分に伸ばし、@code{TabStaff} コンテキストでも機能@c
396 する手法は @ref{Modifying ties and slurs} で示しています。
397
398 さらに、入れ替え部分の最後から繰り返しの開始点までスラーで結ぶことも@c
399 できません。
400
401 @code{\repeat} ブロックから @code{\alternative} ブロックまで続く@c
402 グリッサンドは最初の入れ替え部分に対してのみ機能します。@c
403 他の入れ替え部分に対して見た目上、グリッサンドを伸ばすには、見えない装飾@c
404 音符から始まるグリッサンドのコードを記述します。@c
405 例として、@ref{Glissando} の楽譜断片集にある
406 @qq{繰り返しを跨いでグリッサンドを延長する} を参照してください。
407
408 不完全な小節で始まる繰り返しが @code{measureLength} プロパティの変更を行う@c
409 @code{\alternative} ブロックを持つ場合、@c
410 @code{\unfoldRepeats} を使用するとおかしな場所に小節線が引かれ、@c
411 小節チェック警告が発生します。
412
413 以下のようにネストされた繰り返し
414
415 @example
416 \repeat @dots{}
417 \repeat @dots{}
418 \alternative
419 @end example
420
421 @noindent
422 はあいまいです。@c
423 なぜなら、@code{\alternative} がどちらの @code{\repeat} に属するのか@c
424 はっきりしないからです。@c
425 このあいまいさは、常に @code{\alternative} を内側の @code{\repeat} に@c
426 属させることによって解決されます。@c
427 はっきりとさせるために、そのような状況では波括弧を使用すると賢明です。
428
429
430 @node 手動の繰り返し記号
431 @unnumberedsubsubsec 手動の繰り返し記号
432 @translationof Manual repeat marks
433
434 @cindex manual repeat mark (手動の繰り返し記号)
435 @cindex repeat, manual (手動の繰り返し)
436 @cindex start repeat (繰り返しの開始)
437 @cindex repeat, start (繰り返しの開始)
438 @cindex end repeat (繰り返しの終了)
439 @cindex repeat, end (繰り返しの終了)
440 @cindex repeat number, changing (繰り返しの回数を変更する)
441 @cindex repeat volta, changing (繰り返し volta を変更する)
442 @cindex volta bracket (volta 囲み)
443 @cindex bracket, volta (volta 囲み)
444 @funindex repeatCommands
445 @funindex start-repeat
446
447 @warning{以下の手法は特殊な繰り返し構造を表示するためだけに使用され、@c
448 予期しない振る舞いをする可能性があります。@c
449 たいていのケースでは、繰り返しは標準の @code{@bs{}repeat} コマンドを用いるか、@c
450 適切な小節線を譜刻することによって作成すべきです。@c
451 更なる情報は、@ref{Bar lines} を参照してください。}
452
453 プロパティ @code{repeatCommands} を用いて繰り返しのレイアウトを@c
454 制御することができます。@c
455 このプロパティの値は繰り返しコマンドの Scheme リストです。
456
457 @table @code
458 @item start-repeat
459 @code{.|:} 小節線を譜刻します。
460
461 @lilypond[verbatim,quote]
462 \relative {
463   c''1
464   \set Score.repeatCommands = #'(start-repeat)
465   d4 e f g
466   c1
467 }
468 @end lilypond
469
470 標準の譜刻習慣に従い、楽曲の先頭では繰り返し記号は譜刻されません。
471
472 @item end-repeat
473 @code{:|.} 小節線を譜刻します。
474
475 @lilypond[verbatim,quote]
476 \relative {
477   c''1
478   d4 e f g
479   \set Score.repeatCommands = #'(end-repeat)
480   c1
481 }
482 @end lilypond
483
484 @item (volta @var{number}) @dots{} (volta #f)
485 指定された番号を持つ新しい volta を作成します。@c
486 Volta 囲みは明示的に終了させる必要があります。@c
487 さもなければ、譜刻されません。
488
489 @lilypond[verbatim,quote]
490 \relative {
491   f''4 g a b
492   \set Score.repeatCommands = #'((volta "2"))
493   g4 a g a
494   \set Score.repeatCommands = #'((volta #f))
495   c1
496 }
497 @end lilypond
498
499 @end table
500
501 複数の繰り返しコマンドが同時に発生することもあります:
502
503 @lilypond[verbatim,quote]
504 \relative {
505   f''4 g a b
506   \set Score.repeatCommands = #'((volta "2, 5") end-repeat)
507   g4 a g a
508   c1
509   \set Score.repeatCommands = #'((volta #f) (volta "95") end-repeat)
510   b1
511   \set Score.repeatCommands = #'((volta #f))
512 }
513 @end lilypond
514
515 @cindex volta bracket with text (テキストを持つ volta 囲み)
516 @cindex text in volta bracket (volta 囲みの中にあるテキスト)
517
518 テキストを volta 囲みに含めることができます。@c
519 テキストに使用できるのは数字やマークアップ テキストです。@c
520 @ref{Formatting text} を参照してください。@c
521 マークアップ テキストを使用するための最も簡単な方法は、最初にマークアップを@c
522 定義し、それからそのマークアップを Scheme リストに含める方法です。
523
524 @lilypond[verbatim,quote]
525 voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
526 \relative {
527   c''1
528   \set Score.repeatCommands =
529     #(list(list 'volta voltaAdLib) 'start-repeat)
530   c4 b d e
531   \set Score.repeatCommands = #'((volta #f) (volta "4.") end-repeat)
532   f1
533   \set Score.repeatCommands = #'((volta #f))
534 }
535 @end lilypond
536
537
538 @seealso
539 記譜法リファレンス:
540 @ref{Bar lines},
541 @ref{Formatting text}
542
543 コード断片集:
544 @rlsr{Repeats}
545
546 内部リファレンス:
547 @rinternals{VoltaBracket},
548 @rinternals{RepeatedMusic},
549 @rinternals{VoltaRepeatedMusic}
550
551
552 @node 繰り返しを描き出す
553 @unnumberedsubsubsec 繰り返しを描き出す
554 @translationof Written-out repeats
555
556 @cindex written-out repeats (繰り返しを描き出す)
557 @cindex repeats, written-out (繰り返しを描き出す)
558 @cindex repeats, unfold (繰り返しを展開する)
559 @cindex repeats, alternative (繰り返しの入れ替え)
560 @cindex unfold repeat (繰り返しを展開する)
561 @cindex unfold repeat, with alternate endings (入れ替え部分のある繰り返しを展開する)
562 @cindex alternate repeats (入れ替えのある繰り返し)
563 @cindex alternate endings, repeats (繰り返しを入れ替えて終わる)
564 @funindex unfold
565
566 @code{unfold} コマンドを用いることにより、@c
567 繰り返しを単に反復する音楽を描き出すために使用することができます。@c
568 構文は以下の通りです:
569
570 @example
571 \repeat unfold @var{repeatcount} @var{musicexpr}
572 @end example
573
574 ここで、@code{@var{musicexpr}} は音楽表記であり、@code{@var{repeatcount}} は
575 @code{@var{musicexpr}} を繰り返す回数です。
576
577 @lilypond[verbatim,quote]
578 \relative {
579   \repeat unfold 2 { c''4 d e f }
580   c1
581 }
582 @end lilypond
583
584 いくつかのケースでは、特に @code{\relative} コンテキストの中では、@c
585 @code{\repeat unfold} 関数は音楽表記を複数回記述したものと同じにはなりません。@c
586 例えば、
587
588 @example
589 \repeat unfold 2 @{ a'4 b c @}
590 @end example
591
592 これは以下と等価ではありません。
593
594 @example
595 a'4 b c | a'4 b c
596 @end example
597
598 入れ替え部分がある繰り返しを展開することもできます。@c
599
600 @lilypond[verbatim,quote]
601 \relative {
602   \repeat unfold 2 { c''4 d e f }
603   \alternative {
604     { c2 g' }
605     { c,2 b }
606   }
607   c1
608 }
609 @end lilypond
610
611 繰り返し回数が入れ替え部分の数よりも多い場合、@c
612 最初の入れ替え部分だけが適用されます。@c
613 残りの入れ替えは無視されて譜刻されません。
614
615 @lilypond[verbatim,quote]
616 \relative {
617   \repeat unfold 4 { c''4 d e f }
618   \alternative {
619     { c2 g' }
620     { c,2 b }
621     { e2 d }
622    }
623   c1
624 }
625 @end lilypond
626 入れ替え部分の数が繰り返し回数よりも多い場合、@c
627 最初の入れ替え部分が使用され、残りの繰り返し部分は無視され、譜刻されません。
628
629 @lilypond[verbatim,quote]
630 \relative {
631   \repeat unfold 2 { c''4 d e f }
632   \alternative {
633     { c2 g' }
634     { c,2 b }
635     { e2 d }
636   }
637   c1
638 }
639 @end lilypond
640
641 複数の @code{unfold} 関数をネストすることも可能です。@c
642 (@code{unfold} は入れ替え部分を持っていても、持っていなくても構いません。)
643
644 @lilypond[verbatim,quote]
645 \relative {
646   \repeat unfold 2 {
647     \repeat unfold 2 { c''4 d e f }
648     \alternative {
649       { c2 g' }
650       { c,2 b }
651     }
652   }
653   c1
654 }
655 @end lilypond
656
657 和音構造は和音の繰り返し記号 @code{q} で繰り返すことができます。@c
658 @ref{Chord repetition} を参照してください。
659
660 @warning{@code{Voice} コンテキストを明示的にインスタンス化せずに@c
661 @code{@bs{}relative} を @code{@bs{}repeat} の中に配置すると、@c
662 余計な譜が表示されます。@c
663 @rprogram{余計な譜が表示される} を参照してください。}
664
665
666 @seealso
667 記譜法リファレンス:
668 @ref{Chord repetition}
669
670 コード断片集:
671 @rlsr{Repeats}
672
673 内部リファレンス:
674 @rinternals{RepeatedMusic},
675 @rinternals{UnfoldedRepeatedMusic}
676
677
678 @node 短い繰り返し
679 @subsection 短い繰り返し
680 @translationof Short repeats
681
682 このセクションでは、短い繰り返しを入力する方法について議論します。@c
683 短い繰り返しには 2 つの形式があります:
684 単一の音符、単一の小節あるいは 2 小節の繰り返しを表す@c
685 スラッシュまたはパーセント記号と、トレモロです。
686
687 @menu
688 * パーセント繰り返し::
689 * トレモロの繰り返し::
690 @end menu
691
692 @node パーセント繰り返し
693 @unnumberedsubsubsec パーセント繰り返し
694 @translationof Percent repeats
695
696 @cindex percent repeats (パーセント繰り返し)
697 @cindex measure repeats (小節の繰り返し)
698 @cindex repeat, percent (パーセント繰り返し)
699 @cindex repeat, measure (小節の繰り返し)
700 @cindex repeat, short (短い繰り返し)
701 @funindex \repeat percent
702 @funindex percent
703
704 繰り返される短いパターンは 1 回だけ譜刻され、@c
705 繰り返しは特殊な記号で置き換えられます。
706
707 構文は以下の通りです
708
709 @example
710 \repeat percent @var{number} @var{musicexpr}
711 @end example
712
713 @noindent
714 ここで、@code{@var{musicexpr}} は音楽表記です。
715
716 1 小節よりも短いパターンはスラッシュで置き換えられます。
717
718 @lilypond[verbatim,quote]
719 \relative c'' {
720   \repeat percent 4 { c128 d e f }
721   \repeat percent 4 { c64 d e f }
722   \repeat percent 5 { c32 d e f }
723   \repeat percent 4 { c16 d e f }
724   \repeat percent 4 { c8 d }
725   \repeat percent 4 { c4 }
726   \repeat percent 2 { c2 }
727 }
728 @end lilypond
729
730 1 または 2 小節のパターンはパーセントのような記号で置き換えられます。
731
732 @lilypond[verbatim,quote]
733 \relative c'' {
734   \repeat percent 2 { c4 d e f }
735   \repeat percent 2 { c2 d }
736   \repeat percent 2 { c1 }
737 }
738 @end lilypond
739
740 @lilypond[verbatim,quote]
741 \relative {
742   \repeat percent 3 { c''4 d e f | c2 g' }
743 }
744 @end lilypond
745
746 1 小節よりも短いけれども異なる演奏時間が含まれるパターンは@c
747 2 重線のパーセント記号を用います。
748
749 @lilypond[verbatim,quote]
750 \relative {
751   \repeat percent 4 { c''8. <d f>16 }
752   \repeat percent 2 { \tuplet 3/2 { r8 c d } e4 }
753 }
754 @end lilypond
755
756 @snippets
757
758 @lilypondfile[verbatim,quote,texidoc,doctitle]
759 {percent-repeat-counter.ly}
760
761 @lilypondfile[verbatim,quote,texidoc,doctitle]
762 {percent-repeat-count-visibility.ly}
763
764 @lilypondfile[verbatim,quote,texidoc,doctitle]
765 {isolated-percent-repeats.ly}
766
767 @seealso
768 音楽用語集:
769 @rglos{percent repeat},
770 @rglos{simile}
771
772 コード断片集:
773 @rlsr{Repeats}
774
775 内部リファレンス:
776 @rinternals{RepeatSlash},
777 @rinternals{RepeatSlashEvent},
778 @rinternals{DoubleRepeatSlash},
779 @rinternals{PercentRepeat},
780 @rinternals{PercentRepeatCounter},
781 @rinternals{PercentRepeatedMusic},
782 @rinternals{Percent_repeat_engraver},
783 @rinternals{DoublePercentEvent},
784 @rinternals{DoublePercentRepeat},
785 @rinternals{DoublePercentRepeatCounter},
786 @rinternals{Double_percent_repeat_engraver},
787 @rinternals{Slash_repeat_engraver}
788
789 @knownissues
790 パーセント記号の繰り返しは、パーセント記号以外に何も含むことができません。@c
791 特に、拍子の変更は繰り返されません。
792
793 @lilypond[quote,verbatim,relative=2]
794 \repeat percent 3 { \time 5/4 c2. 2 \time 4/4 2 2 }
795 @end lilypond
796
797 @noindent
798 拍子の変更や @code{\partial} コマンドは、パーセント記号の繰り返しの@c
799 @emph{外側に}ある並列部分で行われる必要があります (例えば、独立した@c
800 タイミング トラック)。
801
802 @lilypond[quote,verbatim,relative=2]
803 <<
804   \repeat percent 3 { c2. 2 2 2 }
805   \repeat unfold 3 { \time 5/4 s4*5 \time 4/4 s1 }
806 >>
807 @end lilypond
808
809
810 @node トレモロの繰り返し
811 @unnumberedsubsubsec トレモロの繰り返し
812 @translationof Tremolo repeats
813
814 @cindex tremolo beams (トレモロの連桁)
815 @cindex tremolo (トレモロ)
816 @cindex repeat, tremolo (トレモロの繰り返し)
817 @funindex \repeat tremolo
818 @funindex tremolo
819
820 トレモロには 2 つの形式があります:
821 2 つの和音あるいは 2 つの音符を交互に演奏するものと、@c
822 単一の音符あるいは和音を素早く繰り返すものです。@c
823 交互に演奏するトレモロは、@c
824 音符あるいは和音の間に多重連桁を付け加えることによって示され、@c
825 一方、単一の音符を素早く繰り返すトレモロは単一の音符に@c
826 多重連桁あるいは多重スラッシュを付け加えることによって示されます。
827
828 2 つの音符の間にトレモロ記号を配置するには、トレモロ スタイルの @code{\repeat}
829 を使用します:
830
831 @lilypond[quote,verbatim]
832 \relative c'' {
833   \repeat tremolo 8 { c16 d }
834   \repeat tremolo 6 { c16 d }
835   \repeat tremolo 2 { c16 d }
836 }
837 @end lilypond
838
839 @code{\repeat tremolo} の構文では、@c
840 波括弧の中にある音符の数がちょうど 2 つであること、@c
841 それに、繰り返しの回数が普通の音符あるいは付点音符として表すことができる@c
842 音価に相当することが必須です。@c
843 それゆえ、@code{\repeat tremolo 7} は有効であり、2 重付点音符を作り出します。@c
844 しかしながら、@code{\repeat tremolo 9} は無効です。
845
846 トレモロの演奏時間は、@c
847 波括弧で囲まれた音楽表記の演奏時間に繰り返し回数を掛けたものに等しいです:
848 @code{\repeat tremolo 8 @{ c16 d16 @}} は全音符のトレモロであり、@c
849 トレモロの連桁でつながれた 2 つの全音符として譜刻されます。
850
851 単一の音符上にトレモロ記号を配置する方法は 2 つあります。@c
852 @code{\repeat tremolo} 構文をここでも使用します
853 -- この場合、音符を波括弧で囲むべきではありません:
854
855 @lilypond[quote,verbatim,ragged-right]
856 \repeat tremolo 4 c'16
857 @end lilypond
858
859 @cindex tremolo marks (トレモロ記号)
860 @funindex :
861
862 音符の後に @code{:@var{N}} を付け加えることによって@c
863 同じ出力を得ることができます。@c
864 @code{@var{N}} は細部の演奏時間を表し、8 以上である必要があります。@c
865 @code{@var{N}} が 8 である場合、音符の符幹に 1 本の連桁が付け加えられます。@c
866 @code{@var{N}} が省略された場合、
867 最後の値が使用されます:
868
869 @lilypond[quote,verbatim]
870 \relative {
871   c''2:8 c:32
872   c: c:
873 }
874 @end lilypond
875
876 @snippets
877
878 @lilypondfile[verbatim,quote,texidoc,doctitle]
879 {cross-staff-tremolos.ly}
880
881 @seealso
882 コード断片集:
883 @rlsr{Repeats}
884
885 @cindex tremolo, cross-staff (譜を跨ぐトレモロ)
886 @cindex cross-staff tremolo (譜を跨ぐトレモロ)