version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.17.30"
+@c \version "2.19.40"
@c Translators: Yoshiki Sawada
@c Translation status: post-GDP
@cindex note lengths (音符の長さ)
@funindex \longa
-@funindex longa
@funindex \breve
-@funindex breve
@funindex \maxima
-@funindex maxima
演奏時間は数とドットで指定されます。@c
演奏時間はその演奏時間の逆数で入力されます。@c
それよりも短い音価を指定することも可能ですが、必ず連桁付きの音符となります。
@c Two 64th notes are needed to obtain beams
-@lilypond[quote,verbatim,relative=2]
-\time 8/1
-c\longa c\breve c1 c2
-c4 c8 c16 c32 c64 c128 c128
+@lilypond[quote,verbatim]
+\relative {
+ \time 8/1
+ c''\longa c\breve c1 c2
+ c4 c8 c16 c32 c64 c128 c128
+}
@end lilypond
同じ例で自動連桁を off にしてみます。
@c not strictly "writing rhythms"; more of a "displaying" thing,
@c but it's ok here. -gp
-@lilypond[quote,verbatim,relative=2]
-\time 8/1
-\autoBeamOff
-c\longa c\breve c1 c2
-c4 c8 c16 c32 c64 c128 c128
+@lilypond[quote,verbatim]
+\relative {
+ \time 8/1
+ \autoBeamOff
+ c''\longa c\breve c1 c2
+ c4 c8 c16 c32 c64 c128 c128
+}
@end lilypond
全音符の 8 倍の演奏時間を持つ音符は
演奏時間を省略した場合、前に入力された演奏時間にセットされます。@c
最初の音符のデフォルト値は 4 分音符です。
-@lilypond[quote,verbatim,relative=2]
-a a a2 a a4 a a1 a
+@lilypond[quote,verbatim]
+\relative { a' a a2 a a4 a a1 a }
@end lilypond
@cindex notes, dotted (付点音符)
付点音符の演奏時間を得るには、演奏時間の後にドット (@code{.}) を置きます。@c
2 重付点音符は 2 つのドットを置き、3 重付点音符は 3 つのドットなどとなります。
-@lilypond[quote,verbatim,relative=2]
-a4 b c4. b8 a4. b4.. c8.
+@lilypond[quote,verbatim]
+\relative { a'4 b c4. b8 a4. b4.. c8. }
@end lilypond
演奏時間の中には 2の倍数の演奏時間とドットだけでは表せないものもあります。@c
詳細は @ref{Proportional notation} を参照してください。
@funindex \dotsUp
-@funindex dotsUp
@funindex \dotsDown
-@funindex dotsDown
@funindex \dotsNeutral
-@funindex dotsNeutral
通常、多声でない限り、ドットは譜線を避けるために上に移動させられます。@c
ある特定のドットの移動方向を手動で指定するための定義済みコマンドがあります
@unnumberedsubsubsec 連符
@translationof Tuplets
+@c 本項目のみ先に翻訳 2015-12-31
+@c 連符のコマンドが \times から \tuplet に変更されており、
+@c 従前のままの内容だと混乱をきたす可能性があるため。
+
@cindex tuplets (連符)
@cindex triplets (3 連符)
-@funindex \times
-@funindex times
+@funindex \tuplet
-連符はその連符内のすべての音符の演奏時間に分数を掛け合わせる音楽表記によって@c
-作られます:
+連符は @code{\tuplet} を使った音楽表記から作られ、@c
+音楽表記の速度に分数を掛け合わせます。
@example
-\times @var{fraction} @{ @var{music} @}
+\tuplet @var{fraction} @{ @var{music} @}
@end example
@noindent
-@code{@var{music}} の演奏時間には分数 @code{@var{fraction}} が掛け合わされます。@c
-分数の分母が音符の上または下に譜刻され、オプションで囲みが付きます。@c
-最も一般的な連符は 3 連符であり、3 連符では 3 つの音符が音符 2 つ分の@c
-演奏時間を持ちます。@c
-そのため、3 連符で指定する分数は 2/3 です。
+分数 (@var{fraction}) の分子が音符の上または下に譜刻され、@c
+オプションで囲みが付きます。@c
+最も一般的な連符は 3 連符です。@c
+( 3 つの音符が音符 2 つ分の演奏時間を持ちます。)
-@lilypond[quote,verbatim,relative=2]
-a2 \tuplet 3/2 { b4 b b }
-c4 c \tuplet 3/2 { b4 a g }
+@lilypond[quote,verbatim]
+\relative {
+ a'2 \tuplet 3/2 { b4 4 4 }
+ c4 c \tuplet 3/2 { b4 a g }
+}
+@end lilypond
+
+@cindex 連符のグルーピング
+@noindent
+連符の長いパッセージを入力するとき、@c
+各グループに別々の @code{\tuplet} コマンドを記述することは不便です。@c
+音楽の前に一つの連符グループの長さを直接指定することで、@c
+連符を自動的にグループ化することができます:
+
+@lilypond[quote,verbatim]
+\relative {
+ g'2 r8 \tuplet 3/2 8 { cis16 d e e f g g f e }
+}
@end lilypond
@cindex tuplet bracket placement (連符囲みの配置)
@funindex \tupletUp
-@funindex tupletUp
@funindex \tupletDown
-@funindex tupletDown
@funindex \tupletNeutral
-@funindex tupletNeutral
-連符囲みは手動で譜の上または下に配置することができます
--- @ref{Direction and placement} を参照してください。
+連符囲みは手動で譜の上または下に配置することができます:
+
+@lilypond[quote,verbatim]
+\relative {
+ \tupletUp \tuplet 3/2 { c''8 d e }
+ \tupletNeutral \tuplet 3/2 { c8 d e }
+ \tupletDown \tuplet 3/2 { f,8 g a }
+ \tupletNeutral \tuplet 3/2 { f8 g a }
+}
+@end lilypond
連符はネストすることができます:
-@lilypond[quote,verbatim,relative=2]
-\autoBeamOff
-c4 \tuplet 5/4 { f8 e f \tuplet 3/2 { e[ f g] } } f4
+@lilypond[quote,verbatim]
+\relative {
+ \autoBeamOff
+ c''4 \tuplet 5/4 { f8 e f \tuplet 3/2 { e[ f g] } } f4
+}
@end lilypond
ネストされた連符の演奏開始点が同時である場合に、それらの連符を変更するには
@funindex tupletSpannerDuration
@lilypondfile[verbatim,quote,ragged-right,texidoc,doctitle]
-{entering-several-tuplets-using-only-one--times-command.ly}
+{entering-several-tuplets-using-only-one--tuplet-command.ly}
@cindex Tuplet number changes (連符の数の変更)
@rlearning{Tweaking methods}
記譜法リファレンス:
+@ref{Direction and placement},
@ref{Time administration},
@ref{Scaling durations},
@ref{The tweak command},
@rinternals{TupletNumber},
@rinternals{TimeScaledMusic}.
-@cindex grace notes within tuplet brackets (連符囲み内の装飾小音符)
-
-@knownissues
-譜の先頭に装飾小音符とそれに続く連符を配置する場合でない限り、@c
-装飾を連符囲みの中に配置することができます。@c
-この特殊な場合では、エラーを避けるためにその装飾小音符を
-@code{\times} コマンドの前に置かなければなりません。
-
-@cindex tempo marks within tuplet brackets (連符囲み内でのテンポ記号)
-
-@code{\tempo} コマンドを持つ楽曲の先頭で連符を使う場合、@c
-@rlearning{音楽を保持するボイス} で説明されているように@c
-その音楽を明示的に @code{\new Voice} ブロックの中に入れる必要があります。
-
@node 演奏時間を変更する
@unnumberedsubsubsec 演奏時間を変更する
@cindex expanding music (音楽を伸長する)
@funindex \scaleDurations
-@funindex scaleDurations
同様の方法で分数を使うことで、長く伸びた音楽を圧縮することができます。@c
それによりそれぞれの音符、和音、休符には@c
タイはチルド記号 @code{~} を使って入力します:
@lilypond[quote,verbatim,relative=2]
-a2 ~ a
+a2 ~ 2
@end lilypond
タイは、音符が小節線をまたがる場合か、リズムを表すためにドットを@c
@c KEEP LY
@lilypond[verbatim,quote]
-\relative c' {
- r8 c8 ~ c2 r4 |
- r8^"こうすべきではありません" c2 ~ c8 r4
+\relative {
+ r8 c'8 ~ 2 r4 |
+ r8^"こうすべきではありません" c2 ~ 8 r4
}
@end lilypond
@cindex ties and volta brackets (タイと volta 囲み)
@funindex \repeatTie
-@funindex repeatTie
繰り返しの 2 回目の差し替え部分はタイで結ばれた音符で始まっています。@c
そのような繰り返し部分でのタイは以下のように指定する必要があります:
@cindex ties, laissez vibrer (レセ ヴィブレのタイ)
@funindex \laissezVibrer
-@funindex laissezVibrer
@notation{L.v.}@: タイ (@notation{レセ ヴィブレ: laissez vibrer}) は@c
音符を終端で途切れさせないということを示します。@c
ピアノ、ハープ、他の弦楽器、それに打楽器のための楽譜で使用されます。@c
L.v. タイは以下のように入力します:
-@lilypond[quote,verbatim,relative=1]
-<c f g>1\laissezVibrer
+@lilypond[quote,verbatim,fragment]
+<c' f' g'>1\laissezVibrer
@end lilypond
@cindex ties, placement (タイの配置)
@funindex \tieUp
-@funindex tieUp
@funindex \tieDown
-@funindex tieDown
@funindex \tieNeutral
-@funindex tieNeutral
タイを手動で譜の上または下に配置することができます。
@ref{Direction and placement} を参照してください。
@cindex dotted ties (点線のタイ)
@funindex \tieDotted
-@funindex tieDotted
@funindex \tieDashed
-@funindex tieDashed
@funindex \tieSolid
-@funindex tieSolid
タイを破線、点線、実線と破線の組み合わせにすることができます。
@lilypond[quote, verbatim, relative=1]
\tieDotted
-c2 ~ c
+c2 ~ 2
\tieDashed
-c2 ~ c
+c2 ~ 2
\tieHalfDashed
-c2 ~ c
+c2 ~ 2
\tieHalfSolid
-c2 ~ c
+c2 ~ 2
\tieSolid
-c2 ~ c
+c2 ~ 2
@end lilypond
破線パターンのカスタマイズを指定することができます:
@lilypond[quote, verbatim, relative=1]
\tieDashPattern #0.3 #0.75
-c2 ~ c
+c2 ~ 2
\tieDashPattern #0.7 #1.5
-c2 ~ c
+c2 ~ 2
\tieSolid
-c2 ~ c
+c2 ~ 2
@end lilypond
タイの破線パターン定義の構造は、スラーの破線パターン定義と同じです。@c
@var{whiteout} レイアウト プロパティと @var{layer} レイアウト プロパティを@c
オーバライドしてください。
-@lilypond[verbatim,quote,ragged-right,relative=2]
-\override Tie.layer = #-2
-\override Staff.TimeSignature.layer = #-1
-\override Staff.KeySignature.layer = #-1
-\override Staff.TimeSignature.whiteout = ##t
-\override Staff.KeySignature.whiteout = ##t
-b2 b~
-\time 3/4
-\key a \major
-b r4
+@lilypond[verbatim,quote,ragged-right]
+\relative {
+ \override Tie.layer = #-2
+ \override Staff.TimeSignature.layer = #-1
+ \override Staff.KeySignature.layer = #-1
+ \override Staff.TimeSignature.whiteout = ##t
+ \override Staff.KeySignature.whiteout = ##t
+ b'2 b~
+ \time 3/4
+ \key a \major
+ b r4
+}
@end lilypond
@predefined
@cindex breve rest (二全休符)
@funindex \rest
-@funindex rest
@funindex r
@funindex \maxima
-@funindex maxima
@funindex \longa
-@funindex longa
@funindex \breve
-@funindex breve
休符は音符名 @code{r} を持つ音符として入力されます。@c
全休符よりも長い演奏時間を持つ休符には以下に示す定義済みコマンドを使用します:
これは多声部音楽を手動で精密にフォーマットすることを考慮したものです。@c
なぜなら、自動休符フォーマットでは多声部音楽の休符の衝突を回避できないからです。
-@lilypond[quote,verbatim,relative=2]
-a4\rest d4\rest
+@lilypond[quote,verbatim]
+\relative { a'4\rest d4\rest }
@end lilypond
@snippets
@funindex s
@funindex \skip
-@funindex skip
不可視の休符 (@q{空白休符} とも呼ばれます) は音符名@tie{}@code{s} を@c
持つ音符として入力することができます:
-@lilypond[verbatim,quote,relative=2]
-c4 c s c
-s2 c
+@lilypond[verbatim,quote]
+\relative c'' {
+ c4 c s c |
+ s2 c |
+}
@end lilypond
@cindex lyrics, skip (歌詞をスキップする)
@code{\addlyrics} や @code{\lyricsto} を使っていて、@c
歌詞が関係するメロディーの音符から演奏時間を得ている場合は無視されます。
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim]
<<
{
- a2 \skip2 a2 a2
+ a'2 \skip2 a'2 a'2
}
\new Lyrics {
\lyricmode {
@code{\skip} はコマンドであるため、@c
@code{s} とは異なり後に続く音符のデフォルト演奏時間には影響を与えません。
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim]
<<
{
- \repeat unfold 8 { a4 }
+ \repeat unfold 8 { a'4 }
}
{
- a4 \skip 2 a |
- s2 a
+ a'4 \skip 2 a' |
+ s2 a'
}
>>
@end lilypond
1 小節分の休符は、拍子次第で全休符または二全休符のどちらかとして、@c
小節の中央に譜刻されます。
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim,fragment]
\time 4/4
R1 |
\time 6/4
@cindex multi-measure rest, contracting (複数小節にまたがる休符をまとめる)
@funindex \expandFullBarRests
-@funindex expandFullBarRests
@funindex \compressFullBarRests
-@funindex compressFullBarRests
デフォルトでは、複数小節にまたがる休符は@c
休みの小節すべてを明示的に示すように譜刻される楽譜に展開されます。@c
@cindex multi-measure rest with markup (マークアップを持つ複数小節にまたがる休符)
@funindex \fermataMarkup
-@funindex fermataMarkup
@funindex MultiMeasureRestText
マークアップを複数小節にまたがる休符に付け加えることができます。@c
@funindex \textLengthOn
-@funindex textLengthOn
@funindex \textLengthOff
@funindex textLenthOff
@funindex \fermataMarkup
-@funindex fermataMarkup
@funindex \compressFullBarRests
-@funindex compressFullBarRests
@funindex \expandFullBarRests
-@funindex expandFullBarRests
@predefined
@code{\textLengthOn},
@cindex meter (拍)
@funindex \time
-@funindex time
拍子は以下のようにセットします:
-@lilypond[quote,verbatim,relative=2]
-\time 2/4 c2
-\time 3/4 c2.
+@lilypond[quote,verbatim,fragment]
+\time 2/4 c''2
+\time 3/4 c''2.
@end lilypond
@cindex time signature, visibility of (拍子の可視性)
デフォルトの振る舞いを変更することができます。@c
@ref{Visibility of objects} を参照してください。
-@lilypond[quote,verbatim,relative=2]
-\time 2/4
-c2 c
-\break
-c c
-\break
-\time 4/4
-c c c c
+@lilypond[quote,verbatim]
+\relative c'' {
+ \time 2/4
+ c2 c
+ \break
+ c c
+ \break
+ \time 4/4
+ c c c c
+}
@end lilypond
@cindex time signature style (拍子スタイル)
@cindex meter style (拍スタイル)
@funindex \numericTimeSignature
-@funindex numericTimeSignature
@funindex \defaultTimeSignature
-@funindex defaultTimeSignature
2/2 や 4/4 で使用される拍子は数字を使用するスタイルに変更することができます:
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(3 1) % beatStructure
+ 3,1 % beatStructure
#'() % beamExceptions
\time 4/4
\repeat unfold 8 { c8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(3 1) % beatStructure
+ 3,1 % beatStructure
#'() % beamExceptions
\time 4/4
c8^\markup {"Beamed (2 2)"}
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(3 1) % beatStructure
+ 3,1 % beatStructure
#'() % beamExceptions
\time 4/4
c8^\markup {"Beamed (3 1)"}
@lilypond[quote,verbatim]
\score{
- \relative c' {
- \repeat unfold 8 { c8 } |
+ \relative {
+ \repeat unfold 8 { c'8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(3 1) % beatStructure
+ 3,1 % beatStructure
#'() % beamExceptions
\time 4/4
\repeat unfold 8 { c8 } |
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(3 1) % beatStructure
+ 3,1 % beatStructure
#'() % beamExceptions
\time 4/4
\repeat unfold 8 {c''8}
\overrideTimeSignatureSettings
4/4 % timeSignatureFraction
1/4 % baseMomentFraction
- #'(1 3) % beatStructure
+ 1,3 % beatStructure
#'() % beamExceptions
\time 4/4
\repeat unfold 8 {c''8}
@cindex metronome marking with text (テキストを持つメトロノーム記号)
@funindex \tempo
-@funindex tempo
基本的なメトロノーム記号は単純に以下のように記述します:
-@lilypond[verbatim,quote,relative=1]
-\tempo 4 = 120
-c2 d
-e4. d8 c2
+@lilypond[verbatim,quote]
+\relative {
+ \tempo 4 = 120
+ c'2 d
+ e4. d8 c2
+}
@end lilypond
メトロノーム記号を 2 つの数の範囲として譜刻することもできます:
-@lilypond[verbatim,quote,relative=1]
-\tempo 4 = 40 - 46
-c4. e8 a4 g
-b,2 d4 r
+@lilypond[verbatim,quote]
+\relative {
+ \tempo 4 = 40 - 46
+ c'4. e8 a4 g
+ b,2 d4 r
+}
@end lilypond
テキストを持つテンポ指示にすこともできます:
-@lilypond[verbatim,quote,relative=2]
-\tempo "Allegretto"
-c4 e d c
-b4. a16 b c4 r4
+@lilypond[verbatim,quote]
+\relative {
+ \tempo "Allegretto"
+ c''4 e d c
+ b4. a16 b c4 r4
+}
@end lilypond
メトロノーム記号とテキストを組み合わせると、@c
メトロノーム記号は自動的に括弧で囲まれます:
-@lilypond[verbatim,quote,relative=2]
-\tempo "Allegro" 4 = 160
-g4 c d e
-d4 b g2
+@lilypond[verbatim,quote]
+\relative {
+ \tempo "Allegro" 4 = 160
+ g'4 c d e
+ d4 b g2
+}
@end lilypond
一般に、テキストを任意のマークアップ オブジェクトにすることができます:
-@lilypond[verbatim,quote,relative=2]
-\tempo \markup { \italic Faster } 4 = 132
-a8-. r8 b-. r gis-. r a-. r
+@lilypond[verbatim,quote]
+\relative {
+ \tempo \markup { \italic Faster } 4 = 132
+ a'8-. r8 b-. r gis-. r a-. r
+}
@end lilypond
テキストを伴わないメトロノーム記号を括弧で囲むには、@c
空の文字列を含めて記述します:
-@lilypond[verbatim,quote,relative=2]
-\tempo "" 8 = 96
-d4 g e c
+@lilypond[verbatim,quote]
+\relative {
+ \tempo "" 8 = 96
+ d''4 g e c
+}
@end lilypond
@funindex measurePosition
@funindex \partial
-@funindex partial
@emph{弱拍} や @emph{上拍} などのような部分小節またはピックアップ小節は、@c
@code{\partial} コマンドを使って入力します:@c
@var{duration} は、完全な長さを持つ小節より短い演奏時間であれば、@c
任意の値を取ることができます:
-@lilypond[quote,verbatim,relative=1]
-\time 3/4
-\partial 4.
-r4 e8 | a4 c8 b c4 |
+@lilypond[quote,verbatim]
+\relative {
+ \time 3/4
+ \partial 4.
+ r4 e'8 | a4 c8 b c4 |
+}
@end lilypond
@code{\partial @var{duration}} を以下のように記述することもできます:
@cindex beams, unmetered music (無韻律の音楽での連桁)
@funindex \cadenzaOn
-@funindex cadenzaOn
@funindex \cadenzaOff
-@funindex cadenzaOff
韻律のある音楽では、自動的に小節線が挿入され、小節番号が算出されます。@c
無韻律の音楽 (例えばカデンツァ) では、これは望ましくなく、コマンド
@code{\cadenzaOn} を用いて @q{スイッチ off} することができます。@c
@q{スイッチ on} に戻すには、適切な場所で @code{\cadenzaOff} を用います。
-@lilypond[verbatim,relative=2,quote]
-c4 d e d
-\cadenzaOn
-c4 c d8[ d d] f4 g4.
-\cadenzaOff
-\bar "|"
-d4 e d c
+@lilypond[verbatim,quote]
+\relative c'' {
+ c4 d e d
+ \cadenzaOn
+ c4 c d8[ d d] f4 g4.
+ \cadenzaOff
+ \bar "|"
+ d4 e d c
+}
@end lilypond
カデンツァが終わると、小節番号が再開されます。
そのため、カデンツァの中に連桁を挿入するには手動で行う必要があります。@c
@ref{Manual beams} を参照してください。
-@lilypond[verbatim,relative=2,quote]
-\repeat unfold 8 { c8 }
-\cadenzaOn
-cis8 c c c c
-\bar"|"
-c8 c c
-\cadenzaOff
-\repeat unfold 8 { c8 }
+@lilypond[verbatim,quote]
+\relative {
+ \repeat unfold 8 { c''8 }
+ \cadenzaOn
+ cis8 c c c c
+ \bar"|"
+ c8 c c
+ \cadenzaOff
+ \repeat unfold 8 { c8 }
+}
@end lilypond
+These predefined commands affect all staves in the score, even when
@funindex timeSignatureFraction
@funindex \scaleDurations
-@funindex scaleDurations
@funindex \times
-@funindex times
多拍子記譜法がサポートされます。
複合拍子記譜法がサポートされます。@c
手動で連桁を付ける必要があるかもしれません。
@lilypond[quote,verbatim]
-\relative c' <<
+\relative <<
\new Staff {
\time 3/4
- c4 c c |
+ c'4 c c |
c4 c c |
}
\new Staff {
% 以上で、各譜はそれぞれに拍子を持つようになります
-\relative c' <<
+\relative <<
\new Staff {
\time 3/4
- c4 c c |
+ c'4 c c |
c4 c c |
}
\new Staff {
構文は以下の通りです:
@example
-\compoundMeter #'@code{(list of lists)}
+\compoundMeter #'(list of lists)
@end example
最も簡単な構成は単一のリストであり、@c
リストの @emph{最後の} 数字が拍子記号の分母になります。
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((2 2 2 8))
- \repeat unfold 6 c8 \repeat unfold 12 c16
+ \repeat unfold 6 c'8 \repeat unfold 12 c16
}
@end lilypond
また、この関数で指定された値に基づいて自動連桁の設定は調節されます。
@lilypond[quote,verbatim]
-\relative c' {
+\relative {
\compoundMeter #'((1 4) (3 8))
- \repeat unfold 5 c8 \repeat unfold 10 c16
+ \repeat unfold 5 c'8 \repeat unfold 10 c16
}
-\relative c' {
+\relative {
\compoundMeter #'((1 2 3 8) (3 4))
- \repeat unfold 12 c8
+ \repeat unfold 12 c'8
}
@end lilypond
以下の例では、小節線をまたがる音符と休符は分割され、@c
音符はされにタイで結ばれています。
-@lilypond[quote,verbatim,relative=1]
+@lilypond[quote,verbatim]
\new Voice \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
\remove "Rest_engraver"
\consists "Completion_rest_engraver"
}
-
-{ c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2 }
+\relative {
+ c'2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2
+}
@end lilypond
これらのエングラーバは進行中の音符と休符をすべて小節線のところで分割して、@c
そのような譜上にある音符のピッチはすべて破棄され、その譜自体は 1 本の@c
線を持ちます:
-@lilypond[quote,relative=1,verbatim]
+@lilypond[quote,verbatim]
<<
\new RhythmicStaff {
- \new Voice = "myRhythm" {
+ \new Voice = "myRhythm" \relative {
\time 4/4
- c4 e8 f g2
+ c'4 e8 f g2
r4 g g f
g1
}
@funindex Pitch_squash_engraver
@funindex \improvisationOn
-@funindex improvisationOn
@funindex \improvisationOff
-@funindex improvisationOff
ギター コード表はしばしばつま弾き (ストラム) のリズムを示します。@c
これは @code{Pitch_squash_engraver} と @code{\improvisationOn} を@c
@cindex beams, customizing rules (連桁の規則をカスタマイズする)
@funindex \autoBeamOn
-@funindex autoBeamOn
@funindex \autoBeamOff
-@funindex autoBeamOff
-@lilypond[quote,verbatim,relative=2]
-\time 2/4 c8 c c c
-\time 6/8 c8 c c c8. c16 c8
+@lilypond[quote,verbatim]
+\relative c'' {
+ \time 2/4 c8 c c c
+ \time 6/8 c8 c c c8. c16 c8
+}
@end lilypond
自動的に決定される連桁が満足いかないものである場合、@c
@code{\autoBeamOff} で off にすることができ、@c
@code{\autoBeamOn} で on にすることができます:
-@lilypond[quote,relative=1,verbatim]
-c4 c8 c8. c16 c8. c16 c8
-\autoBeamOff
-c4 c8 c8. c16 c8.
-\autoBeamOn
-c16 c8
+@lilypond[quote,verbatim]
+\relative c' {
+ c4 c8 c8. c16 c8. c16 c8
+ \autoBeamOff
+ c4 c8 c8. c16 c8.
+ \autoBeamOn
+ c16 c8
+}
@end lilypond
@cindex melismata, with beams (メリスマの連桁)
@funindex beatStructure
@funindex measureLength
@funindex \time
-@funindex time
@funindex \set
-@funindex set
たいていの場合、自動連桁は拍の終わりで終了します。@c
拍の終了点はコンテキスト プロパティ @code{baseMoment} と
@lilypond[quote,relative=2,verbatim]
\time 5/16
c16^"default" c c c c |
-\set Timing.beatStructure = #'(2 3)
+\set Timing.beatStructure = 2,3
c16^"(2+3)" c c c c |
-\set Timing.beatStructure = #'(3 2)
+\set Timing.beatStructure = 3,2
c16^"(3+2)" c c c c |
@end lilypond
@lilypond[quote, verbatim,relative=1]
\new Staff {
\time 7/8
- \set Staff.beatStructure = #'(2 3 2)
+ \set Staff.beatStructure = 2,3,2
<<
\new Voice = one {
- \relative c'' {
- a8 a a a a a a
+ \relative {
+ a'8 a a a a a a
}
}
\new Voice = two {
- \relative c' {
+ \relative {
\voiceTwo
- \set Voice.beatStructure = #'(1 3 3)
- f8 f f f f f f
+ \set Voice.beatStructure = 1,3,3
+ f'8 f f f f f f
}
}
>>
% リズム 3-1-1-2
% デフォルトで連桁設定の変更は Voice に適用され、うまくいきません
% なぜなら、自動生成されるボイスで、すべての拍は baseMoment (1 . 8) だからです
-\set beatStructure = #'(3 1 1 2)
+\set beatStructure = 3,1,1,2
<< {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
% コンテキスト Staff を指定するとうまくいきます
-\set Staff.beatStructure = #'(3 1 1 2)
+\set Staff.beatStructure = 3,1,1,2
<< {a8 a a a16 a a a a8 a} \\ {f4. f8 f f f} >>
@end lilypond
@lilypond[quote,verbatim,relative=2]
\time 5/8
\set Timing.baseMoment = #(ly:make-moment 1/16)
-\set Timing.beatStructure = #'(7 3)
+\set Timing.beatStructure = 7,3
\repeat unfold 10 { a16 }
@end lilypond
@c 未訳
@lilypond[quote,relative=2,verbatim]
\time 3/16
-\set Timing.beatStructure = #'(2 1)
+\set Timing.beatStructure = 2,1
\set Timing.beamExceptions =
#'( ;start of alist
(end . ;entry for end of beams
\time 6/8
\repeat unfold 6 { a8 }
% (4 + 2) にグループ化します
-\set Timing.beatStructure = #'(4 2)
+\set Timing.beatStructure = 4,2
\repeat unfold 6 { a8 }
% デフォルトの振る舞いに戻ります
\time 6/8
@lilypond[quote,verbatim,relative=2]
\time 4/4
\set Timing.baseMoment = #(ly:make-moment 1/8)
-\set Timing.beatStructure = #'(3 3 2)
+\set Timing.beatStructure = 3,3,2
% 以下は beamExceptions のため、(3 3 2) の連桁にはなりません
\repeat unfold 8 {c8} |
% 以下は beamExceptions をクリアするため、(3 3 2) の連桁になります
この振る舞いはコンテキスト プロパティ @code{beamHalfMeasure} によって@c
制御されます -- これは分子が 3 の拍子記号の場合にのみ効果を持ちます:
-@lilypond[quote,verbatim,relative=2]
-\time 3/4
-r4. a8 a a |
-\set Timing.beamHalfMeasure = ##f
-r4. a8 a a |
+@lilypond[quote,verbatim]
+\relative a' {
+ \time 3/4
+ r4. a8 a a |
+ \set Timing.beamHalfMeasure = ##f
+ r4. a8 a a |
+}
@end lilypond
@i{@strong{自動連桁はどのように機能するのか}}
\new Staff {
\time 3/4
\set Timing.baseMoment = #(ly:make-moment 1/8)
- \set Timing.beatStructure = #'(1 5)
+ \set Timing.beatStructure = 1,5
\repeat unfold 6 { a8 }
}
\new Staff {
常にお望みの連桁を使うこともできます。@c
ある拍子に対する自動連桁設定を変更する方法は @ref{拍子} で説明しています。
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim]
<<
\new Staff {
\overrideTimeSignatureSettings
3/4 % timeSignatureFraction
1/8 % baseMomentFraction
- #'(1 5) % beatStructure
+ 1,5 % beatStructure
#'() % beamExceptions
\time 3/4
- \repeat unfold 6 { a8 }
+ \repeat unfold 6 { a'8 }
}
\new Staff {
\time 3/4
- \repeat unfold 6 { a8 }
+ \repeat unfold 6 { a'8 }
}
>>
@end lilypond
そのような連桁は @code{[} と @code{]} で開始点と終了点を記すことによって@c
手動で指定することができます:
-@lilypond[quote,relative=1,verbatim]
-r4 r8[ g' a r] r g[ | a] r
+@lilypond[quote,verbatim]
+\relative { r4 r8[ g' a r] r g[ | a] r }
@end lilypond
@cindex manual beams, direction shorthand for (手動連桁の向きを指定する短縮記譜法)
方向指示子を用いることで、連桁の向きを手動で設定することができます:
-@lilypond[quote,relative=2,verbatim]
-c8^[ d e] c,_[ d e f g]
+@lilypond[quote,verbatim]
+\relative { c''8^[ d e] c,_[ d e f g] }
@end lilypond
@funindex \noBeam
-@funindex noBeam
連桁でつながれないようにするために、個々の音符には
@code{\noBeam} が記されるかもしれません:
-@lilypond[quote,verbatim,relative=2]
-\time 2/4
-c8 c\noBeam c c
+@lilypond[quote,verbatim]
+\relative {
+ \time 2/4
+ c''8 c\noBeam c c
+}
@end lilypond
装飾小音符の連桁と通常の音符の連桁は同時進行で発生します。@c
通常の音符の連桁の途中に、連桁でつながれない装飾小音符は配置されません。
-@lilypond[quote,verbatim,relative=2]
-c4 d8[
-\grace { e32 d c d }
-e8] e[ e
-\grace { f16 }
-e8 e]
+@lilypond[quote,verbatim]
+\relative {
+ c''4 d8[
+ \grace { e32 d c d }
+ e8] e[ e
+ \grace { f16 }
+ e8 e]
+}
@end lilypond
@funindex stemLeftBeamCount
-- すなわち、グループ全体をつなげている 8 分音符の連桁を持って --
譜刻されています。
-@lilypond[quote,relative=2,verbatim]
-a8[ r16 f g a]
-a8[ r16
-\set stemLeftBeamCount = #2
-\set stemRightBeamCount = #1
-f16
-\set stemLeftBeamCount = #1
-g16 a]
+@lilypond[quote,verbatim]
+\relative a' {
+ a8[ r16 f g a]
+ a8[ r16
+ \set stemLeftBeamCount = #2
+ \set stemRightBeamCount = #1
+ f16
+ \set stemLeftBeamCount = #1
+ g16 a]
+}
@end lilypond
@cindex feathered beams (羽状の連桁)
@funindex \featherDurations
-@funindex featherDurations
@funindex grow-direction
羽状の連桁は、楽曲全体のテンポを変えることなく、音符の小さなグループを@c
最初の 4 つの 32 分音符は徐々にスピード アップしますが、@c
最後の 4 つの 32 分音符は一定のテンポです。
-@lilypond[relative=1,verbatim,quote]
-\override Beam.grow-direction = #LEFT
-\featherDurations #(ly:make-moment 2/1)
-{ c16[ c c c c c c c] }
-\override Beam.grow-direction = #RIGHT
-\featherDurations #(ly:make-moment 2/3)
-{ c32[ d e f] }
-% revert to non-feathered beams
-\override Beam.grow-direction = #'()
-{ g32[ a b c] }
+@lilypond[verbatim,quote]
+\relative c' {
+ \override Beam.grow-direction = #LEFT
+ \featherDurations #(ly:make-moment 2/1)
+ { c16[ c c c c c c c] }
+ \override Beam.grow-direction = #RIGHT
+ \featherDurations #(ly:make-moment 2/3)
+ { c32[ d e f] }
+ % revert to non-feathered beams
+ \override Beam.grow-direction = #'()
+ { g32[ a b c] }
+}
@end lilypond
@noindent
@cindex repeat bars (繰り返しの小節線)
@funindex \bar
-@funindex bar
小節線は小節を区切り、繰り返しを示すためにも使用されます。@c
通常、単線の小節線が拍子に基づいて出力に自動的に挿入されます。
@code{\bar} コマンドで他のタイプに変更することができます。@c
例えば、通常、2 重線の閉じの小節線が楽曲の最後に配置されます:
-@lilypond[quote,relative=1,verbatim]
-e4 d c2 \bar "|."
+@lilypond[quote,verbatim]
+\relative { e'4 d c2 \bar "|." }
@end lilypond
ある小節の最後の音符が、自動的に挿入される小節線の所で終わっていなくても@c
手動で挿入できる小節線として、単線の小節線は 2 種類あり、@c
2 重線の小節線は 5 種類あります:
-@lilypond[quote,relative=1,verbatim]
-f1 \bar "|"
-f1 \bar "."
-g1 \bar "||"
-a1 \bar ".|"
-b1 \bar ".."
-c1 \bar "|.|"
-d1 \bar "|."
-e1
+@lilypond[quote,verbatim]
+\relative {
+ f'1 \bar "|"
+ f1 \bar "."
+ g1 \bar "||"
+ a1 \bar ".|"
+ b1 \bar ".."
+ c1 \bar "|.|"
+ d1 \bar "|."
+ e1
+}
@end lilypond
@noindent
さらに、点線と破線の小節線があります:
-@lilypond[quote,relative=1,verbatim]
-f1 \bar ";"
-g1 \bar "!"
-a1
+@lilypond[quote,verbatim]
+\relative {
+ f'1 \bar ";"
+ g1 \bar "!"
+ a1
+}
@end lilypond
@noindent
行内のセーニョ記号として、3 タイプの小節線があり、@c
改行での振る舞いがそれぞれ異なります:
-@lilypond[quote,relative=2,verbatim]
-c4 c c c
-\bar "S"
-c4 c c c \break
-\bar "S"
-c4 c c c
-\bar "S-|"
-c4 c c c \break
-\bar "S-|"
-c4 c c c
-\bar "S-S"
-c4 c c c \break
-\bar "S-S"
-c1
+@lilypond[quote,verbatim]
+\relative c'' {
+ c4 c c c
+ \bar "S"
+ c4 c c c \break
+ \bar "S"
+ c4 c c c
+ \bar "S-|"
+ c4 c c c \break
+ \bar "S-|"
+ c4 c c c
+ \bar "S-S"
+ c4 c c c \break
+ \bar "S-S"
+ c1
+}
@end lilypond
@cindex repeats (繰り返し)
この小節線は行の終わりに 2 重線の小節線を置き、@c
次の行の始めに繰り返し開始の小節線を置きます。
-@lilypond[quote,relative=2,verbatim]
-c4 c c c
-\bar ".|:-||"
-c4 c c c \break
-\bar ".|:-||"
-c4 c c c
+@lilypond[quote,verbatim]
+\relative c'' {
+ c4 c c c
+ \bar ".|:-||"
+ c4 c c c \break
+ \bar ".|:-||"
+ c4 c c c
+}
@end lilypond
繰り返しとセーニョ記号の組み合わせは 6 種類あります:
-@lilypond[quote,relative=2,verbatim]
-c4 c c c
-\bar ":|.S"
-c4 c c c \break
-\bar ":|.S"
-c4 c c c
-\bar ":|.S-S"
-c4 c c c \break
-\bar ":|.S-S"
-c4 c c c
-\bar "S.|:-S"
-c4 c c c \break
-\bar "S.|:-S"
-c4 c c c
-\bar "S.|:"
-c4 c c c \break
-\bar "S.|:"
-c4 c c c
-\bar ":|.S.|:"
-c4 c c c \break
-\bar ":|.S.|:"
-c4 c c c
-\bar ":|.S.|:-S"
-c4 c c c \break
-\bar ":|.S.|:-S"
-c1
+@lilypond[quote,verbatim]
+\relative c'' {
+ c4 c c c
+ \bar ":|.S"
+ c4 c c c \break
+ \bar ":|.S"
+ c4 c c c
+ \bar ":|.S-S"
+ c4 c c c \break
+ \bar ":|.S-S"
+ c4 c c c
+ \bar "S.|:-S"
+ c4 c c c \break
+ \bar "S.|:-S"
+ c4 c c c
+ \bar "S.|:"
+ c4 c c c \break
+ \bar "S.|:"
+ c4 c c c
+ \bar ":|.S.|:"
+ c4 c c c \break
+ \bar ":|.S.|:"
+ c4 c c c
+ \bar ":|.S.|:-S"
+ c4 c c c \break
+ \bar ":|.S.|:-S"
+ c1
+}
@end lilypond
さらに、@code{\inStaffSegno} コマンドがあります。@c
結果として、@code{StaffGroup}, @code{PianoStaff}, あるいは
@code{GrandStaff} では、小節線は譜をまたがって 1 本に接続されます。
-@lilypond[quote,relative=1,verbatim]
+@lilypond[quote,verbatim]
<<
\new StaffGroup <<
- \new Staff {
- e4 d
+ \new Staff \relative {
+ e'4 d
\bar "||"
f4 e
}
- \new Staff { \clef bass c4 g e g }
+ \new Staff \relative { \clef bass c'4 g e g }
>>
- \new Staff { \clef bass c2 c2 }
+ \new Staff \relative { \clef bass c'2 c2 }
>>
@end lilypond
@funindex whichBar
@funindex defaultBarType
@funindex \bar
-@funindex bar
@funindex bartype
コマンド @code{\bar }@var{bartype} は
@end lilypond
@funindex \barNumberCheck
-@funindex barNumberCheck
大きな楽曲をコピーしている場合、LilyPond の小節番号と@c
コピー元のオリジナルの小節番号の対応をチェックすると役に立ちます。@c
@cindex mark, rehearsal (リハーサル記号)
@funindex \mark
-@funindex mark
リハーサル記号を譜刻するには、@code{\mark} コマンドを使用します:
-@lilypond[quote,verbatim,relative=2]
-c1 \mark \default
-c1 \mark \default
-c1 \mark \default
-c1 \mark \default
+@lilypond[quote,verbatim]
+\relative c'' {
+ c1 \mark \default
+ c1 \mark \default
+ c1 \mark \default
+ c1 \mark \default
+}
@end lilypond
@noindent
手動で整数をリハーサル記号にセットすることもできます。@c
セットした値は @code{rehearsalMark} に保存されます。
-@lilypond[quote,verbatim,relative=2]
-c1 \mark \default
-c1 \mark \default
-c1 \mark #8
-c1 \mark \default
-c1 \mark \default
+@lilypond[quote,verbatim]
+\relative c'' {
+ c1 \mark \default
+ c1 \mark \default
+ c1 \mark #8
+ c1 \mark \default
+ c1 \mark \default
+}
@end lilypond
@noindent
\set Score.markFormatter = #format-mark-circle-alphabet
@end example
-@lilypond[quote,verbatim,relative=2]
-\set Score.markFormatter = #format-mark-box-alphabet
-c1 \mark \default
-c1 \mark \default
-c1 \mark #8
-c1 \mark \default
-c1 \mark \default
+@lilypond[quote,verbatim]
+\relative c'' {
+ \set Score.markFormatter = #format-mark-box-alphabet
+ c1 \mark \default
+ c1 \mark \default
+ c1 \mark #8
+ c1 \mark \default
+ c1 \mark \default
+}
@end lilypond
@cindex rehearsal mark format (リハーサル記号のフォーマット)
以下の例では、@code{markFormatter} には定義済みの手続きがセットされています。@c
数小節後では、四角で囲まれた番号を作り出す手続きがセットされています。
-@lilypond[quote,verbatim,relative=2]
-\set Score.markFormatter = #format-mark-numbers
-c1 \mark \default
-c1 \mark \default
-\set Score.markFormatter = #format-mark-box-numbers
-c1 \mark \default
-\set Score.markFormatter = #format-mark-circle-numbers
-c1 \mark \default
-\set Score.markFormatter = #format-mark-circle-letters
-c1
+@lilypond[quote,verbatim]
+\relative c'' {
+ \set Score.markFormatter = #format-mark-numbers
+ c1 \mark \default
+ c1 \mark \default
+ \set Score.markFormatter = #format-mark-box-numbers
+ c1 \mark \default
+ \set Score.markFormatter = #format-mark-circle-numbers
+ c1 \mark \default
+ \set Score.markFormatter = #format-mark-circle-letters
+ c1
+}
@end lilypond
ファイル @file{scm/translation-functions.scm} は
@cindex glyphs, music (音楽的図柄)
@funindex \musicglyph
-@funindex musicglyph
音楽的図柄 (セーニョ記号など) を @code{\mark} の中に譜刻することができます:
-@lilypond[quote,verbatim,relative=1]
-c1 \mark \markup { \musicglyph #"scripts.segno" }
-c1 \mark \markup { \musicglyph #"scripts.coda" }
-c1 \mark \markup { \musicglyph #"scripts.ufermata" }
-c1
+@lilypond[quote,verbatim]
+\relative c' {
+ c1 \mark \markup { \musicglyph #"scripts.segno" }
+ c1 \mark \markup { \musicglyph #"scripts.coda" }
+ c1 \mark \markup { \musicglyph #"scripts.ufermata" }
+ c1
+}
@end lilypond
@noindent
@code{\musicglyph} を使用して譜刻できる記号のリストは、@c
-@ref{The Feta font} を参照してください。
+@ref{The Emmentaler font} を参照してください。
リハーサル記号の配置の一般的な調整については、@c
@ref{Formatting text} を参照してください。@c
@seealso
記譜法リファレンス:
-@ref{The Feta font},
+@ref{The Emmentaler font},
@ref{Formatting text},
@ref{Aligning objects}
装飾小音符は装飾の音であり、小さなフォントで表示され、@c
論理的には演奏時間を持ちません。
-@lilypond[quote,relative=2,verbatim]
-c4 \grace b16 a4(
-\grace { b16 c16 } a2)
+@lilypond[quote,verbatim]
+\relative {
+ c''4 \grace b16 a4(
+ \grace { b16 c16 } a2)
+}
@end lilypond
装飾音符には他にも 3 つのタイプがあります。@c
@emph{acciaccatura} のようにスラッシュ付きの符幹を持つが@c
スラーは付かない装飾小音符を譜刻することもできます。
-Lilypond はさらに 2 つ特殊なタイプの装飾小音符をサポートします:
+LilyPond はさらに 2 つ特殊なタイプの装飾小音符をサポートします:
@emph{acciaccatura} (長さを持たない装飾小音符で、@c
スラッシュ付きの符幹を持つスラーでつなげられる小さな音符) と
@emph{appoggiatura} (一定の比率で主音符から演奏時間をとり、@c
スラッシュを持たない小さな音符で譜刻されます) です。
-@lilypond[quote,relative=2,verbatim]
-\acciaccatura d8 c4
-\appoggiatura e8 d4
-\acciaccatura { g16 f } e2
-\slashedGrace a,8 g4
-\slashedGrace b16 a4(
-\slashedGrace b8 a2)
+@lilypond[quote,verbatim]
+\relative {
+ \acciaccatura d''8 c4
+ \appoggiatura e8 d4
+ \acciaccatura { g16 f } e2
+ \slashedGrace a,8 g4
+ \slashedGrace b16 a4(
+ \slashedGrace b8 a2)
+}
@end lilypond
装飾小音符の配置は他の譜と同期されます。@c
以下の例では、8 分の装飾小音符 1 つに対して 2 つの 16 分装飾小音符が@c
割り当てられています:
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Staff { e2 \grace { c16 d e f } e2 }
- \new Staff { c2 \grace { g8 b } c2 }
+ \new Staff \relative { e''2 \grace { c16 d e f } e2 }
+ \new Staff \relative { c''2 \grace { g8 b } c2 }
>>
@end lilypond
@cindex grace notes, following (装飾小音符を後ろに配置する)
@funindex \afterGrace
-@funindex afterGrace
装飾小音符で記譜を終えたいのならば、@c
@code{\afterGrace} コマンドを使用します。@c
このコマンドは 2 つの引数をとります:
主音符と主音符の後に続く装飾小音符です。
-@lilypond[quote,verbatim,relative=2]
-c1 \afterGrace d1 { c16[ d] } c1
+@lilypond[quote,verbatim]
+\relative { c''1 \afterGrace d1 { c16[ d] } c1 }
@end lilypond
これは主音符の長さの 3/4 のスペースをとった後に@c
以下の例では、スペースをデフォルト、主音符の 15/16、最後は 1/2 に@c
設定した結果を示しています。
-@lilypond[quote,verbatim,relative=2]
+@lilypond[quote,verbatim]
<<
- \new Staff {
- c1 \afterGrace d1 { c16[ d] } c1
+ \new Staff \relative {
+ c''1 \afterGrace d1 { c16[ d] } c1
}
- \new Staff {
+ \new Staff \relative {
#(define afterGraceFraction (cons 15 16))
- c1 \afterGrace d1 { c16[ d] } c1
+ c''1 \afterGrace d1 { c16[ d] } c1
}
- \new Staff {
+ \new Staff \relative {
#(define afterGraceFraction (cons 1 2))
- c1 \afterGrace d1 { c16[ d] } c1
+ c''1 \afterGrace d1 { c16[ d] } c1
}
>>
@end lilypond
以下の例では、主音符の長さの 7/8 のスペースをとった後に装飾小音符を@c
配置しています。
-@lilypond[quote,verbatim,relative=2]
-\new Voice {
+@lilypond[quote,verbatim]
+\new Voice \relative {
<<
- { d1^\trill_( }
+ { d''1^\trill_( }
{ s2 s4. \grace { c16 d } }
>>
c1)
以下の例では、装飾小音符の符幹のデフォルトの向きがオーバライドされ、@c
それから元に戻されています。
-@lilypond[quote,verbatim,relative=2]
-\new Voice {
+@lilypond[quote,verbatim]
+\new Voice \relative {
\acciaccatura {
\stemDown
- f16->
+ f''16->
\stemNeutral
}
g4 e c2
装飾小音符を持つ譜と持たない譜を混在させる場合は気をつけて下さい。@c
例えば:
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Staff { e4 \bar ".|:" \grace c16 d2. }
- \new Staff { c4 \bar ".|:" d2. }
+ \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
+ \new Staff \relative { c''4 \bar ".|:" d2. }
>>
@end lilypond
装飾小音符を挿入することによって修正することができます。@c
上の例を以下のように修正します:
-@lilypond[quote,relative=2,verbatim]
+@lilypond[quote,verbatim]
<<
- \new Staff { e4 \bar ".|:" \grace c16 d2. }
- \new Staff { c4 \bar ".|:" \grace s16 d2. }
+ \new Staff \relative { e''4 \bar ".|:" \grace c16 d2. }
+ \new Staff \relative { c''4 \bar ".|:" \grace s16 d2. }
>>
@end lilypond
その音楽表記と同じ長さの複数小節休符または @code{\skip} を生成します。
@lilypond[verbatim,quote]
-MyCadenza = \relative c' {
- c4 d8 e f g g4
+MyCadenza = \relative {
+ c'4 d8 e f g g4
f2 g4 g
}
次の小節線は 5/4 ではなく 9/8 の位置で引かれます。
@lilypond[quote,verbatim]
-\new Voice \relative c' {
+\new Voice \relative {
\set Timing.measureLength = #(ly:make-moment 5/4)
- c1 c4 |
+ c'1 c4 |
c1 c4 |
c4 c
\set Timing.measurePosition = #(ly:make-moment 5/8)