1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
3 Translation of GIT committish: dadabdfc4537ef85adb9159d46eda5a0ff180835
5 When revising a translation, copy the HEAD committish of the
6 version that you are working on. See TRANSLATION for details.
11 @c Translators: Yoshiki Sawada
12 @c Translation status: post-GDP
17 @translationof Rhythms
19 @lilypondfile[quote]{rhythms-headword.ly}
21 このセクションではリズム、休符、演奏時間、連桁、小節について議論します。
35 @translationof Writing rhythms
45 @unnumberedsubsubsec 演奏時間
46 @translationof Durations
48 @cindex durations, of notes (音符の演奏時間)
49 @cindex note durations (音符の演奏時間)
50 @cindex length of notes (音符の長さ)
51 @cindex note lengths (音符の長さ)
61 演奏時間はその演奏時間の逆数で入力されます。@c
62 例えば、4 分音符は @code{4} で入力され (1/4 の音符だから)、半音符は @code{2}
63 で入力されます (1/2 の音符だから)。@c
64 全音符よりも長い音符を入力するには、@code{\longa} コマンド (全音符の 4 倍)
65 と @code{\breve} コマンド (全音符の 2 倍) を使う必要があります。@c
66 128 分音符のような短い音符を指定することもできます。@c
67 それよりも短い音価を指定することも可能ですが、必ず連桁付きの音符となります。
69 @c Two 64th notes are needed to obtain beams
70 @lilypond[quote,verbatim,relative=2]
73 c4 c8 c16 c32 c64 c128 c128
78 @c not strictly "writing rhythms"; more of a "displaying" thing,
79 @c but it's ok here. -gp
80 @lilypond[quote,verbatim,relative=2]
84 c4 c8 c16 c32 c64 c128 c128
88 @code{\maxima} を使って入力することができます。@c
89 しかしながら、これは古代音楽表記でのみサポートされます。@c
90 詳細は @ref{Ancient notation} を参照してください。
92 @cindex duration, default (デフォルトの演奏時間)
93 @cindex default note duration (デフォルトの音符演奏時間)
94 @cindex note duration, default (デフォルトの音符演奏時間)
96 演奏時間を省略した場合、前に入力された演奏時間にセットされます。@c
97 最初の音符のデフォルト値は 4 分音符です。
99 @lilypond[quote,verbatim,relative=2]
103 @cindex notes, dotted (付点音符)
104 @cindex dotted notes (付点音符)
105 @cindex notes, double-dotted (2 重付点音符)
106 @cindex double-dotted notes (2 重付点音符)
110 付点音符の演奏時間を得るには、演奏時間の後にドット (@code{.}) を置きます。@c
111 2 重付点音符は 2 つのドットを置き、3 重付点音符は 3 つのドットなどとなります。
113 @lilypond[quote,verbatim,relative=2]
114 a4 b c4. b8 a4. b4.. c8.
117 演奏時間の中には 2の倍数の演奏時間とドットだけでは表せないものもあります。@c
118 それらを表すには 2 つかそれ以上の音符をタイでつなげるしかありません。@c
119 詳細は @ref{タイ} を参照してください。
121 歌詞の音節に対して演奏時間を指定する方法、歌詞を音符に揃える方法については
122 @ref{Vocal music} を参照してください。
124 オプションとして、音符を音符の演奏時間に厳密に比例させた間隔で@c
126 このオプションとプロポーショナル表記を制御するその他の設定についての@c
127 詳細は @ref{Proportional notation} を参照してください。
133 @funindex \dotsNeutral
134 @funindex dotsNeutral
136 通常、多声でない限り、ドットは譜線を避けるために上に移動させられます。@c
137 ある特定のドットの移動方向を手動で指定するための定義済みコマンドがあります
138 -- 詳細は @ref{Direction and placement} を参照してください。
152 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
153 {alternative-breve-note.ly}
155 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
156 {changing-the-number-of-augmentation-dots-per-note.ly}
165 @rglos{Duration names notes and rests}
173 @ref{Ancient notation},
174 @ref{Proportional notation}
177 @rlsrnamed{Rhythms,リズム}
181 @rinternals{DotColumn}
186 @c Deliberately duplicated in Durations and Rests. -gp
187 休符の演奏時間には基本的に限界がありません (最大値としても、最小値としても)。@c
188 しかしながら、図柄の数には限界があります:
189 128 分から全音符の 8 倍までの休符を譜刻することができます。
193 @unnumberedsubsubsec 連符
194 @translationof Tuplets
197 @cindex triplets (3 連符)
202 連符はその連符内のすべての音符の演奏時間に分数を掛け合わせる音楽表記によって@c
206 \times @var{fraction} @{ @var{music} @}
210 @code{@var{music}} の演奏時間には分数 @code{@var{fraction}} が掛け合わされます。@c
211 分数の分母が音符の上または下に譜刻され、オプションで囲みが付きます。@c
212 最も一般的な連符は 3 連符であり、3 連符では 3 つの音符が音符 2 つ分の@c
214 そのため、3 連符で指定する分数は 2/3 です。
216 @lilypond[quote,verbatim,relative=2]
217 a2 \times 2/3 { b4 b b }
218 c4 c \times 2/3 { b4 a g }
221 @cindex tuplet bracket placement (連符囲みの配置)
225 @funindex \tupletDown
227 @funindex \tupletNeutral
228 @funindex tupletNeutral
230 連符囲みは手動で譜の上または下に配置することができます
231 -- @ref{Direction and placement} を参照してください。
235 @lilypond[quote,verbatim,relative=2]
237 c4 \times 4/5 { f8 e f \times 2/3 { e[ f g] } } f4
240 ネストされた連符の演奏開始点が同時である場合に、それらの連符を変更するには
241 @code{\tweak} を使う必要があります。
243 連符囲みを譜刻せずに音符の演奏時間を変更する方法は
244 @ref{演奏時間を変更する} を参照してください。
250 @code{\tupletNeutral}.
256 @cindex tuplet formatting (連符のフォーマット)
257 @cindex triplet formatting (3 連符のフォーマット)
259 @funindex tupletNumberFormatFunction
260 @funindex tupletSpannerDuration
262 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
263 {entering-several-tuplets-using-only-one--times-command.ly}
265 @cindex Tuplet number changes (連符の数の変更)
267 @funindex TupletNumber
269 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
270 {changing-the-tuplet-number.ly}
272 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
273 {non-default-tuplet-numbers.ly}
275 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
276 {controlling-tuplet-bracket-visibility.ly}
278 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
279 {permitting-line-breaks-within-beamed-tuplets.ly}
298 @rlsrnamed{Rhythms,リズム}
301 @rinternals{TupletBracket},
302 @rinternals{TupletNumber},
303 @rinternals{TimeScaledMusic}.
306 @cindex grace notes within tuplet brackets (連符囲み内の装飾小音符)
309 譜の先頭に装飾小音符とそれに続く連符を配置する場合でない限り、@c
310 装飾を連符囲みの中に配置することができます。@c
311 この特殊な場合では、エラーを避けるためにその装飾小音符を
312 @code{\times} コマンドの前に置かなければなりません。
314 @cindex tempo marks within tuplet brackets (連符囲み内でのテンポ記号)
316 @code{\tempo} コマンドを持つ楽曲の先頭で連符を使う場合、@c
317 @rlearning{音楽を保持するボイス} で説明されているように@c
318 その音楽を明示的に @code{\new Voice} ブロックの中に入れる必要があります。
322 @unnumberedsubsubsec 演奏時間を変更する
323 @translationof Scaling durations
325 @cindex scaling durations (演奏時間を伸縮する)
326 @cindex durations, scaling (演奏時間を伸縮する)
328 @code{*N/M} (または、@code{M} が 1 の場合は @code{*N}) を演奏時間の後に@c
329 付け加えることによって、単一の音符、休符、和音の演奏時間を分数 @code{N/M} 倍
331 これは作り出される音符や休符の見た目には影響を与えませんが、@c
332 変更された演奏時間は小節の中での位置を算出するためと、@c
333 MIDI 出力での演奏時間を決定するために使用されます。@c
334 掛け合わせる要素は @code{*L*M/N} などのように組み合わせることができます。
336 以下の例では、最初の 3 つの音符で 2 拍ですが、連符囲みは譜刻されていません。
339 @lilypond[quote,relative=2,verbatim]
342 a4*2/3 gis4*2/3 a4*2/3
347 % 演奏時間は 4 分音符ですが、見た目は 16 分音符です
351 空白音符の演奏時間も掛け算によって変更できます。@c
352 これは @code{s1*23} のように多くの小節をスキップする場合に役に立ちます。
354 @cindex compressing music (音楽を圧縮する)
355 @cindex expanding music (音楽を伸長する)
357 @funindex \scaleDurations
358 @funindex scaleDurations
360 同様の方法で分数を使うことで、長く伸びた音楽を圧縮することができます。@c
361 それによりそれぞれの音符、和音、休符には@c
362 分数が掛け合わせられたかのようになります。@c
363 これは楽譜要素の見た目をそのままにして、要素の内部演奏時間に@c
364 @emph{分子}/@emph{分母}を掛け合わせます。@c
366 ここで、音楽がどのように圧縮され、伸張されるかを示す例を挙げます:
369 @lilypond[quote,relative=2,verbatim]
374 \scaleDurations #'(2 . 3) {
378 \scaleDurations #'(2 . 1) {
383 このコマンドの応用例の 1 つは多拍子記譜法での使用です。@c
384 @ref{多拍子記譜法} を参照してください。
394 @rlsrnamed{Rhythms,リズム}
398 @unnumberedsubsubsec タイ
405 タイは同じピッチの隣り合う符頭を結び付けます。@c
406 タイは音符の演奏時間を伸張する効果があります。
408 @warning{タイを音楽的なフレーズを表す @emph{スラー} や
409 @emph{フレージング スラー} と混同しないでください。@c
410 タイは音符の演奏時間を伸ばす働きを持ち、音価を増やすドットに似ています。}
412 タイはチルド記号 @code{~} を使って入力します:
414 @lilypond[quote,verbatim,relative=2]
418 タイは、音符が小節線をまたがる場合か、リズムを表すためにドットを@c
419 使うことができない場合に使用されます。@c
420 さらに、以下の例のように音価が小節の区画をまたがる場合にも使用されます
421 (訳者補足: 4/4 拍子では 1 小節は 1/4, 1/4, 1/4, 1/4 の区画に分けられます。@c
422 下の例の第 2 小節では半音符が区画をまたがっているので良くない書き方であり、@c
426 @lilypond[verbatim,quote]
429 r8^"こうすべきではありません" c2 ~ c8 r4
433 小節線をまたいで多くの音符をタイで結び付ける必要がある場合、@c
434 自動音符分割を使用したほうが簡単かもしれません
435 -- @ref{自動音符分割} を参照してください。@c
436 これは長い音符を自動的に分割して、小節線をまたがる音符をタイで結び付けます。
438 @cindex ties and chords (タイと和音)
439 @cindex chords and ties (和音とタイ)
441 タイを和音に適用する場合、ピッチが一致する符頭すべてが結ばれます。@c
442 一致する符頭が無い場合、タイは作成されません。@c
443 和音の内部にタイを置くことによって、和音の一部だけをタイで結ぶことができます。
445 @lilypond[quote,verbatim,relative=1]
447 <c~ e g~ b> <c e g b>
450 @cindex repeating ties (タイを含む繰り返し)
451 @cindex ties, repeating (タイを含む繰り返し)
452 @cindex volta brackets and ties (volta 囲みとタイ)
453 @cindex ties and volta brackets (タイと volta 囲み)
458 繰り返しの 2 回目の差し替え部分はタイで結ばれた音符で始まっています。@c
459 そのような繰り返し部分でのタイは以下のように指定する必要があります:
462 @lilypond[quote,relative=2,verbatim]
463 \repeat volta 2 { c g <c e>2 ~ }
465 % 1 番目の差し替え部分: 後に続く音符は通常通りタイで結ばれます
467 % 2 番目の差し替え部分: 後に続く音符にはリピート用のタイを付けます
468 { <c e>2\repeatTie d4 c } }
471 @cindex laissez vibrer (レセ ヴィブレ)
472 @cindex ties, laissez vibrer (レセ ヴィブレのタイ)
474 @funindex \laissezVibrer
475 @funindex laissezVibrer
477 @notation{L.v.}@: タイ (@notation{レセ ヴィブレ: laissez vibrer}) は@c
478 音符を終端で途切れさせないということを示します。@c
479 ピアノ、ハープ、他の弦楽器、それに打楽器のための楽譜で使用されます。@c
482 @lilypond[quote,verbatim,relative=1]
483 <c f g>1\laissezVibrer
486 @cindex ties, placement (タイの配置)
492 @funindex \tieNeutral
495 タイを手動で譜の上または下に配置することができます。
496 @ref{Direction and placement} を参照してください。
498 @cindex ties, appearance (タイの見た目)
499 @cindex ties, dotted (点線のタイ)
500 @cindex ties, dashed (破線のタイ)
501 @cindex dashed ties (破線のタイ)
502 @cindex dotted ties (点線のタイ)
511 タイを破線、点線、実線と破線の組み合わせにすることができます。
513 @lilypond[quote, verbatim, relative=1]
526 破線パターンのカスタマイズを指定することができます:
528 @lilypond[quote, verbatim, relative=1]
529 \tieDashPattern #0.3 #0.75
531 \tieDashPattern #0.7 #1.5
537 タイの破線パターン定義の構造は、スラーの破線パターン定義と同じです。@c
538 複雑な破線パターンについての更なる情報は @ref{Slurs} を参照してください。
540 譜の中で他のオブジェクトと衝突するタイに対しては、@c
541 @var{whiteout} レイアウト プロパティと @var{layer} レイアウト プロパティを@c
544 @lilypond[verbatim,quote,ragged-right,relative=2]
545 \override Tie #'layer = #-2
546 \override Staff.TimeSignature #'layer = #-1
547 \override Staff.KeySignature #'layer = #-1
548 \override Staff.TimeSignature #'whiteout = ##t
549 \override Staff.KeySignature #'whiteout = ##t
562 @code{\tieDashPattern},
563 @code{\tieHalfDashed},
564 @code{\tieHalfSolid},
571 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
572 {using-ties-with-arpeggios.ly}
574 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
575 {engraving-ties-manually.ly}
581 @rglos{laissez vibrer}
588 @rlsr{Expressive marks},
589 @rlsrnamed{Rhythms,リズム}
592 @rinternals{LaissezVibrerTie},
593 @rinternals{LaissezVibrerTieColumn},
594 @rinternals{TieColumn},
599 タイがアクティブなときに譜を切り換えても斜めのタイは作られません。
601 タイの最中に音部記号やオクターブを変更することはきちんと定義されていません。@c
602 そのような場合には、スラーを用いる方が好ましいです。
607 @translationof Writing rests
609 休符は音楽表記の中の音楽の一部として入力されます。
619 @unnumberedsubsubsec 休符
623 @cindex rest, entering durations (休符の演奏時間を入力する)
624 @cindex maxima rest (八全休符)
625 @cindex longa rest (四全休符)
626 @cindex breve rest (二全休符)
638 休符は音符名 @code{r} を持つ音符として入力されます。@c
639 全休符よりも長い演奏時間を持つ休符には以下に示す定義済みコマンドを使用します:
641 @c \time 16/1 is used to avoid spurious bar lines
642 @c and long tracts of empty measures
644 @lilypond[quote,verbatim,relative=2]
648 \override Staff.TimeSignature #'stencil = ##f
649 % 八全休符を譜刻します。二全休符 4 つと等価です
651 % 四全休符を譜刻します。二全休符 2 つと等価です
655 r1 r2 r4 r8 r16 r32 r64 r128
659 @cindex rest, multi-measure (複数小節の休符)
660 @cindex rest, whole-measure (全休符)
662 全休符 -- 小節の中心に置かれます -- は複数小節の休符として@c
664 複数小節の休符は多くの小節に対してと同様に単一の小節に対しても@c
666 詳細は @ref{小節単位の休符} を参照してください。
668 @cindex rest, specifying vertical position (休符の垂直方向の位置を指定する)
670 休符の垂直方向の位置を明示的に指定するには、音符の後に続けて @code{\rest}
672 その音符が譜上で占める位置に、その音符の演奏時間を持つ休符が配置されます。@c
673 これは多声部音楽を手動で精密にフォーマットすることを考慮したものです。@c
674 なぜなら、自動休符フォーマットでは多声部音楽の休符の衝突を回避できないからです。
676 @lilypond[quote,verbatim,relative=2]
682 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
696 @rlsrnamed{Rhythms,リズム}
704 @c Deliberately duplicated in Durations and Rests. -gp
705 休符の演奏時間には基本的に限界がありません (最大値としても、最小値としても)。@c
706 しかしながら、図柄の数には限界があります: 128 分から全音符の 8 倍までの@c
711 @unnumberedsubsubsec 不可視の休符
712 @translationof Invisible rests
715 @cindex invisible rest (不可視の休符)
716 @cindex rest, invisible (不可視の休符)
717 @cindex spacer note (空白音符)
718 @cindex spacer rest (空白休符)
724 不可視の休符 (@q{空白休符} とも呼ばれます) は音符名@tie{}@code{s} を@c
727 @lilypond[verbatim,quote,relative=2]
732 @cindex lyrics, skip (歌詞をスキップする)
734 空白休符は音符モードと和音モードでのみ利用可能です。@c
735 他のモードでは、例えば歌詞を入力している場合、音楽モーメントをスキップするには
736 @code{\skip} を使用します。@c
737 @code{\skip} は明示的な演奏時間を必要としますが、@c
738 @code{\addlyrics} や @code{\lyricsto} を使っていて、@c
739 歌詞が関係するメロディーの音符から演奏時間を得ている場合は無視されます。
741 @lilypond[quote,verbatim,relative=2]
754 @code{\skip} はコマンドであるため、@c
755 @code{s} とは異なり後に続く音符のデフォルト演奏時間には影響を与えません。
757 @lilypond[quote,verbatim,relative=2]
760 \repeat unfold 8 { a4 }
770 空白休符は、音符や休符と同様に、@code{Staff} や @code{Voice} が@c
771 存在しない場合に、それらを暗黙的に作成します:
773 @lilypond[quote,verbatim,fragment]
777 @code{\skip} はただ音楽的な時間をスキップするだけです。@c
781 @lilypond[quote,verbatim,relative=2]
783 \skip 1 \skip1 \skip 1
789 @rlearning{オブジェクトの可視性と色}
793 @ref{Visibility of objects}
796 @rlsrnamed{Rhythms,リズム}
799 @rinternals{SkipMusic}
803 @unnumberedsubsubsec 小節単位の休符
804 @translationof Full measure rests
806 @cindex multi-measure rests (複数の小節にまたがる休符)
807 @cindex full-measure rests (小節単位の休符)
808 @cindex rest, multi-measure (複数の小節にまたがる休符)
809 @cindex rest, full-measure (小節単位の休符)
810 @cindex whole rest for a full measure (小節に対する全休符)
811 @cindex rest, whole for a full measure (小節に対する全休符)
816 音符名として大文字の @code{R} を持つ音符として入力します:
818 @lilypond[quote,verbatim,relative=2]
819 % 休みの小節は 1 つの小節にまとめられます
820 \compressFullBarRests
827 小節単位の休符の演奏時間は、音符に対する演奏時間と同じ表記を使います。@c
828 複数小節にまたがる休符の演奏時間は常に小節の長さの整数倍になります。@c
829 そのため、しばしばドットや分数を使う必要があります:
831 @lilypond[quote,verbatim,relative=2]
832 \compressFullBarRests
838 R1*13/8 | R1*13/8*12 |
843 1 小節分の休符は、拍子次第で全休符または二全休符のどちらかとして、@c
846 @lilypond[quote,verbatim,relative=2]
855 @cindex multi-measure rest, expanding (複数小節にまたがる休符を展開する)
856 @cindex multi-measure rest, contracting (複数小節にまたがる休符をまとめる)
858 @funindex \expandFullBarRests
859 @funindex expandFullBarRests
860 @funindex \compressFullBarRests
861 @funindex compressFullBarRests
863 デフォルトでは、複数小節にまたがる休符は@c
864 休みの小節すべてを明示的に示すように譜刻される楽譜に展開されます。@c
865 そうする代わりに、複数小節にまたがる休符を複数小節の休符記号を持つ単一の@c
866 小節として譜刻することもできます -- 休みの小節数がその小節の上に譜刻されます。
869 @lilypond[quote,verbatim,relative=2]
871 \time 3/4 r2. | R2.*2 |
874 % 休みの小節を 1 つの小節にまとめます
875 \compressFullBarRests
884 @cindex text on multi-measure rest (複数小節にまたがる休符上のテキスト)
885 @cindex multi-measure rest, attaching text (複数小節にまたがる休符にテキストを付ける)
886 @cindex script on multi-measure rest (複数小節にまたがる休符上のスクリプト)
887 @cindex multi-measure rest, script (複数小節にまたがる休符上のスクリプト)
888 @cindex fermata on multi-measure rest (複数小節にまたがる休符上のフェルマータ)
889 @cindex multi-measure rest, attaching fermata (複数小節にまたがる休符にフェルマータを付ける)
890 @cindex markup on multi-measure rest (複数小節にまたがる休符上のマークアップ)
891 @cindex multi-measure rest with markup (マークアップを持つ複数小節にまたがる休符)
893 @funindex \fermataMarkup
894 @funindex fermataMarkup
895 @funindex MultiMeasureRestText
897 マークアップを複数小節にまたがる休符に付け加えることができます。@c
898 フェルマータを付け加えるための定義済みコマンドとして
899 @code{\fermataMarkup} が提供されています。
901 @lilypond[quote,verbatim,relative=2]
902 \compressFullBarRests
904 R2.*10^\markup { \italic "ad lib." }
909 複数小節にまたがる休符に付け加えられるマークアップはタイプ
910 @code{MultiMeasureRestText} のオブジェクトであり、@c
911 @code{TextScript} ではありません。@c
912 オーバライドは正しいオブジェクトに対して行わなければなりません。@c
918 @lilypond[quote,verbatim,relative=2]
919 % この例は誤ったオブジェクト名を指定しているため失敗します
920 \override TextScript #'padding = #5
922 % この例は正しいオブジェクト名が指定されています
923 \override MultiMeasureRestText #'padding = #5
927 複数小節にまたがる休符が @code{\partial} 設定の直後にある場合、@c
928 小節チェックの警告が表示されないかもしれません。
931 @funindex \textLengthOn
932 @funindex textLengthOn
933 @funindex \textLengthOff
934 @funindex textLenthOff
935 @funindex \fermataMarkup
936 @funindex fermataMarkup
937 @funindex \compressFullBarRests
938 @funindex compressFullBarRests
939 @funindex \expandFullBarRests
940 @funindex expandFullBarRests
943 @code{\textLengthOn},
944 @code{\textLengthOff},
945 @code{\fermataMarkup},
946 @code{\compressFullBarRests},
947 @code{\expandFullBarRests}
956 @cindex kirchenpausen
958 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
959 {changing-form-of-multi-measure-rests.ly}
961 @cindex multi-measure rests, positioning
962 @cindex positioning multi-measure rests
964 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
965 {positioning-multi-measure-rests.ly}
967 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
968 {multi-measure-rest-markup.ly}
973 @rglos{multi-measure rest}
978 @ref{Formatting text},
982 @rlsrnamed{Rhythms,リズム}
985 @rinternals{MultiMeasureRest},
986 @rinternals{MultiMeasureRestNumber},
987 @rinternals{MultiMeasureRestText}
990 @cindex fingerings and multi-measure rests (運指記号と複数小節にまたがる休符)
991 @cindex multi-measure rests and fingerings (運指記号と複数小節にまたがる休符)
994 複数小節にまたがる休符の上に運指記号を配置すると (例えば、@code{R1*10-4})、@c
995 運指の数字が休みの小節数と衝突する可能性があります。
997 @cindex condensing rests (休符をまとめる)
998 @cindex rest, condensing ordinary (通常の休符をまとめる)
1000 複数の通常の休符を自動的に単一の複数小節休符にまとめる方法はありません。
1002 @cindex rest, collisions of (休符の衝突)
1004 複数小節にまたがる休符が休符の衝突を引き起こすことはありません。
1008 @subsection リズムを表示する
1009 @translationof Displaying rhythms
1022 @unnumberedsubsubsec 拍子
1023 @translationof Time signature
1025 @cindex time signature (拍子)
1033 @lilypond[quote,verbatim,relative=2]
1038 @cindex time signature, visibility of (拍子の可視性)
1040 拍子は楽曲の始まりと拍子が変更されたときに譜刻されます。@c
1041 行の終わりで変更が起こる場合、警告の拍子が行の終わりに譜刻されます。@c
1042 デフォルトの振る舞いを変更することができます。@c
1043 @ref{Visibility of objects} を参照してください。
1045 @lilypond[quote,verbatim,relative=2]
1055 @cindex time signature style (拍子スタイル)
1056 @cindex meter style (拍スタイル)
1058 @funindex \numericTimeSignature
1059 @funindex numericTimeSignature
1060 @funindex \defaultTimeSignature
1061 @funindex defaultTimeSignature
1063 2/2 や 4/4 で使用される拍子は数字を使用するスタイルに変更することができます:
1066 @lilypond[quote,verbatim,relative=2]
1071 \numericTimeSignature
1075 \defaultTimeSignature
1081 定量拍子については @ref{Mensural time signatures} でカバーされています。
1083 @cindex time signature default settings (拍子のデフォルト設定)
1084 @cindex autobeaming properties for time signatures (拍子のための自動連桁プロパティ)
1085 @cindex beaming, time signature default properties (連桁と拍子のデフォルト プロパティ)
1086 @funindex \overrideTimeSignatureSettings
1090 @code{\numericTimeSignature},
1091 @code{\defaultTimeSignature}
1094 譜刻される拍子を設定することに加えて、@c
1095 @code{\time} コマンドは拍子に基づくプロパティ
1096 @code{baseMoment}, @code{beatStructure}, それに @code{beamExceptions}
1098 これらのプロパティにあらかじめ定義されているデフォルト値は
1099 @file{scm/time-signature-settings.scm} で見つかります。@c
1100 既存のデフォルト値を変更したり、新しいデフォルト値を変更したりすることができます:
1102 @lilypond[quote,verbatim]
1106 \overrideTimeSignatureSettings
1107 #'(4 . 4) % timeSignatureFraction
1108 #'(1 . 4) % baseMomentFraction
1109 #'(3 1) % beatStructure
1110 #'() % beamExceptions
1112 \repeat unfold 8 { c8 } |
1118 @code{\overrideTimeSignatureSettings} は 4 つの引数をとります:
1123 @code{@var{timeSignatureFraction}}, 拍子を示す Scheme ペア。
1126 @code{@var{baseMomentFraction}}, 拍子の基本タイミングの単位となる@c
1127 分子と分母を保持する Scheme ペア。
1130 @code{@var{beatStructure}}, 小節の拍構造を示す Scheme リスト。@c
1134 @code{@var{beamExceptions}}, 指定された拍子でそれぞれの拍で終了しない@c
1136 @ref{自動連桁の振る舞いを設定する} に説明があります。
1139 @code{\overrideTimeSignatureSettings} を保持するコンテキストは、@c
1140 その @code{\overrideTimeSignatureSettings} 呼び出しが実行される前に@c
1141 インスタンス化されている必要があります。@c
1142 このことは、そのようなコンテキストは明示的にインスタンス化するか、@c
1143 そのコンテキスト内で @code{\overrideTimeSignatureSettings} の前に@c
1144 音楽を置いておく必要があるということを意味します:
1147 @lilypond[quote,verbatim]
1150 % コンテキストがまだインスタンス化されていないため、この呼び出しは失敗します
1151 \overrideTimeSignatureSettings
1152 #'(4 . 4) % timeSignatureFraction
1153 #'(1 . 4) % baseMomentFraction
1154 #'(3 1) % beatStructure
1155 #'() % beamExceptions
1157 c8^\markup {"Beamed (2 2)"}
1158 \repeat unfold 7 { c8 } |
1160 \overrideTimeSignatureSettings
1161 #'(4 . 4) % timeSignatureFraction
1162 #'(1 . 4) % baseMomentFraction
1163 #'(3 1) % beatStructure
1164 #'() % beamExceptions
1166 c8^\markup {"Beamed (3 1)"}
1167 \repeat unfold 7 { c8 } |
1172 @cindex time signature properties, restoring default values (拍子プロパティをデフォルト値に戻す)
1173 @cindex restoring default properties for time signatures (拍子をデフォルト プロパティに戻す)
1174 @funindex \revertTimeSignatureSettings
1176 デフォルトの拍子プロパティ値の変更を元の値に戻すことができます:
1178 @lilypond[quote,verbatim]
1181 \repeat unfold 8 { c8 } |
1182 \overrideTimeSignatureSettings
1183 #'(4 . 4) % timeSignatureFraction
1184 #'(1 . 4) % baseMomentFraction
1185 #'(3 1) % beatStructure
1186 #'() % beamExceptions
1188 \repeat unfold 8 { c8 } |
1189 \revertTimeSignatureSettings #'(4 . 4)
1191 \repeat unfold 8 { c8 } |
1196 @code{Timing_translator} と @code{Default_bar_line_engraver} を@c
1197 @code{Score} コンテキストから @code{Staff} コンテキストに移動させることにより、@c
1198 異なる譜に対して異なる値のデフォルト拍子プロパティを割り当てることができます。
1200 @lilypond[quote, verbatim]
1204 \overrideTimeSignatureSettings
1205 #'(4 . 4) % timeSignatureFraction
1206 #'(1 . 4) % baseMomentFraction
1207 #'(3 1) % beatStructure
1208 #'() % beamExceptions
1210 \repeat unfold 8 {c''8}
1213 \overrideTimeSignatureSettings
1214 #'(4 . 4) % timeSignatureFraction
1215 #'(1 . 4) % baseMomentFraction
1216 #'(1 3) % beatStructure
1217 #'() % beamExceptions
1219 \repeat unfold 8 {c''8}
1225 \remove "Timing_translator"
1226 \remove "Default_bar_line_engraver"
1230 \consists "Timing_translator"
1231 \consists "Default_bar_line_engraver"
1238 @code{\numericTimeSignature},
1239 @code{\defaultTimeSignature}
1245 @lilypondfile[verbatim,quote,texidoc,doctitle]
1246 {time-signature-printing-only-the-numerator-as-a-number-instead-of-the-fraction.ly}
1251 @rglos{time signature}
1254 @ref{Mensural time signatures},
1258 @rlsrnamed{Rhythms,リズム}
1261 @rinternals{TimeSignature},
1262 @rinternals{Timing_translator}
1266 @unnumberedsubsubsec メトロノーム記号
1267 @translationof Metronome marks
1270 @cindex beats per minute (1 分毎の拍数)
1271 @cindex metronome mark (メトロノーム記号)
1272 @cindex metronome marking with text (テキストを持つメトロノーム記号)
1277 基本的なメトロノーム記号は単純に以下のように記述します:
1279 @lilypond[verbatim,quote,relative=1]
1285 メトロノーム記号を 2 つの数の範囲として譜刻することもできます:
1287 @lilypond[verbatim,quote,relative=1]
1293 テキストを持つテンポ指示にすこともできます:
1295 @lilypond[verbatim,quote,relative=2]
1301 メトロノーム記号とテキストを組み合わせると、@c
1302 メトロノーム記号は自動的に括弧で囲まれます:
1304 @lilypond[verbatim,quote,relative=2]
1305 \tempo "Allegro" 4 = 160
1310 一般に、テキストを任意のマークアップ オブジェクトにすることができます:
1312 @lilypond[verbatim,quote,relative=2]
1313 \tempo \markup { \italic Faster } 4 = 132
1314 a8-. r8 b-. r gis-. r a-. r
1317 テキストを伴わないメトロノーム記号を括弧で囲むには、@c
1320 @lilypond[verbatim,quote,relative=2]
1328 @lilypondfile[verbatim,quote,texidoc,doctitle]
1329 {printing-metronome-and-rehearsal-marks-below-the-staff.ly}
1331 @c perhaps also an example of how to move it horizontally?
1333 @lilypondfile[verbatim,quote,texidoc,doctitle]
1334 {changing-the-tempo-without-a-metronome-mark.ly}
1336 @lilypondfile[verbatim,quote,texidoc,doctitle]
1337 {creating-metronome-marks-in-markup-mode.ly}
1339 詳細は @ref{Formatting text} を参照してください。
1345 @rglos{metronomic indication},
1346 @rglos{tempo indication},
1347 @rglos{metronome mark}
1350 @ref{Formatting text},
1354 @rlsr{Staff notation}
1357 @rinternals{MetronomeMark}
1361 @unnumberedsubsubsec 上拍
1362 @translationof Upbeats
1364 @cindex anacrusis (弱拍)
1366 @cindex partial measure (部分小節)
1367 @cindex measure, partial (部分小節)
1368 @cindex measure, pickup (ピックアップ小節)
1369 @cindex pickup measure (ピックアップ小節)
1371 @funindex measurePosition
1375 @emph{弱拍} や @emph{上拍} などのような部分小節またはピックアップ小節は、@c
1376 @code{\partial} コマンドを使って入力します:@c
1379 \partial @var{duration}
1383 @code{duration} は、最初の完全な長さを持つ小節の前に置かれる小節の長さです:
1385 @lilypond[quote,verbatim,relative=1]
1391 @var{duration} は、完全な長さを持つ小節より短い演奏時間であれば、@c
1394 @lilypond[quote,verbatim,relative=1]
1397 r4 e8 | a4 c8 b c4 |
1400 @code{\partial @var{duration}} を以下のように記述することもできます:
1403 \set Timing.measurePosition -@var{duration}
1406 この場合、@code{\partial 8} は以下のようになります:
1408 @lilypond[quote,verbatim,relative=1]
1410 \set Timing.measurePosition = #(ly:make-moment -1 8)
1414 プロパティ @code{measurePosition} は、@c
1415 ある時点でその小節はどれくらい演奏済みになっているかを示す有理数を保持します。@c
1416 このプロパティは @code{\partial} によって負の数にセットされるということに@c
1418 すなわち、@code{\partial 4} は内部的に @w{@code{-4}} に翻訳され、@c
1419 @qq{その小節には 4 分音符が残っている} という意味になります。
1429 @rlsrnamed{Rhythms,リズム}
1432 @rinternals{Timing_translator}
1436 @code{\partial} コマンドは楽曲の開始時でのみ使用すべきです。@c
1437 楽曲の途中でこのコマンドを使用した場合、@c
1438 警告や問題が発生する可能性があります。@c
1439 曲の途中では @code{\partial} の代わりに
1440 @code{\set Timing.measurePosition} を使用してください。
1442 @lilypond[quote,verbatim,relative=1]
1445 e8 | a4 c8 b[ c b] |
1446 \set Timing.measurePosition = #(ly:make-moment -1 4)
1447 r8 e,8 | a4 c8 b[ c b] |
1452 @unnumberedsubsubsec 無韻律の音楽
1453 @translationof Unmetered music
1455 @cindex bar lines, turning off (小節線を付けない)
1456 @cindex bar numbering, turning off (小節の付番を off にする)
1457 @cindex cadenza (カデンツァ)
1458 @cindex unmetered music (無韻律の音楽)
1460 @funindex \cadenzaOn
1462 @funindex \cadenzaOff
1463 @funindex cadenzaOff
1465 小節線と小節番号は自動的に算出されます。@c
1466 無韻律の音楽 (例えば、カデンツァの一部) では、この機能は望ましくありません。@c
1467 小節線と小節番号の自動算出を off にするには@c
1468 コマンド @code{\cadenzaOn} を使用し、@c
1469 再び on にするには @code{\cadenzaOff} を使用します。
1471 @lilypond[verbatim,relative=2,quote]
1474 c4 c d8[ d d] f4 g4.
1480 小節の付番は、カデンツァが存在しないかのように、@c
1483 @lilypond[verbatim,relative=2,quote]
1485 \override Score.BarNumber #'break-visibility = #all-visible
1488 c4 c d8[ d d] f4 g4.
1494 @cindex beams, in cadenzas (カデンツァでの連桁)
1495 @cindex beams, in unmetered music (無韻律の音楽での連桁)
1496 @cindex cadenza, with beams (カデンツァでの連桁)
1497 @cindex unmetered music, with beams (無韻律の音楽での連桁)
1499 自動連桁は @code{\cadenzaOn} で off になり、@c
1500 @code{\cadenzaOff} で on になります。@c
1501 このため、カデンツァ内の連桁はすべて手動で入力する必要があります
1504 @lilypond[verbatim,relative=2,quote]
1505 \repeat unfold 8 { c8 }
1507 \repeat unfold 5 { c8 }
1510 \repeat unfold 8 { c8 }
1514 たとえ @code{Voice} コンテキストの 1 つの中に配置したとしても、@c
1515 楽譜のすべての譜に影響を与えるということに注意してください。@c
1516 これを変更するには、@ref{多拍子記譜法} で示されているように、@c
1517 @code{Timing_translator} を @code{Score} コンテキストから
1518 @code{Staff} コンテキストに移動させます。
1531 @ref{Visibility of objects}
1534 @rlsrnamed{Rhythms,リズム}
1537 @cindex cadenza line breaks (カデンツァでの改行)
1538 @cindex cadenza page breaks (カデンツァでの改ページ)
1539 @cindex unmetered music, line breaks (無韻律の音楽での改行)
1540 @cindex unmetered music, page breaks (無韻律の音楽での改ページ)
1541 @cindex breaks in unmetered music (無韻律の音楽での改行、改ページ)
1542 @cindex line breaks in cadenzas (カデンツァでの改行)
1543 @cindex page breaks in cadenzas (カデンツァでの改ページ)
1544 @cindex line breaks in unmetered music (無韻律の音楽での改行)
1545 @cindex page breaks in unmetered music (無韻律の音楽での改ページ)
1549 LilyPond は改行と改ページを小節線の箇所にのみ挿入します。@c
1550 無韻律の音楽が譜の行の終わりまでに終了しないのならば、@c
1551 以下のように不可視の小節線を挿入して、@c
1552 改行または改ページを起こすことができる場所であることを示す必要があります:
1558 @code{\cadenzaOn} で楽曲を始める場合、@c
1559 @code{Voice} コンテキストを明示的に作成すべきです。@c
1560 さもないと、奇妙なエラーが発生する可能性があります。
1566 c16[^"Solo Free Time" d e f] g2.
1575 @unnumberedsubsubsec 多拍子記譜法
1576 @translationof Polymetric notation
1578 @c This section necessarily uses \set
1579 @c This is acceptable -td
1581 @cindex double time signatures (2 重拍子)
1582 @cindex signatures, polymetric (多拍子)
1583 @cindex time signatures, polymetric (多拍子)
1584 @cindex time signatures, double (2 重拍子)
1585 @cindex polymetric signatures (多拍子)
1586 @cindex meter, polymetric (多拍子)
1588 @funindex timeSignatureFraction
1589 @funindex \scaleDurations
1590 @funindex scaleDurations
1596 明示的な複合拍子と、拍子指定を変更して音符の演奏時間を@c
1597 伸縮することによる複合拍子のどちらもです。
1600 @subsubheading それぞれの譜は異なる拍子を持ち、小節の長さは等価である場合
1603 @code{timeSignatureFraction} にお望みの分数をセットします。@c
1604 それから、@code{\scaleDurations} 関数を用いて共通の拍子記号に対する
1607 @cindex beams, with polymetric meters (多拍子での連桁)
1608 @cindex polymetric meters, with beams (多拍子での連桁)
1610 以下の例では、拍子記号 3/4, 9/8, それに 10/8 の音楽が並列しています。@c
1611 2 番目の譜では示された演奏時間に 2/3 が掛けられ
1612 (なぜなら、2/3 * 9/8 = 3/4 だからです)、@c
1613 3 番目の譜では示された演奏時間に 3/5 が掛けられます
1614 (なぜなら、3/5 * 10/8 = 3/4 だからです)。@c
1615 演奏時間の伸縮は自動連桁の規則に影響を与えるため、@c
1616 手動で連桁を付ける必要があるかもしれません。
1618 @lilypond[quote,verbatim]
1627 \set Staff.timeSignatureFraction = #'(9 . 8)
1628 \scaleDurations #'(2 . 3)
1629 \repeat unfold 6 { c8[ c c] }
1633 \set Staff.timeSignatureFraction = #'(10 . 8)
1634 \scaleDurations #'(3 . 5) {
1635 \repeat unfold 2 { c8[ c c] }
1636 \repeat unfold 2 { c8[ c] } |
1637 c4. c \times 2/3 { c8[ c c] } c4
1644 @subsubheading それぞれの譜は異なる拍子を持ち、小節の長さは等価ではない場合
1646 @code{Timing_translator} と @code{Default_bar_line_engraver} を
1647 @code{Staff} コンテキストに移すことによって、@c
1648 それぞれの譜に独立した拍子を与えることができます。
1651 @lilypond[quote,verbatim]
1655 \remove "Timing_translator"
1656 \remove "Default_bar_line_engraver"
1660 \consists "Timing_translator"
1661 \consists "Default_bar_line_engraver"
1665 % 以上で、各譜はそれぞれに拍子を持つようになります
1689 @funindex \compoundMeter
1690 @cindex compound time signatures (複合拍子記号)
1691 @cindex time signature, compound
1693 @subsubheading 複合拍子記号
1695 複合拍子記号は @code{\compoundMeter} を用いて作成します。@c
1699 \compoundMeter #'@code{(list of lists)}
1702 最も簡単な構成は単一のリストであり、@c
1703 リストの @emph{最後の} 数字が拍子記号の分母になります。
1705 @lilypond[quote,verbatim]
1707 \compoundMeter #'((2 2 2 8))
1708 \repeat unfold 6 c8 \repeat unfold 12 c16
1712 リストを追加することでより複雑な拍子を構築することができます。@c
1713 また、この関数で指定された値に基づいて自動連桁の設定は調節されます。
1715 @lilypond[quote,verbatim]
1717 \compoundMeter #'((1 4) (3 8))
1718 \repeat unfold 5 c8 \repeat unfold 10 c16
1722 \compoundMeter #'((1 2 3 8) (3 4))
1723 \repeat unfold 12 c8
1730 @rglos{polymetric time signature},
1740 @rlsrnamed{Rhythms,リズム}
1743 @rinternals{TimeSignature},
1744 @rinternals{Timing_translator},
1745 @rinternals{Default_bar_line_engraver},
1750 異なる拍子を持つ譜が並列に並べられている場合、@c
1751 同時に起こる音符の水平方向の位置は同じになります。@c
1752 しかしながら、それぞれの譜の小節線により、@c
1753 音符の間隔は通常の異なる拍子が無い場合よりも不規則になります。
1757 @unnumberedsubsubsec 自動音符分割
1758 @translationof Automatic note splitting
1760 @cindex notes, splitting (音符を分割する)
1761 @cindex splitting notes (音符を分割する)
1762 @cindex rests, splitting (休符を分割する)
1763 @cindex splitting rests (休符を分割する)
1765 @funindex Note_heads_engraver
1766 @funindex Completion_heads_engraver
1767 @funindex Completion_rest_engraver
1769 小節線をまたがる長い音符を自動的にタイで結ばれた音符に変換することができます。@c
1770 これを行うには、@code{Note_heads_engraver} を @code{Completion_heads_engraver}
1772 同様に、小節線をまたがる長い休符を自動的に分割することができます。
1773 これを行うには、@code{Rest_engraver} を @code{Completion_rest_engraver}
1775 以下の例では、小節線をまたがる音符と休符は分割され、@c
1778 @lilypond[quote,verbatim,relative=1]
1780 \remove "Note_heads_engraver"
1781 \consists "Completion_heads_engraver"
1782 \remove "Rest_engraver"
1783 \consists "Completion_rest_engraver"
1786 { c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2 }
1789 これらのエングラーバは進行中の音符と休符をすべて小節線のところで分割して、@c
1791 これらのエングラーバの用途の 1 つに複雑な楽譜のデバッグがあります:
1792 何小節かで音符がきちんと満たされていない場合、@c
1793 このエングラーバで挿入されたタイが、それぞれの小節の狂いを示します。
1800 @rlearning{エングラーバの説明},
1801 @rlearning{エングラーバを追加 / 削除する}
1804 @rlsrnamed{Rhythms,リズム}
1807 @rinternals{Note_heads_engraver},
1808 @rinternals{Completion_heads_engraver},
1809 @rinternals{Rest_engraver},
1810 @rinternals{Completion_rest_engraver},
1811 @rinternals{Forbid_line_break_engraver}
1816 すべての演奏時間を通常の音符と付点で正確に表すことはできません
1817 (特に、連符を含んでいる場合) が、@c
1818 @code{Completion_heads_engraver} が連符を挿入することはありません。
1820 @code{Completion_heads_engraver} は音符にだけ作用します。@c
1825 @unnumberedsubsubsec 旋律のリズムを示す
1826 @translationof Showing melody rhythms
1828 @cindex melody rhythms, showing (旋律のリズムを示す)
1829 @cindex rhythms, showing melody (旋律のリズムを示す)
1831 しばしば旋律のリズムだけを示したいことがあります。@c
1832 これはリズム譜を使うことで達成できます。@c
1833 そのような譜上にある音符のピッチはすべて破棄され、その譜自体は 1 本の@c
1836 @lilypond[quote,relative=1,verbatim]
1838 \new RhythmicStaff {
1839 \new Voice = "myRhythm" {
1847 \lyricsto "myRhythm" {
1855 @cindex guitar chord charts (ギター コード表)
1856 @cindex strumming rhythms, showing (つま弾き (ストラム) のリズムを示す)
1857 @cindex guitar strumming rhythms, showing (ギターのつま弾き (ストラム) のリズムを示す)
1859 @funindex Pitch_squash_engraver
1860 @funindex \improvisationOn
1861 @funindex improvisationOn
1862 @funindex \improvisationOff
1863 @funindex improvisationOff
1865 ギター コード表はしばしばつま弾き (ストラム) のリズムを示します。@c
1866 これは @code{Pitch_squash_engraver} と @code{\improvisationOn} を@c
1870 @lilypond[quote,verbatim]
1878 \consists Pitch_squash_engraver
1891 @code{\improvisationOn},
1892 @code{\improvisationOff}
1898 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
1899 {guitar-strum-rhythms.ly}
1904 @rlsrnamed{Rhythms,リズム}
1907 @rinternals{RhythmicStaff},
1908 @rinternals{Pitch_squash_engraver}
1913 @translationof Beams
1924 @unnumberedsubsubsec 自動連桁
1925 @translationof Automatic beams
1927 デフォルトでは、連桁は自動的に挿入されます:
1929 @cindex beams, manual (手動連桁)
1930 @cindex manual beams (手動連桁)
1931 @cindex beams, customizing rules (連桁の規則をカスタマイズする)
1933 @funindex \autoBeamOn
1934 @funindex autoBeamOn
1935 @funindex \autoBeamOff
1936 @funindex autoBeamOff
1938 @lilypond[quote,verbatim,relative=2]
1940 \time 6/8 c8 c c c8. c16 c8
1943 自動的に決定される連桁が満足いかないものである場合、@c
1945 -- @ref{手動連桁} を参照してください。@c
1946 連桁を休符の上まで伸ばそうと意図しているのなら、@c
1947 連桁を手動で挿入する @emph{必要があります}。
1950 @code{\autoBeamOff} で off にすることができ、@c
1951 @code{\autoBeamOn} で on にすることができます:
1953 @lilypond[quote,relative=1,verbatim]
1954 c4 c8 c8. c16 c8. c16 c8
1961 @cindex melismata, with beams (メリスマの連桁)
1962 @cindex beams, with melismata (メリスマの連桁)
1964 @warning{歌曲の中でメリスマを表すために連桁を使用する場合、@c
1965 @code{\autoBeamOff} で自動連桁を off にして、手動で連桁を示すべきです。@c
1966 @code{@bs{}partcombine} を @code{@bs{}autoBeamOff} と一緒に@c
1967 用いると予期しない結果になる可能性があります。@c
1968 詳細はコード断片集を参照してください。}
1970 自動的に挿入されるデフォルトの連桁とは異なるパターンの連桁を@c
1972 -- @ref{自動連桁の振る舞いを設定する} を参照してください。
1975 @code{\autoBeamOff},
1979 @cindex beams, line breaks (連桁と改行)
1980 @cindex line breaks, beams (改行と連桁)
1982 @cindex beams, with knee gap
1983 @cindex knee gap, with beams
1988 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
1989 {beams-across-line-breaks.ly}
1991 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
1992 {changing-beam-knee-gap.ly}
1994 @cindex beams, \partcombine with \autoBeamOff (連桁と \autoBeamOff を伴う \partcombine)
1995 @cindex voices, \partcombine with \autoBeamOff (ボイスと \autoBeamOff を伴う \partcombine)
1997 @lilypondfile [verbatim, quote, ragged-right, texidoc, doctitle]
1998 {partcombine-and-autobeamoff.ly}
2003 @ref{自動連桁の振る舞いを設定する}
2006 @file{scm/auto-beam.scm}
2009 @rlsrnamed{Rhythms,リズム}
2012 @rinternals{Auto_beam_engraver},
2013 @rinternals{Beam_engraver},
2015 @rinternals{BeamEvent},
2016 @rinternals{BeamForbidEvent},
2017 @rinternals{beam-interface},
2018 @rinternals{unbreakable-spanner-interface}
2021 連桁のプロパティは連桁構築の開始時に決定され、@c
2022 その後から連桁の完了までの間に追加された連桁プロパティの変更は
2023 @emph{次の} 連桁から影響を与えます。
2026 @node 自動連桁の振る舞いを設定する
2027 @unnumberedsubsubsec 自動連桁の振る舞いを設定する
2028 @translationof Setting automatic beam behavior
2030 +@cindex beams, with lyrics (連桁と歌詞)
2031 +@cindex lyrics, with beams (歌詞と連桁)
2033 @funindex autoBeaming
2034 @funindex baseMoment
2035 @funindex beamExceptions
2036 @funindex beatStructure
2037 @funindex measureLength
2043 たいていの場合、自動連桁は拍の終わりで終了します。@c
2044 拍の終了点はコンテキスト プロパティ @code{baseMoment} と @code{beatStructure}
2046 @code{beatStructure} は @code{baseMoment} を単位とする小節の各拍の長さを@c
2047 定義する Scheme リストです。@c
2048 デフォルトでは、@code{baseMoment} は「1/拍子の分母」です。@c
2049 デフォルトでは、各拍の長さは @code{baseMoment} です。
2051 @lilypond[quote,relative=2,verbatim]
2053 c16^"default" c c c c |
2054 \set Timing.beatStructure = #'(2 3)
2055 c16^"(2+3)" c c c c |
2056 \set Timing.beatStructure = #'(3 2)
2057 c16^"(3+2)" c c c c |
2060 連桁の設定変更をある特定のテキストに限定することができます。@c
2061 下位コンテキストに連桁の設定が含まれない場合、@c
2062 そのコンテキストを囲んでいる上位コンテキストの設定が適用されます。
2064 @lilypond[quote, verbatim,relative=1]
2067 \set Staff.beatStructure = #'(2 3 2)
2077 \set Voice.beatStructure = #'(1 3 3)
2085 譜で複数のボイスが使用されている場合に@c
2086 連桁設定を譜のすべてのボイスに適用するには、@c
2087 @code{Staff} コンテキストで設定を行う必要があります:
2090 @lilypond[quote,verbatim,relative=2]
2093 % デフォルトで連桁設定の変更は Voice に適用され、うまくいきません
2094 % なぜなら、自動生成されるボイスで、すべての拍は baseMoment (1 . 8) だからです
2095 \set beatStructure = #'(3 1 1 2)
2096 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2098 % コンテキスト Staff を指定するとうまくいきます
2099 \set Staff.beatStructure = #'(3 1 1 2)
2100 << {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
2103 @code{baseMoment} の値を調整することで、@c
2104 連桁の振る舞いを変更することができます。@c
2105 @code{baseMoment} の値を変更した場合、@c
2106 @code{beatStructure} に新しい @code{baseMoment} と矛盾しない値を@c
2109 @lilypond[quote,verbatim,relative=2]
2111 \set Timing.baseMoment = #(ly:make-moment 1 16)
2112 \set Timing.beatStructure = #'(7 3)
2113 \repeat unfold 10 { a16 }
2116 @code{beatLength} は @i{moment} -- 演奏時間の単位 -- です。@c
2118 Scheme 関数 @code{ly:make-moment} によって作り出されます。@c
2119 この関数についての更なる情報は @ref{時間管理} を参照してください。
2121 デフォルトでは、@code{baseMoment} には「1/拍子の分母」がセットされています。@c
2122 このデフォルトの例外は @file{scm/time-signature-settings.scm} で見つかります。
2124 特殊な自動連桁規則 (連桁の終わりが拍に従わないもの) はプロパティ
2125 @code{beamExceptions} に定義します。
2128 @lilypond[quote,relative=2,verbatim]
2130 \set Timing.beatStructure = #'(2 1)
2131 \set Timing.beamExceptions =
2133 (end . ;entry for end of beams
2134 ( ;start of alist of end points
2135 ((1 . 32) . (2 2 2)) ;rule for 1/32 beams -- end each 1/16
2136 ))) %close all entries
2138 \repeat unfold 6 { c32 } |
2141 @code{beamExceptions} は規則タイプのキーと連桁規則の値を持つ配列リストです。
2143 現時点で、利用可能な唯一の規則タイプの値は、@c
2144 連桁の終わりのための @code{'end} です。
2146 連桁規則は、連桁タイプとその連桁タイプの最短演奏時間の音符を保持する連桁に@c
2147 適用されるグループ化の仕方を示す Scheme 配列リスト (あるいはペアのリスト) です。
2150 #'((beam-type1 . grouping-1)
2151 (beam-type2 . grouping-2)
2152 (beam-type3 . grouping-3))
2155 連桁タイプは、その連桁の演奏時間を示す Scheme ペアであり、@c
2156 例えば @code{(1 . 16)} です。
2158 @warning{@code{beamExceptions} の値は @emph{完全な} 例外リストである@c
2160 つまり、その設定には適用されるべき例外がすべて含まれている必要があります。@c
2161 例外の 1 つだけを追加、削除、変更することはできません。@c
2162 このことは扱い難いように思えるかもしれませんが、@c
2163 新しい連桁パターンを指定する際に現在の連桁設定を知る必要がないということを@c
2166 拍子が変更されると、@code{Timing.baseMoment}, @code{Timing.beatStructure},
2167 それに @code{Timing.beamExceptions} のデフォルト値が設定されます。@c
2168 拍子を設定すると、その @code{Timing} コンテキストの自動連桁設定は@c
2169 デフォルトの振る舞いにリセットされます。
2172 @lilypond[quote,verbatim,relative=2]
2174 \repeat unfold 6 { a8 }
2176 \set Timing.beatStructure = #'(4 2)
2177 \repeat unfold 6 { a8 }
2180 \repeat unfold 6 { a8 }
2183 ある拍子に対するデフォルトの自動連桁設定は @file{scm/beam-settings.scm}
2185 ある拍子に対する自動連桁のデフォルト設定を変更する方法は
2189 @code{beamExceptions} が登録されています。@c
2190 例えば、4/4 拍子は 16 分音符しかない小節を 2 つの連桁で囲もうとします。@c
2191 @code{beamExceptions} がリセットされていなければ、@c
2192 @code{beamExceptions} 規則は @code{beatStructure} 設定を@c
2196 @lilypond[quote,verbatim,relative=2]
2198 \set Timing.baseMoment = #(ly:make-moment 1 8)
2199 \set Timing.beatStructure = #'(3 3 2)
2200 % 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
2201 \repeat unfold 8 {c8} |
2202 % 以下は beamExceptions をクリアするため、(3 3 2) の連桁になります
2203 \set Timing.beamExceptions = #'()
2204 \repeat unfold 8 {c8}
2207 同様に、デフォルトで 8 分音符のみの 3/4 拍子の小節は 1 つの連桁で囲まれます。@c
2208 3/4 拍子での 8分音符を拍毎に連桁で囲むには、@c
2209 @code{beamExceptions} をリセットします。
2212 @lilypond[quote,verbatim,relative=2]
2214 % デフォルトでは beamExceptions のため、(6) の連桁になります
2215 \repeat unfold 6 {a8} |
2216 % 以下は beatLength のため、(1 1 1) の連桁になります
2217 \set Timing.beamExceptions = #'()
2218 \repeat unfold 6 {a8}
2221 @i{@strong{自動連桁はどのように機能するのか}}
2223 自動連桁が有効である場合、自動連桁の配置はコンテキスト プロパティ
2224 @code{baseMoment}, @code{beatStructure}, それに @code{beamExceptions}
2227 連桁の配置を決定する際、以下の規則が並び順の優先度で適用されます:
2231 @item @code{[..]} で手動連桁が指定されている場合、@c
2236 その連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2238 その規則を用いて連桁を終了させる位置を決定します。@c
2242 もっと長い連桁タイプに対する @code{beamExceptions} に連桁終了規則が@c
2244 その規則を用いて連桁を終了させる位置を決定します。@c
2248 @code{baseMoment} と @code{beatStructure} の値を用いて@c
2254 上記の規則で、@emph{連桁タイプ} は連桁でグループ化された音符の最短演奏時間です。
2256 デフォルトの連桁規則は @file{scm/time-signature-settings.scm} の中にあります。
2260 @cindex beams, subdividing (連桁をサブ グループ化する)
2262 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2263 {subdividing-beams.ly}
2266 @cindex beamlets, orienting
2268 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2269 {strict-beat-beaming.ly}
2271 @cindex measure groupings (小節をグループ化する)
2272 @cindex beats, grouping (拍をグループ化する)
2273 @cindex grouping beats (拍をグループ化する)
2274 @cindex measure sub-grouping (小節をサブ グループ化する)
2276 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2277 {conducting-signs,-measure-grouping-signs.ly}
2279 @cindex beam, endings in a score (楽譜の終わりでの連桁)
2280 @cindex beam, endings with multiple voices (複数のボイスの終わりでの連桁)
2282 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2283 {beam-endings-in-score-context.ly}
2288 @file{scm/beam-settings.scm}
2294 @rinternals{Auto_beam_engraver},
2296 @rinternals{BeamForbidEvent},
2297 @rinternals{beam-interface}
2301 自動連桁が終了しておらず、まだ音符を受け付けている最中に楽譜が終了する場合、@c
2302 その最後の連桁はまったく譜刻されません。@c
2303 @code{<< @dots{} \\ @dots{} >>} で入力される多声ボイスでも同様です。@c
2304 自動連桁がまだ音符を受け付けている最中に多声ボイスが終了する場合、@c
2305 その最後の連桁はまったく譜刻されません。@c
2306 ボイスや楽譜の最後の連桁には手動で連桁を付けることにより、@c
2309 デフォルトでは、@code{Timing} コンテキストは @code{Score} コンテキストに@c
2311 このことは、ある譜で拍子の設定を行うと、@c
2312 他の譜での連桁の付け方にも影響を与えると言うことを意味します。@c
2313 このため、後で出てくる譜で拍子の設定を行うと、@c
2314 前にある譜でセットしたカスタム連桁はリセットされます。@c
2315 この問題を回避する方法の 1 つは、拍子の設定は 1 つの譜でしか行わないことです。
2317 @lilypond[quote,verbatim,relative=2]
2321 \set Timing.baseMoment = #(ly:make-moment 1 8)
2322 \set Timing.beatStructure = #'(1 5)
2323 \repeat unfold 6 { a8 }
2326 \repeat unfold 6 { a8 }
2331 拍子に対するデフォルトの連桁設定を変更することで、@c
2332 常にお望みの連桁を使うこともできます。@c
2333 ある拍子に対する自動連桁設定を変更する方法は @ref{拍子} で説明しています。
2335 @lilypond[quote,verbatim,relative=2]
2338 \overrideTimeSignatureSettings
2339 #'(3 . 4) % timeSignatureFraction
2340 #'(1 . 8) % baseMomentFraction
2341 #'(1 5) % beatStructure
2342 #'() % beamExceptions
2344 \repeat unfold 6 { a8 }
2348 \repeat unfold 6 { a8 }
2355 @unnumberedsubsubsec 手動連桁
2356 @translationof Manual beams
2358 @cindex beams, manual (手動連桁)
2359 @cindex manual beams (手動連桁)
2364 自動連桁アルゴリズムをオーバライドする必要がある場合もあります。@c
2365 例えば、自動連桁は休符や小節線を越えて連桁を配置することはなく、@c
2366 合唱譜では連桁はしばしば音符ではなく歌詞の韻律に従って配置されます。@c
2367 そのような連桁は @code{[} と @code{]} で開始点と終了点を記すことによって@c
2370 @lilypond[quote,relative=1,verbatim]
2371 r4 r8[ g' a r] r g[ | a] r
2374 @cindex manual beams, direction shorthand for (手動連桁の向きを指定する短縮記譜法)
2375 @cindex manual beams, grace notes (装飾小音符の手動連桁)
2377 方向指示子を用いることで、連桁の向きを手動で設定することができます:
2379 @lilypond[quote,relative=2,verbatim]
2380 c8^[ d e] c,_[ d e f g]
2386 連桁でつながれないようにするために、個々の音符には
2387 @code{\noBeam} が記されるかもしれません:
2389 @lilypond[quote,verbatim,relative=2]
2394 装飾小音符の連桁と通常の音符の連桁は同時進行で発生します。@c
2395 通常の音符の連桁の途中に、連桁でつながれない装飾小音符は配置されません。
2397 @lilypond[quote,verbatim,relative=2]
2399 \grace { e32[ d c d] }
2405 @funindex stemLeftBeamCount
2406 @funindex stemRightBeamCount
2408 プロパティ @code{stemLeftBeamCount} と @code{stemRightBeamCount} を@c
2409 セットすることによって連桁をさらに厳密に手動制御することが可能です。@c
2410 これらの値はそれぞれ、次の音符の左側と右側に描く連桁の本数を指定します。@c
2411 どちらかのプロパティがセットされている場合、その値は 1 度だけ使用され、@c
2413 以下の例では、最後の @code{f} は左側に連桁を 1 本だけ持って
2414 -- すなわち、グループ全体をつなげている 8 分音符の連桁を持って --
2417 @lilypond[quote,relative=2,verbatim]
2420 \set stemLeftBeamCount = #2
2421 \set stemRightBeamCount = #1
2423 \set stemLeftBeamCount = #1
2434 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2435 {flat-flags-and-beam-nibs.ly}
2440 @ref{Direction and placement},
2448 @rinternals{BeamEvent},
2449 @rinternals{Beam_engraver},
2450 @rinternals{beam-interface},
2451 @rinternals{Stem_engraver}
2455 @unnumberedsubsubsec 羽状の連桁
2456 @translationof Feathered beams
2458 @cindex beams, feathered (羽状の連桁)
2459 @cindex feathered beams (羽状の連桁)
2461 @funindex \featherDurations
2462 @funindex featherDurations
2463 @funindex grow-direction
2465 羽状の連桁は、楽曲全体のテンポを変えることなく、音符の小さなグループを@c
2466 テンポを上げながら (あるいは下げながら) 演奏すべきであることを示すために@c
2468 羽状連桁の範囲は @code{[} と @code{]} を使って手動で指定する必要があり、@c
2469 連桁の羽は @code{Beam} のプロパティ @code{grow-direction} に向きを@c
2470 指定することによって調整することができます。
2472 音符の配置と MIDI 出力での音が羽状連桁によって指示された
2473 ritardando (徐々に緩やかに) や accelerando (次第に速く) を@c
2475 音符は波括弧で区切られた音楽表記としてグループ化される必要があり、@c
2476 さらに、そのグループの最初の音符と最後の音符の演奏時間の比率を指定する
2477 @code{featheredDurations} コマンドを前に置く必要があります。
2480 波括弧は演奏時間を変更される音符はどれなのかを示します。@c
2481 通常これら 2 つは同じ音符のグループを囲みますが、@c
2485 以下の例では、8 つの 16 分音符は 2 分音符とまったく同じ時間を占めますが、@c
2486 最初の音符の長さは最後の音符の長さの半分であり、@c
2488 最初の 4 つの 32 分音符は徐々にスピード アップしますが、@c
2489 最後の 4 つの 32 分音符は一定のテンポです。
2491 @lilypond[relative=1,verbatim,quote]
2492 \override Beam #'grow-direction = #LEFT
2493 \featherDurations #(ly:make-moment 2 1)
2494 { c16[ c c c c c c c] }
2495 \override Beam #'grow-direction = #RIGHT
2496 \featherDurations #(ly:make-moment 2 3)
2498 % revert to non-feathered beams
2499 \override Beam #'grow-direction = #'()
2504 譜刻される音符の間隔は音符の演奏時間を近似的に表しているだけですが、@c
2509 @code{\featherDurations}
2519 @code{\featherDurations} は非常に短い音楽コード断片に対してだけ、@c
2520 そして分数の数が小さいときにだけ機能します。
2525 @rlsrnamed{Rhythms,リズム}
2541 @unnumberedsubsubsec 小節線
2542 @translationof Bar lines
2544 @cindex bar lines (小節線)
2545 @cindex measure lines (小節線)
2546 @cindex closing bar lines (閉じの小節線)
2547 @cindex bar lines, closing (閉じの小節線)
2548 @cindex double bar lines (2 重小節線)
2549 @cindex bar lines, double (2 重小節線)
2550 @cindex repeat bars (繰り返しの小節線)
2555 小節線は小節を区切り、繰り返しを示すためにも使用されます。@c
2556 通常、単線の小節線が拍子に基づいて出力に自動的に挿入されます。
2559 @code{\bar} コマンドで他のタイプに変更することができます。@c
2560 例えば、通常、2 重線の閉じの小節線が楽曲の最後に配置されます:
2562 @lilypond[quote,relative=1,verbatim]
2566 ある小節の最後の音符が、自動的に挿入される小節線の所で終わっていなくても@c
2568 その音符は次の小節に持ち越されるものと見なされます。@c
2569 しかしながら、そのような持ち越しのある小節がいくつも続く場合、@c
2570 その音楽は圧縮されて表示される可能性があり、@c
2571 ページからはみ出す可能性さえあります。@c
2573 -- つまり、小節の終端ですべての音符が終わっている小節 --
2576 @warning{誤った演奏時間の指定は改行を抑制し、結果として@c
2577 非常に圧縮された楽譜やページからはみ出す楽譜の原因となります。}
2579 @cindex line breaks (改行)
2580 @cindex bar lines, invisible (不可視の小節線)
2581 @cindex measure lines, invisible (不可視の小節線)
2584 -- たとえ、その小節が不完全であっても --
2586 小節線を譜刻せずに改行を可能にするには、以下を使用します:
2594 そこで改行が発生することを可能にします (強制はしません)。@c
2596 強制的に改行を行うには、@ref{Line breaking} を参照してください。
2598 @cindex manual bar lines (手動の小節線)
2599 @cindex manual measure lines (手動の小節線)
2600 @cindex bar lines, manual (手動の小節線)
2601 @cindex measure lines, manual (手動の小節線)
2603 不可視の小節線と他の特殊な小節線は任意の位置に手動で挿入することができます。@c
2604 それらの小節線の位置がある小節の終わりと一致する場合、@c
2605 それらの小節線はそこに自動で挿入されるはずだった単線の小節線に@c
2607 小節の終わりと一致しない場合、指定された小節線がその位置に挿入されます。@c
2609 手動の小節線は純粋に視覚的なものです。@c
2610 それらは通常の小節線が影響を与えるプロパティ
2611 -- 小節番号、臨時記号、改行など --
2613 手動の小節線はその後に続く自動小節線の算出や配置に影響を与えません。@c
2614 自動小節線がすでに存在する場所に手動小節線が配置されても、@c
2617 手動で挿入できる小節線として、単線の小節線は 2 種類あり、@c
2620 @lilypond[quote,relative=1,verbatim]
2634 @lilypond[quote,relative=1,verbatim]
2641 さらに、繰り返しの小節線が 5 種類あります:
2643 @lilypond[quote,relative=1,verbatim]
2653 Additionally, a bar line can be printed as a simple tick:
2654 @lilypond[quote,relative=1,verbatim]
2657 However, as such ticks are typically used in Gregorian chant, it is preferable
2658 to use @code{\divisioMinima} there instead, described in the section
2659 @ref{Divisiones} in Gregorian chant.
2661 @cindex segno (セーニョ)
2663 行内のセーニョ記号として、3 タイプの小節線があり、@c
2666 @lilypond[quote,relative=2,verbatim]
2682 @cindex repeats (繰り返し)
2684 繰り返しを表す小節線は手動で挿入される場合がありますが、@c
2685 それらの小節線自体は LilyPond に繰り返されるセクションを@c
2688 さまざまな繰り返しのコマンドを使って入力した方が良いです
2689 (@ref{Repeats} を参照してください)。@c
2690 繰り返しのコマンドは自動的に適切な小節線を譜刻します。
2692 さらに、@code{"||:"} を使用することができます。@c
2693 これは @code{"|:"} と等価ですが、例外として改行位置では、@c
2694 この小節線は行の終わりに 2 重線の小節線を置き、@c
2695 次の行の始めに繰り返し開始の小節線を置きます。
2697 @lilypond[quote,relative=2,verbatim]
2705 繰り返しとセーニョ記号の組み合わせは 6 種類あります:
2707 @lilypond[quote,relative=2,verbatim]
2736 多くの譜を持つ楽譜では、ある譜の @code{\bar} コマンドは@c
2738 結果として、@code{StaffGroup}, @code{PianoStaff}, あるいは
2739 @code{GrandStaff} では、小節線は譜をまたがって 1 本に接続されます。
2741 @lilypond[quote,relative=1,verbatim]
2749 \new Staff { \clef bass c4 g e g }
2751 \new Staff { \clef bass c2 c2 }
2756 @cindex default bar lines, changing (デフォルトの小節線を変更する)
2757 @cindex bar lines, default, changing (デフォルトの小節線を変更する)
2762 @funindex defaultBarType
2767 コマンド @code{\bar }@var{bartype} は
2768 @samp{\set Timing.whichBar = @var{bartype}} の短縮記法です。@c
2769 @code{whichBar} プロパティがセットされるといつでも小節線が作成されます。
2771 自動的に挿入される小節線に使用されるデフォルトの@c
2772 小節線タイプは @code{"|"} です。@c
2773 これは @samp{\set Timing.defaultBarType = @var{bartype}} でいつでも@c
2779 @ref{Line breaking},
2781 @ref{Grouping staves}
2784 @rlsrnamed{Rhythms,リズム}
2787 @rinternals{BarLine} (@rinternals{Staff} の階層で作成されます),
2788 @rinternals{SpanBar} (譜をまたぎます),
2789 @rinternals{Timing_translator} (@code{Timing} プロパティ用です)
2793 @unnumberedsubsubsec 小節番号
2794 @translationof Bar numbers
2796 @cindex bar numbers (小節番号)
2797 @cindex measure numbers (小節番号)
2798 @cindex numbers, bar (小節番号)
2799 @cindex numbers, measure (小節番号)
2801 @funindex currentBarNumber
2803 小節番号は、デフォルトでは、最初の行を除く各行の開始点で譜刻されます。@c
2804 番号自体は @code{currentBarNumber} プロパティに保存されていて、@c
2805 通常は各小節で自動的に更新されます。@c
2806 小節番号を手動で設定することも可能です:
2808 @lilypond[verbatim,quote,fragment,relative=1]
2811 \set Score.currentBarNumber = #50
2815 @cindex bar numbers, regular spacing 規則的な間隔で小節番号を譜刻する
2817 @funindex barNumberVisibility
2820 小節番号は、各行の開始点に配置する代わりに、規則的な間隔で@c
2822 このようにするには、小節番号を行の開始点以外の位置に譜刻できるよう、@c
2823 デフォルトの振る舞いをオーバライドする必要があります。@c
2824 これは @code{BarNumber} の @code{break-visibility} プロパティによって@c
2827 -- 3 つの値は、対応する小節番号を可視にするかしないかを指定するために、@c
2828 @code{#t} または @code{#f} にセットされます。@c
2829 3 つの値の順番は、@code{end of line visible},
2830 @code{middle of line visible}, @code{beginning of line visible}
2831 (行の終了点での可視性、行の途中での可視性、行の開始点での可視性) です。@c
2832 以下の例では、譜刻可能な場所すべてに小節番号を譜刻しています:
2834 @lilypond[verbatim,quote,relative=1]
2835 \override Score.BarNumber #'break-visibility = #'#(#t #t #t)
2836 \set Score.currentBarNumber = #11
2837 % Permit first bar number to be printed
2846 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2847 {printing-the-bar-number-for-the-first-measure.ly}
2849 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2850 {printing-bar-numbers-at-regular-intervals.ly}
2852 @cindex measure number, format (小節番号のフォーマット)
2853 @cindex bar number, format (小節番号のフォーマット)
2855 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2856 {printing-bar-numbers-inside-boxes-or-circles.ly}
2858 @cindex bar numbers, with letters (文字付きの小節番号)
2859 @cindex bar numbers, with repeats (繰り返しの小節番号)
2861 @lilypondfile[verbatim,quote,texidoc,doctitle]
2862 {alternative-bar-numbering.ly}
2864 @cindex bar number alignment (小節番号を揃える)
2866 @lilypondfile[verbatim,quote,texidoc,doctitle]
2867 {aligning-bar-numbers.ly}
2869 @lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
2870 {removing-bar-numbers-from-a-score.ly}
2875 @rlsrnamed{Rhythms,リズム}
2878 @rinternals{BarNumber},
2879 @rinternals{Bar_number_engraver}
2882 @cindex bar number collision (小節番号の衝突)
2883 @cindex collision, bar number (小節番号の衝突)
2886 小節番号は @code{StaffGroup} の左括弧の上端と衝突する可能性があります。@c
2887 これを解決するには、@code{BarNumber} の @code{padding} プロパティを@c
2888 使って小節番号を適切な位置に配置します。@c
2889 詳細は @rinternals{StaffGroup} と @rinternals{BarNumber} を参照してください。
2893 @unnumberedsubsubsec 小節と小節番号のチェック
2894 @translationof Bar and bar number checks
2896 @cindex bar check (小節チェック)
2897 @cindex bar number check (小節番号チェック)
2898 @cindex measure check (小節チェック)
2899 @cindex measure number check (小節番号チェック)
2901 @funindex barCheckSynchronize
2904 小節チェックは入力された演奏時間の誤りを検出する手助けをします。@c
2905 小節チェックは、小節線が書き込まれると予想される場所ならどこにでも、@c
2906 小節記号 @code{|} を使うことで挿入できます。@c
2907 他の場所で小節チェックの線に遭遇した場合、警告のリストがログ ファイルに@c
2908 書き込まれ、小節チェックに失敗した行番号と行を示します。@c
2909 次の例では、2 番目の小節チェックがエラーを発します。
2912 \time 3/4 c2 e4 | g2 |
2915 歌詞でも小節チェックを使用することができます。@c
2921 Twin -- kle | Twin -- kle |
2925 正しくない演奏時間は滅茶苦茶な楽譜を生成する可能性があります
2926 -- 特にその楽譜が多声である場合はそうなる可能性があります。@c
2928 まずざっと見て失敗した小節チェックと演奏時間の誤りを探すと良いでしょう。
2930 連続する小節チェックは同じ音楽的間隔で off になり、@c
2931 最初の警告メッセージだけが表示されます。@c
2932 これにより、警告の焦点がタイミング エラーの発生源に絞られます。
2936 @funindex pipeSymbol
2938 入力の中で小節チェックあるいはパイプ記号 @code{|} に遭遇した場合にとられる@c
2939 アクションを再定義することも可能です。@c
2940 これにより、小節チェック以外のことを行うことができます。@c
2941 再定義は音楽表記を @code{pipeSymbol} に代入することによって行います。@c
2942 以下の例では、@code{|} は小節の終わりをチェックするのではなく、@c
2943 それが現れた場所に 2 重線の小節線を挿入するようセットされています。
2945 @lilypond[quote,verbatim]
2946 pipeSymbol = \bar "||"
2955 @funindex \barNumberCheck
2956 @funindex barNumberCheck
2958 大きな楽曲をコピーしている場合、LilyPond の小節番号と@c
2959 コピー元のオリジナルの小節番号の対応をチェックすると役に立ちます。@c
2960 この対応は @code{\barNumberCheck} によってチェックすることができます。@c
2964 \barNumberCheck #123
2968 を使用すると、@code{currentBarNumber} が処理された時に 123 でなければ、@c
2974 @rlsrnamed{Rhythms,リズム}
2978 @unnumberedsubsubsec リハーサル記号
2979 @translationof Rehearsal marks
2981 @cindex rehearsal marks (リハーサル記号)
2982 @cindex mark, rehearsal (リハーサル記号)
2987 リハーサル記号を譜刻するには、@code{\mark} コマンドを使用します:
2989 @lilypond[quote,verbatim,relative=2]
2997 @code{\mark \default} を使用するとリハーサル記号は自動的に +1 されますが、@c
2998 手動で整数をリハーサル記号にセットすることもできます。@c
2999 セットした値は @code{rehearsalMark} に保存されます。
3001 @lilypond[quote,verbatim,relative=2]
3010 文字@tie{}@q{I} は、譜刻の慣習に従って、スキップされます。@c
3011 文字@tie{}@q{I} を含めたければ、@c
3012 リハーサル記号のスタイル (文字のみ、四角で囲まれた文字、丸で囲まれた文字)
3013 に合わせて以下のコマンドの 1 つを使用します:
3016 \set Score.markFormatter = #format-mark-alphabet
3017 \set Score.markFormatter = #format-mark-box-alphabet
3018 \set Score.markFormatter = #format-mark-circle-alphabet
3021 @lilypond[quote,verbatim,relative=2]
3022 \set Score.markFormatter = #format-mark-box-alphabet
3030 @cindex rehearsal mark format (リハーサル記号のフォーマット)
3031 @cindex rehearsal mark style (リハーサル記号のスタイル)
3032 @cindex style, rehearsal mark (リハーサル記号のスタイル)
3033 @cindex format, rehearsal mark (リハーサル記号のフォーマット)
3034 @cindex mark, rehearsal, style (リハーサル記号のスタイル)
3035 @cindex mark, rehearsal, format (リハーサル記号のフォーマット)
3036 @cindex rehearsal mark, manual (手動でリハーサル記号をセットする)
3037 @cindex mark, rehearsal, manual (手動でリハーサル記号をセットする)
3038 @cindex custom rehearsal mark (リハーサル記号のカスタム)
3039 @cindex manual rehearsal mark (手動のリハーサル記号)
3041 スタイルはプロパティ @code{markFormatter} によって定義されます。@c
3042 これは引数としてカレントの記号 (整数) とカレントのコンテキストをとる関数です。@c
3043 この関数はマークアップ オブジェクトを返します。@c
3044 以下の例では、@code{markFormatter} には定義済みの手続きがセットされています。@c
3045 数小節後では、四角で囲まれた番号を作り出す手続きがセットされています。
3047 @lilypond[quote,verbatim,relative=2]
3048 \set Score.markFormatter = #format-mark-numbers
3051 \set Score.markFormatter = #format-mark-box-numbers
3053 \set Score.markFormatter = #format-mark-circle-numbers
3055 \set Score.markFormatter = #format-mark-circle-letters
3059 ファイル @file{scm/translation-functions.scm} は
3060 @code{format-mark-numbers} (デフォルトのフォーマット),
3061 @code{format-mark-box-numbers}, @code{format-mark-letters} それに
3062 @code{format-mark-box-letters} の定義を保持しています。@c
3063 これらを参考にして他のフォーマット関数を作り出すこともできます。
3065 加算された数字や文字の代わりに小節番号を取得するために
3066 @code{format-mark-barnumbers}, @code{format-mark-box-barnumbers}, それに
3067 @code{format-mark-circle-barnumbers} を使うことがあります。
3069 リハーサル記号の他のスタイルを手動で指定することができます:
3076 @code{Score.markFormatter} はこの方法で指定された記号に影響を与えません。@c
3077 しかしながら、文字列として @code{\markup} 使用することができます。
3080 \mark \markup@{ \box A1 @}
3083 @cindex segno (セーニョ)
3085 @cindex D.S al Fine (ここで曲の先頭に戻り、Fine で終わる)
3086 @cindex fermata (フェルマータ)
3087 @cindex music glyphs (音楽的図柄)
3088 @cindex glyphs, music (音楽的図柄)
3090 @funindex \musicglyph
3091 @funindex musicglyph
3093 音楽的図柄 (セーニョ記号など) を @code{\mark} の中に譜刻することができます:
3095 @lilypond[quote,verbatim,relative=1]
3096 c1 \mark \markup { \musicglyph #"scripts.segno" }
3097 c1 \mark \markup { \musicglyph #"scripts.coda" }
3098 c1 \mark \markup { \musicglyph #"scripts.ufermata" }
3103 @code{\musicglyph} を使用して譜刻できる記号のリストは、@c
3104 @ref{The Feta font} を参照してください。
3106 リハーサル記号の配置の一般的な調整については、@c
3107 @ref{Formatting text} を参照してください。@c
3109 @ref{Aligning objects} の @code{break-alignable-interface} を参照してください。
3114 @ref{The Feta font},
3115 @ref{Formatting text},
3116 @ref{Aligning objects}
3119 @file{scm/translation-functions.scm} は @code{format-mark-numbers} と
3120 @code{format-mark-letters} の定義を保持しています。@c
3121 ここにある定義を参考にして他のフォーマット関数を作り出すことができます。
3124 @rlsrnamed{Rhythms,リズム}
3127 @rinternals{MarkEvent},
3128 @rinternals{Mark_engraver},
3129 @rinternals{RehearsalMark}
3133 @subsection 特殊なリズム関連事項
3134 @translationof Special rhythmic concerns
3144 @unnumberedsubsubsec 装飾小音符
3145 @translationof Grace notes
3147 @cindex ornaments (装飾音)
3148 @cindex grace notes (装飾小音符)
3149 @cindex appoggiatura (アッポジャトゥーラ)
3150 @cindex acciaccatura (アッチャカトゥーラ)
3153 @funindex \slashedGrace
3154 @funindex \acciaccatura
3155 @funindex \appoggiatura
3157 装飾小音符は装飾の音であり、小さなフォントで表示され、@c
3160 @lilypond[quote,relative=2,verbatim]
3162 \grace { b16[ c16] } a2)
3165 装飾音符には他にも 3 つのタイプがあります。@c
3166 @emph{acciaccatura} (長さを持たない装飾小音符で、@c
3167 スラーでつなげられるスラッシュ付きの符幹を持つ音符) と、
3168 @emph{appoggiatura} (一定の比率で主音符から演奏時間を取り、@c
3170 スラーで結ばれた主音符の間に装飾小音符を配置するために、@c
3171 @code{\slashedGrace} 関数を用いて、
3172 @emph{acciaccatura} のようにスラッシュ付きの符幹を持つが@c
3173 スラーは付かない装飾小音符を譜刻することもできます。
3175 Lilypond はさらに 2 つ特殊なタイプの装飾小音符をサポートします:
3176 @emph{acciaccatura} (長さを持たない装飾小音符で、@c
3177 スラッシュ付きの符幹を持つスラーでつなげられる小さな音符) と
3178 @emph{appoggiatura} (一定の比率で主音符から演奏時間をとり、@c
3179 スラッシュを持たない小さな音符で譜刻されます) です。
3181 @lilypond[quote,relative=2,verbatim]
3184 \acciaccatura { g16[ f] } e2
3185 \slashedGrace a,8 g4
3186 \slashedGrace b16 a4(
3187 \slashedGrace b8 a2)
3190 装飾小音符の配置は他の譜と同期されます。@c
3191 以下の例では、8 分の装飾小音符 1 つに対して 2 つの 16 分装飾小音符が@c
3194 @lilypond[quote,relative=2,verbatim]
3196 \new Staff { e2 \grace { c16[ d e f] } e2 }
3197 \new Staff { c2 \grace { g8[ b] } c2 }
3201 @cindex grace notes, following (装飾小音符を後ろに配置する)
3203 @funindex \afterGrace
3204 @funindex afterGrace
3206 装飾小音符で記譜を終えたいのならば、@c
3207 @code{\afterGrace} コマンドを使用します。@c
3208 このコマンドは 2 つの引数をとります:
3209 主音符と主音符の後に続く装飾小音符です。
3211 @lilypond[quote,verbatim,relative=2]
3212 c1 \afterGrace d1 { c16[ d] } c1
3215 これは主音符の長さの 3/4 のスペースをとった後に@c
3217 デフォルトの分数 3/4 は @code{afterGraceFraction} を設定することにより@c
3219 以下の例では、スペースをデフォルト、主音符の 15/16、最後は 1/2 に@c
3222 @lilypond[quote,verbatim,relative=2]
3225 c1 \afterGrace d1 { c16[ d] } c1
3228 #(define afterGraceFraction (cons 15 16))
3229 c1 \afterGrace d1 { c16[ d] } c1
3232 #(define afterGraceFraction (cons 1 2))
3233 c1 \afterGrace d1 { c16[ d] } c1
3238 主音符と装飾小音符の間のスペースは空白音符を使って@c
3240 以下の例では、主音符の長さの 7/8 のスペースをとった後に装飾小音符を@c
3243 @lilypond[quote,verbatim,relative=2]
3247 { s2 s4. \grace { c16[ d] } }
3253 @cindex tweaking grace notes (装飾小音符を調整する)
3254 @cindex grace notes, tweaking (装飾小音符を調整する)
3255 @cindex grace notes, changing layout settings (装飾小音符のレイアウト設定を変更する)
3257 @code{\grace} 音楽表記は特殊な譜刻設定を導入します
3258 -- 例えば、小さなフォントを作り出し、向きを設定するためです。@c
3259 それゆえ、装飾小音符の特殊な設定をオーバライドするために@c
3261 調整は装飾小音符の表記の中に置くべきです。@c
3262 さらに、そのオーバライドは装飾小音符の表記の中で元に戻しておくべきです。@c
3263 以下の例では、装飾小音符の符幹のデフォルトの向きがオーバライドされ、@c
3266 @lilypond[quote,verbatim,relative=2]
3278 @cindex stem, with slash (スラッシュ付きの符幹)
3283 @lilypondfile[verbatim,quote,texidoc,doctitle]
3284 {using-grace-note-slashes-with-normal-heads.ly}
3286 @lilypondfile[verbatim,quote,texidoc,doctitle]
3287 {tweaking-grace-layout-within-music.ly}
3289 @lilypondfile[verbatim,quote,texidoc,doctitle]
3290 {redefining-grace-note-global-defaults.ly}
3292 @lilypondfile[verbatim,quote,texidoc,doctitle]
3293 {positioning-grace-notes-with-floating-space.ly}
3298 @rglos{grace notes},
3299 @rglos{acciaccatura},
3300 @rglos{appoggiatura}
3306 @file{ly/grace-init@/.ly}
3309 @rlsrnamed{Rhythms,リズム}
3312 @rinternals{GraceMusic},
3313 @rinternals{Grace_beam_engraver},
3314 @rinternals{Grace_engraver},
3315 @rinternals{Grace_spacing_engraver}
3320 @cindex acciaccatura, multi-note (複数音符のアッチャカトゥーラ)
3321 @cindex multi-note acciaccatura (複数音符のアッチャカトゥーラ)
3322 @cindex grace-note synchronization (装飾小音符の同期)
3324 複数の音符を連桁でつないだ @i{アッチャカトゥーラ} には@c
3326 複数の音符を連桁でつないだ @i{アッポジャトゥーラ} と@c
3329 @c TODO Add link to LSR snippet to add slash when available
3331 装飾小音符の同期は予期しない結果を引き起こす可能性があります。@c
3332 譜の記譜要素 -- 拍子、小節線など -- も同期をとられます。@c
3333 装飾小音符を持つ譜と持たない譜を混在させる場合は気をつけて下さい。@c
3336 @lilypond[quote,relative=2,verbatim]
3338 \new Staff { e4 \bar "|:" \grace c16 d2. }
3339 \new Staff { c4 \bar "|:" d2. }
3344 これは、他の譜にある装飾小音符の演奏時間に対応した空白の@c
3345 装飾小音符を挿入することによって修正することができます。@c
3348 @lilypond[quote,relative=2,verbatim]
3350 \new Staff { e4 \bar "|:" \grace c16 d2. }
3351 \new Staff { c4 \bar "|:" \grace s16 d2. }
3355 ボイス コンテキストの中で装飾送音符を記述すると、@c
3357 これを克服するには、装飾小音符のセクションを変数に入れます。
3359 @lilypond[quote,verbatim]
3361 \acciaccatura { f8 } e8 r8 \acciaccatura { f8 } e8 r4
3368 r8 r8 \voiceOne \accMusic \oneVoice r8 |
3369 r8 \voiceOne r8 \accMusic \oneVoice r8 |
3374 s8 s8 \voiceTwo \accMusic \oneVoice s8 |
3375 s8 \voiceTwo r8 \accMusic \oneVoice s8 |
3382 装飾小音符セクションはシーケンシャルな音楽表記の中でのみ使用すべきです。@c
3383 装飾小音符セクションのネスト、並置はサポートされておらず、@c
3384 クラッシュや他のエラーを引き起こすかもしれません。
3386 MIDI 出力において装飾小音符はそれぞれ 1/4 の実演奏時間を持ちます。@c
3387 一連の装飾小音符の演奏時間が前の音符の演奏時間よりも長い場合、@c
3388 @qq{@code{Going back in MIDI time}} エラーになります。@c
3389 エラーを避けるには、装飾小音符の演奏時間を短くします。@c
3393 \acciaccatura @{ c'8[ d' e' f' g'] @}
3399 \acciaccatura @{ c'16[ d' e' f' g'] @}
3402 あるいは、明示的に演奏時間を変更します:
3405 \acciaccatura @{ \scaleDurations #' (1 . 2) @{ c'8[ d' e' f' g'] @} @}
3408 @ref{演奏時間を変更する} を参照してください。
3412 @unnumberedsubsubsec カデンツァに揃える
3413 @translationof Aligning to cadenzas
3415 @cindex cadenza (カデンツァ)
3416 @cindex cadenza, aligning to (カデンツァに揃える)
3417 @cindex aligning to cadenza (カデンツァに揃える)
3419 オーケストラのコンテキストにおいて、カデンツァは特殊な問題を提起します:
3420 楽譜の構成に演奏時間を持つカデンツァや他のソロ パッセージが含まれる場合、@c
3421 他のすべての楽器は、そのカデンツァの演奏時間の分だけ@c
3423 さもなければ、他の楽器はカデンツァの終わりよりも早すぎる
3424 (あるいは遅すぎる) タイミングで始まってしまいます。
3426 この問題の解決方法の一つは、関数 @code{mmrest-of-length} と
3427 @code{skip-of-length} を使用することです。@c
3428 これらの Scheme 関数は、引数として定義済みの音楽表記をとり、@c
3429 その音楽表記と同じ長さの複数小節休符または @code{\skip} を生成します。
3431 @lilypond[verbatim,quote]
3432 MyCadenza = \relative c' {
3443 $(mmrest-of-length MyCadenza)
3445 $(skip-of-length MyCadenza)
3457 @rlsrnamed{Rhythms,リズム}
3462 @unnumberedsubsubsec 時間管理
3463 @translationof Time administration
3465 @cindex time administration (時間管理)
3466 @cindex timing (within the score) ((楽譜内での) タイミング)
3467 @cindex music, unmetered (無韻律の音楽)
3468 @cindex unmetered music (無韻律の音楽)
3470 @funindex currentBarNumber
3471 @funindex measurePosition
3472 @funindex measureLength
3474 時間は @code{Timing_translator}
3475 -- これは、デフォルトでは、@code{Socre} コンテキストの中にあります --
3477 エイリアス @code{Timing} は @code{Timing_translator} が配置されている@c
3479 エイリアス @code{Timing} が利用可能であることを保証するため、@c
3480 コンテキスト (@code{Voice} や @code{Staff} など) を明示的にインスタンス化@c
3483 以下の @code{Timing} のプロパティは、@c
3484 楽譜内でのタイミングの経過を追うために使用されます。
3486 @cindex bar number (小節番号)
3487 @cindex measure number (小節番号)
3490 @item currentBarNumber
3492 このプロパティの使用例は、@ref{小節番号} を参照してください。
3496 4/4 拍子では 1 であり、6/8 拍子では 3/4 です。@c
3497 この値は小節線を挿入するタイミングと自動連桁の生成の仕方を決定します。
3499 @item measurePosition
3500 カレントで処理している小節内での位置。@c
3501 この値は、@code{measureLength} に到達するか超過したときに、@c
3502 この値から @code{measureLength} を減算されることによって、リセットされます。@c
3503 リセットが起こるときに、@code{currentBarNumber} が +1 されます。
3506 真にセットされている場合、各タイム ステップごとに上記の変数は更新されます。@c
3507 偽にセットされている場合、エングラーバはカレントの小節に永久に留まります。
3511 タイミングは、上記の値のいずれかを明示的に設定することによって、@c
3513 次の例では、デフォルトの 4/4 拍子が譜刻されていますが、@c
3514 @code{measureLength} は 5/4 にセットされています。@c
3515 第 3 小節の 4/8 の位置で、@code{measurePositoin} は 1/8 進められて
3516 5/8 になり、それによりその小節は 1/8 短くされます。@c
3517 次の小節線は 5/4 ではなく 9/8 の位置で引かれます。
3519 @lilypond[quote,verbatim]
3520 \new Voice \relative c' {
3521 \set Timing.measureLength = #(ly:make-moment 5 4)
3525 \set Timing.measurePosition = #(ly:make-moment 5 8)
3532 この例が示すように、@code{ly:make-moment n m} は全音符の n/m の長さの@c
3534 例えば、@code{ly:make-moment 1 8} は 1 個の 8 分音符の演奏時間であり、@c
3535 @code{ly:make-moment 7 16} は 7 個の 16 分音符の演奏時間です。
3544 @rlsrnamed{Rhythms,リズム}
3547 @rinternals{Timing_translator},