Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.11"
+@c \version "2.19.21"
@c Translators: Yoshiki Sawada
入れ替えを持たない 1 回の繰り返しは以下のようになります:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 2 { c4 d e f }
-c2 d
-\repeat volta 2 { d4 e f g }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 2 { c''4 d e f }
+ c2 d
+ \repeat volta 2 { d4 e f g }
+}
@end lilypond
繰り返し時に入れ替えて演奏する部分は @code{\alternative} を@c
繰り返しが 1 回で、入れ替えも 1 つの場合は以下のようになります:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 2 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 2 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ }
+ c1
}
-c1
@end lilypond
複数の入れ替え部分を 1 回ずつ演奏する繰り返しは以下のようになります:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 4 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 4 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ }
+ c1
}
-c1
@end lilypond
繰り返し部分を複数回繰り返す場合は以下のようになります:
-@lilypond[verbatim,quote,relative=2]
-\repeat volta 3 { c4 d e f | }
-\alternative {
- { c2 e | }
- { f2 g | }
- { a2 g | }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat volta 3 { c''4 d e f | }
+ \alternative {
+ { c2 e | }
+ { f2 g | }
+ { a2 g | }
+ }
+ c1
}
-c1
@end lilypond
@warning{入れ替えが複数ある場合、入れ替えの閉じ波括弧と次の入れ替えの@c
使わないで下さい:
@c KEEP LY
-@lilypond[verbatim,quote,relative=1]
-% ここで \partial を使わないで下さい
-c4 e g % ここで小節チェックを行わないで下さい
-% ここで \partial を使わないで下さい
-\repeat volta 4 {
- e4 |
- c2 e |
+@lilypond[verbatim,quote]
+\relative {
+ % ここで \partial を使わないで下さい
+ c'4 e g % ここで小節チェックを行わないで下さい
% ここで \partial を使わないで下さい
- g4 g g % ここで小節チェックを行わないで下さい
+ \repeat volta 4 {
+ e4 |
+ c2 e |
+ % ここで \partial を使わないで下さい
+ g4 g g % ここで小節チェックを行わないで下さい
+ }
+ % ここで \partial を使わないで下さい
+ g4 |
+ a2 a |
+ g1 |
}
-% ここで \partial を使わないで下さい
-g4 |
-a2 a |
-g1 |
@end lilypond
同様に、繰り返しが楽譜の先頭の部分小節から始まり、入れ替え部分を持たない場合、@c
上の例と同じ条件が適用されます:
@c KEEP LY
-@lilypond[verbatim,quote,relative=1]
-\partial 4 % \partial が必要です
-\repeat volta 4 {
- e4 |
- c2 e |
+@lilypond[verbatim,quote]
+\relative {
+ \partial 4 % \partial が必要です
+ \repeat volta 4 {
+ e'4 |
+ c2 e |
+ % ここで \partial を使わないで下さい
+ g4 g g % ここで小節チェックを行わないで下さい
+ }
% ここで \partial を使わないで下さい
- g4 g g % ここで小節チェックを行わないで下さい
+ g4 |
+ a2 a |
+ g1 |
}
-% ここで \partial を使わないで下さい
-g4 |
-a2 a |
-g1 |
@end lilypond
完全な長さを持たない小節で始まる小節に入れ替え部分を付け加える場合、@c
最初の入れ替え部分を除く、各入れ替え部分の開始点。
@end itemize
-@lilypond[verbatim,quote,relative=1]
-\partial 4
-\repeat volta 2 { e4 | c2 e | }
-\alternative {
- {
- f2 d |
- \set Timing.measureLength = #(ly:make-moment 3/4)
- g4 g g % optional bar check is allowed here
- }
- {
- \set Timing.measureLength = #(ly:make-moment 4/4)
- a2 a |
+@lilypond[verbatim,quote]
+\relative {
+ \partial 4
+ \repeat volta 2 { e'4 | c2 e | }
+ \alternative {
+ {
+ f2 d |
+ \set Timing.measureLength = #(ly:make-moment 3/4)
+ g4 g g % optional bar check is allowed here
+ }
+ {
+ \set Timing.measureLength = #(ly:make-moment 4/4)
+ a2 a |
+ }
}
+ g1 |
}
-g1 |
@end lilypond
@code{measureLength} プロパティについての説明は @ref{Time administration}
@code{doubleRepeatSegnoType} を必要に応じてオーバライドすることにより@c
設定することができます。
-@lilypond[verbatim,quote,relative=1]
-e1
-\repeat volta 2 {
+@lilypond[verbatim,quote]
+\relative {
+ e'1
\inStaffSegno
f2 g a b
+ c1_"D.S." \bar "|."
}
-c1_"D.S." \bar "|."
@end lilypond
@cindex repeats, with ties (タイを持つ繰り返し)
繰り返しの 2 回目の部分にタイを付け加えることもできます:
-@lilypond[verbatim,quote,relative=2]
-c1
-\repeat volta 2 { c4 d e f~ }
-\alternative {
- { f2 d }
- { f2\repeatTie f, }
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ \repeat volta 2 { c4 d e f~ }
+ \alternative {
+ { f2 d }
+ { f2\repeatTie f, }
+ }
}
@end lilypond
@item start-repeat
@code{|:} 小節線を譜刻します。
-@lilypond[verbatim,quote,relative=2]
-c1
-\set Score.repeatCommands = #'(start-repeat)
-d4 e f g
-c1
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ \set Score.repeatCommands = #'(start-repeat)
+ d4 e f g
+ c1
+}
@end lilypond
標準の譜刻習慣に従い、楽曲の先頭では繰り返し記号は譜刻されません。
@item end-repeat
@code{:|.} 小節線を譜刻します。
-@lilypond[verbatim,quote,relative=2]
-c1
-d4 e f g
-\set Score.repeatCommands = #'(end-repeat)
-c1
+@lilypond[verbatim,quote]
+\relative {
+ c''1
+ d4 e f g
+ \set Score.repeatCommands = #'(end-repeat)
+ c1
+}
@end lilypond
@item (volta @var{number}) ... (volta #f)
Volta 囲みは明示的に終了させる必要があります。@c
さもなければ、譜刻されません。
-@lilypond[verbatim,quote,relative=2]
-f4 g a b
-\set Score.repeatCommands = #'((volta "2"))
-g4 a g a
-\set Score.repeatCommands = #'((volta #f))
-c1
+@lilypond[verbatim,quote]
+\relative {
+ f''4 g a b
+ \set Score.repeatCommands = #'((volta "2"))
+ g4 a g a
+ \set Score.repeatCommands = #'((volta #f))
+ c1
+}
@end lilypond
@end table
複数の繰り返しコマンドが同時に発生することもあります:
-@lilypond[verbatim,quote,relative=2]
-f4 g a b
-\set Score.repeatCommands = #'((volta "2, 5") end-repeat)
-g4 a g a
-c1
-\set Score.repeatCommands = #'((volta #f) (volta "95") end-repeat)
-b1
-\set Score.repeatCommands = #'((volta #f))
+@lilypond[verbatim,quote]
+\relative {
+ f''4 g a b
+ \set Score.repeatCommands = #'((volta "2, 5") end-repeat)
+ g4 a g a
+ c1
+ \set Score.repeatCommands = #'((volta #f) (volta "95") end-repeat)
+ b1
+ \set Score.repeatCommands = #'((volta #f))
+}
@end lilypond
@cindex volta bracket with text (テキストを持つ volta 囲み)
@lilypond[verbatim,quote]
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
-\relative c'' {
- c1
+\relative {
+ c''1
\set Score.repeatCommands =
#(list(list 'volta voltaAdLib) 'start-repeat)
c4 b d e
ここで、@code{@var{musicexpr}} は音楽表記であり、@code{@var{repeatcount}} は
@code{@var{musicexpr}} を繰り返す回数です。
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-c1
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ c1
+}
@end lilypond
いくつかのケースでは、特に @code{\relative} コンテキストの中では、@c
入れ替え部分がある繰り返しを展開することもできます。@c
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ }
+ c1
}
-c1
@end lilypond
繰り返し回数が入れ替え部分の数よりも多い場合、@c
最初の入れ替え部分だけが適用されます。@c
残りの入れ替えは無視されて譜刻されません。
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 4 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
- { e2 d }
- }
-c1
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 4 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ { e2 d }
+ }
+ c1
+}
@end lilypond
入れ替え部分の数が繰り返し回数よりも多い場合、@c
最初の入れ替え部分が使用され、残りの繰り返し部分は無視され、譜刻されません。
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 { c4 d e f }
-\alternative {
- { c2 g' }
- { c,2 b }
- { e2 d }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ { e2 d }
+ }
+ c1
}
-c1
@end lilypond
複数の @code{unfold} 関数をネストすることも可能です。@c
(@code{unfold} は入れ替え部分を持っていても、持っていなくても構いません。)
-@lilypond[verbatim,quote,relative=2]
-\repeat unfold 2 {
- \repeat unfold 2 { c4 d e f }
- \alternative {
- { c2 g' }
- { c,2 b }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 2 {
+ \repeat unfold 2 { c''4 d e f }
+ \alternative {
+ { c2 g' }
+ { c,2 b }
+ }
}
+ c1
}
-c1
@end lilypond
和音構造は和音の繰り返し記号 @code{q} で繰り返すことができます。@c
1 小節よりも短いパターンはスラッシュで置き換えられます。
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 4 { c128 d e f }
-\repeat percent 4 { c64 d e f }
-\repeat percent 5 { c32 d e f }
-\repeat percent 4 { c16 d e f }
-\repeat percent 4 { c8 d }
-\repeat percent 4 { c4 }
-\repeat percent 2 { c2 }
+@lilypond[verbatim,quote]
+\relative c'' {
+ \repeat percent 4 { c128 d e f }
+ \repeat percent 4 { c64 d e f }
+ \repeat percent 5 { c32 d e f }
+ \repeat percent 4 { c16 d e f }
+ \repeat percent 4 { c8 d }
+ \repeat percent 4 { c4 }
+ \repeat percent 2 { c2 }
+}
@end lilypond
1 または 2 小節のパターンはパーセントのような記号で置き換えられます。
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 2 { c4 d e f }
-\repeat percent 2 { c2 d }
-\repeat percent 2 { c1 }
+@lilypond[verbatim,quote]
+\relative c'' {
+ \repeat percent 2 { c4 d e f }
+ \repeat percent 2 { c2 d }
+ \repeat percent 2 { c1 }
+}
@end lilypond
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 3 { c4 d e f | c2 g' }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat percent 3 { c''4 d e f | c2 g' }
+}
@end lilypond
1 小節よりも短いけれども異なる演奏時間が含まれるパターンは@c
2 重線のパーセント記号を用います。
-@lilypond[verbatim,quote,relative=2]
-\repeat percent 4 { c8. <d f>16 }
-\repeat percent 2 { \tuplet 3/2 { r8 c d } e4 }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat percent 4 { c''8. <d f>16 }
+ \repeat percent 2 { \tuplet 3/2 { r8 c d } e4 }
+}
@end lilypond
@snippets
2 つの音符の間にトレモロ記号を配置するには、トレモロ スタイルの @code{\repeat}
を使用します:
-@lilypond[quote,verbatim,relative=2]
-\repeat tremolo 8 { c16 d }
-\repeat tremolo 6 { c16 d }
-\repeat tremolo 2 { c16 d }
+@lilypond[quote,verbatim]
+\relative c'' {
+ \repeat tremolo 8 { c16 d }
+ \repeat tremolo 6 { c16 d }
+ \repeat tremolo 2 { c16 d }
+}
@end lilypond
@code{\repeat tremolo} の構文では、@c
@code{@var{N}} が省略された場合、
最後の値 (@code{tremoloFlags} に保存されています) が使用されます:
-@lilypond[quote,verbatim,relative=2]
-c2:8 c:32
-c: c:
+@lilypond[quote,verbatim]
+\relative {
+ c''2:8 c:32
+ c: c:
+}
@end lilypond
@snippets