@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
@ignore
- Translation of GIT committish: fabcd22c8f88ea9a87241597f1e48c0a9adbfc6e
+ Translation of GIT committish: eb38c33a95cbe6adf9f176dfbb794373ec062605
When revising a translation, copy the HEAD committish of the
version that you are working on. See TRANSLATION for details.
@end ignore
-@c \version "2.17.30"
+@c \version "2.19.21"
-@c Translators: Yoshiki Sawada
+@c Translators: Tomohiro Tatejima, Yoshiki Sawada
@c Translation status: post-GDP
* 新たに譜をインスタンス化する::
* 譜をグループ化する::
* ネストされた譜グループ::
-* Separating systems::
+* システムを分割する::
@end menu
@cindex tablature (タブ譜)
@funindex \drummode
-@funindex drummode
@funindex DrumStaff
@funindex RhythmicStaff
@funindex TabStaff
基本的な譜コンテキストは @code{Staff} です:
-@lilypond[verbatim,quote,relative=2]
-\new Staff { c4 d e f }
+@lilypond[verbatim,quote]
+\new Staff \relative { c''4 d e f }
@end lilypond
@code{DrumStaff} コンテキストは、一般的なドラム セットのための 5 線譜を@c
(ピッチは無視されますが) 演奏時間が保持されます。@c
詳細は @ref{Showing melody rhythms} を参照してください。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new RhythmicStaff { c4 d e f }
@end lilypond
@code{TabStaff} は、標準のギター チューニングの 6 弦のタブ譜を作成します。@c
詳細は @ref{Default tablatures} を参照してください。
-@lilypond[verbatim,quote,relative=2]
-\new TabStaff { c4 d e f }
+@lilypond[verbatim,quote]
+\new TabStaff \relative { c''4 d e f }
@end lilypond
古代音楽の記譜法のために 2 つの譜コンテキストが用意されています:
現代グレゴリア聖歌を記譜するための譜を作成します。@c
これは小節線を譜刻しません。
-@lilypond[verbatim,quote,relative=2]
-\new GregorianTranscriptionStaff { c4 d e f e d }
+@lilypond[verbatim,quote]
+\new GregorianTranscriptionStaff \relative { c''4 d e f e d }
@end lilypond
新たに単一譜コンテキストを定義する場合があります。@c
コンテキストが指定されていない場合、デフォルトのプロパティが使用されます:
グループは垂直の線で始まり、小節線はつながりません。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
<<
- \new Staff { c1 c }
- \new Staff { c1 c }
+ \new Staff \relative { c''1 c }
+ \new Staff \relative { c''1 c }
>>
@end lilypond
@code{StaffGroup} コンテキストでは、グループは角括弧で始まり、@c
小節線はすべての譜を貫いて刻譜されます。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new StaffGroup <<
- \new Staff { c1 c }
- \new Staff { c1 c }
+ \new Staff \relative { c''1 c }
+ \new Staff \relative { c''1 c }
>>
@end lilypond
@code{ChoirStaff} では、グループは角括弧で始まりますが、小節線はつながりません。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new ChoirStaff <<
- \new Staff { c1 c }
- \new Staff { c1 c }
+ \new Staff \relative { c''1 c }
+ \new Staff \relative { c''1 c }
>>
@end lilypond
@code{GrandStaff} では、グループは波括弧で始まり、小節線はすべての譜を貫きます。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new GrandStaff <<
- \new Staff { c1 c }
- \new Staff { c1 c }
+ \new Staff \relative { c''1 c }
+ \new Staff \relative { c''1 c }
>>
@end lilypond
例外として楽器名を刻譜することができます。@c
詳細は @ref{Instrument names} を参照してください。
-@lilypond[verbatim,quote,relative=2]
-\new PianoStaff <<
- \set PianoStaff.instrumentName = #"Piano"
- \new Staff { c1 c }
- \new Staff { c1 c }
+@lilypond[verbatim,quote]
+\new PianoStaff \with { instrumentName = #"Piano" }
+<<
+ \new Staff \relative { c''1 c }
+ \new Staff \relative { \clef bass c1 c }
>>
@end lilypond
@lilypondfile[verbatim,quote,texidoc,doctitle]
{display-bracket-with-only-one-staff-in-a-system.ly}
-@c 未訳
-@cindex mensurstriche layout
-@cindex renaissance music)
-@cindex transcription of mensural music
-@cindex mensural music, transcription of
+@cindex mensurstriche layout (計量音楽風のレイアウト)
+@cindex renaissance music (ルネサンス音楽)
+@cindex transcription of mensural music (計量音楽の編曲)
+@cindex mensural music, transcription of (計量音楽の編曲)
@lilypondfile[verbatim,quote,texidoc,doctitle]
{mensurstriche-layout-bar-lines-between-the-staves.ly}
@rinternals{SystemStartBracket},
@rinternals{SystemStartSquare}
-@knownissues
-デフォルトでは @code{PianoStaff} は @code{ChordNames} を受け付けません。
-
@node ネストされた譜グループ
@unnumberedsubsubsec ネストされた譜グループ
そうした場合、それぞれの子コンテキストは、@c
親グループの角括弧に隣接して新しい角括弧を作成します。
-@lilypond[verbatim,quote,relative=2]@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new StaffGroup <<
- \new Staff { c2 c | c2 c }
+ \new Staff \relative { c''2 c | c2 c }
\new StaffGroup <<
- \new Staff { g2 g | g2 g }
+ \new Staff \relative { g'2 g | g2 g }
\new StaffGroup \with {
systemStartDelimiter = #'SystemStartSquare
}
<<
- \new Staff { e2 e | e2 e }
- \new Staff { c2 c | c2 c }
+ \new Staff \relative { e'2 e | e2 e }
+ \new Staff \relative { c'2 c | c2 c }
>>
>>
>>
@rinternals{SystemStartSquare}
-@c 未訳
-@node Separating systems
-@unnumberedsubsubsec Separating systems
+@node システムを分割する
+@unnumberedsubsubsec システムを分割する
+@translationof Separating systems
-@cindex system separator mark
+@cindex system separator mark (システム分割記号)
-If the number of systems per page changes from page to page it is
-customary to separate the systems by placing a system separator mark
-between them. By default the system separator is blank, but can be
-turned on with a @code{\paper} option.
+1 ページあたりのシステムの数がページによって異なる場合、@c
+システム分割記号を間に置くことでシステムを分割するという慣習があります。@c
+デフォルトでは、システム分割記号は空になっていますが、
+@code{\paper} オプションで有効にすることができます。
@c \book is required here to display the system separator
@c ragged-right is required as there are two systems
+@c KEEP LY
@lilypond[verbatim,quote,ragged-right]
\book {
\score {
\new StaffGroup <<
\new Staff {
- \relative c'' {
- c4 c c c
+ \relative {
+ c''4 c c c
\break
c4 c c c
}
}
\new Staff {
- \relative c'' {
- c4 c c c
+ \relative {
+ c''4 c c c
\break
c4 c c c
}
}
\paper {
system-separator-markup = \slashSeparator
- % following commands are needed only to format this documentation
+ % 以下のコマンドはこのドキュメントでの体裁を整えるためだけのものです
paper-width = 100\mm
paper-height = 100\mm
tagline = ##f
@ref{Page layout}
コード断片集:
-@rlsr{Staff notation}.
+@rlsr{Staff notation}
@node 個々の譜を変更する
@cindex ledger lines, modifying (加線を変更する)
@funindex \startStaff
-@funindex startStaff
@funindex \stopStaff
-@funindex stopStaff
@code{\stopStaff} コマンドと @code{\startStaff} コマンドを使って、@c
楽譜内の任意の場所で譜線を停止あるいは (再) 開始させることができます。
-@lilypond[verbatim,quote,relative=2]
-\stopStaff f4 d \startStaff g, e
-f'4 d \stopStaff g, e
-f'4 d \startStaff g, e
+@lilypond[verbatim,quote]
+\relative {
+ \stopStaff f''4 d \startStaff g, e
+ f'4 d \stopStaff g, e
+ f'4 d \startStaff g, e
+}
@end lilypond
+
@predefined
@code{\stopStaff}
@endpredefined
-@code{StaffSymbol} グラフィカル オブジェクト (加線を含む) に属する譜の線は@c
+譜の線 (加線を含む) は @code{StaffSymbol} グラフィカル オブジェクトに属し、
@code{StaffSymbol} プロパティを用いて変更することができます。@c
しかしながら、変更は譜が (再) 開始する前に行う必要があります。
譜線の本数を変更することができます:
-@lilypond[verbatim,quote,relative=2]
-f4 d \stopStaff
-\override Staff.StaffSymbol.line-count = #2
-\startStaff g, e |
-
-f'4 d \stopStaff
-\revert Staff.StaffSymbol.line-count
-\startStaff g, e |
+@lilypond[verbatim,quote]
+\relative {
+ f''4 d \stopStaff
+ \override Staff.StaffSymbol.line-count = #2
+ \startStaff g, e |
+
+ f'4 d \stopStaff
+ \revert Staff.StaffSymbol.line-count
+ \startStaff g, e |
+}
@end lilypond
各譜線の位置を変更することもできます。@c
-値の単位は譜線の間隔の @emph{半分} で、@c
-新しい位置は通常の中央線からの相対位置です。@c
+数字のリストでそれぞれの譜線の位置を指定します。@c
+@code{0}@tie{}は通常の譜における中央の線で、@c
+通常の譜の譜線の位置は @code{(-4@tie{}-2@tie{}0@tie{}2@tie{}4)} となります。
1 つの値に対して 1 本の譜線が譜刻されるので、@c
1 つのオーバライドで譜線の位置と本数を変更することができます。
-@lilypond[verbatim,quote,relative=2]
-f4 d \stopStaff
-\override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
-\startStaff g, e |
-f'4 d \stopStaff
-\override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
-\startStaff g, e
+@lilypond[verbatim,quote]
+\relative {
+ f''4 d \stopStaff
+ \override Staff.StaffSymbol.line-positions = #'(1 3 5 -1 -3)
+ \startStaff g, e |
+ f'4 d \stopStaff
+ \override Staff.StaffSymbol.line-positions = #'(8 6.5 -6 -8 -0.5)
+ \startStaff g, e |
+}
@end lilypond
+符幹の向きが通常通り (譜の下半分では上向き、上半分では下向き) になるように、@c
+カスタマイズした譜では中央の線 (あるいは「間」) を通常の中央の位置 (0) に@c
+配置するようにしてください。
新しい譜線に対応して、@c
-音部記号とミドル C の位置を調節する必要があるかもしれません。@c
+音部記号とミドル@tie{}C の位置を調節する必要があるかもしれません。@c
@ref{Clef} を参照してください。
譜線の太さを変えることができます。@c
デフォルトでは、加線 (訳者注: ledger line, 譜の上下に突き出た符頭と符幹に@c
付けられる短い譜線) と符幹の太さも影響を受けます。@c
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
\override StaffSymbol.thickness = #3
+} \relative {
+ f''4 d g, e
}
-{ f4 d g, e }
@end lilypond
-しかしながら、加線の太さを譜線の太さから独立して設定することができます。@c
-2 つの値は譜線の太さと譜線の間隔に掛け算され、@c
-それらを加算した値が加線の太さになります。
+加線の太さを譜線の太さから独立して設定することもできます。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
\override StaffSymbol.thickness = #2
\override StaffSymbol.ledger-line-thickness = #'(0.5 . 0.4)
+} \relative {
+ f'''4 a, a,, f
}
-{ f'4 a, a,, f }
@end lilypond
+@noindent
+1 つ目の値は譜線の太さに、2 つ目は譜線の間隔に掛け算され、@c
+それら 2 つの値を加算した値が加線の太さになります。
+
加線の垂直方向の位置を変更することができます:
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
\override StaffSymbol.ledger-positions = #'(-3 -2 -1 2 5 6)
+} \relative {
+ f'''4 a, a,, f
}
-{ f'4 a, a,, f }
@end lilypond
符頭の位置と加線を持つ他の符頭との関係に応じて、@c
符頭の上または下に追加の加線を配置することできます。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
\override StaffSymbol.ledger-extra = #4
+} \relative {
+ f'''4 a, d, f,
}
-{ f'4 a, d, f, }
@end lilypond
譜の内部に加線を表示させることもできます。@c
以下の例で、@code{StaffSymbol} 全体に対する @code{\override} を元に戻すには@c
@code{\stopStaff} を行う必要があります。
-@lilypond[fragment,quote,relative=1]
-\override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
-d4 e f g
-\stopStaff
-\startStaff
-\override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
-d4 e f g
+@lilypond[verbatim,quote]
+\relative d' {
+ \override Staff.StaffSymbol.line-positions = #'(-8 0 2 4)
+ d4 e f g
+ \stopStaff
+ \startStaff
+ \override Staff.StaffSymbol.ledger-positions = #'(-8 -6 (-4 -2) 0)
+ d4 e f g
+}
@end lilypond
譜線の間隔を変えることができます。この設定は加線の間隔にも影響を与えます。
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
\override StaffSymbol.staff-space = #1.5
+} \relative {
+ f'''4 d, g, e,
}
-{ f'4 d, g, e, }
@end lilypond
@snippets
@unnumberedsubsubsec オッシア譜
@translationof Ossia staves
-@c 未訳
-@cindex staff, Frenched
+@cindex staff, Frenched (隠された譜)
@cindex ossia (オッシア)
-@c 未訳
-@cindex Frenched staves
+@cindex Frenched staves (隠された譜)
@cindex staff, resizing of (譜をリサイズする)
@cindex resizing of staves (譜をリサイズする)
@funindex \startStaff
-@funindex startStaff
@funindex \stopStaff
-@funindex stopStaff
適切な位置で新しく同時進行の譜を作成することによって、@c
@notation{オッシア} 譜をセットすることができます:
@lilypond[verbatim,quote]
-\new Staff \relative c'' {
- c4 b d c
+\new Staff \relative {
+ c''4 b d c
<<
{ c4 b d c }
\new Staff { e4 d f e }
最も適切な方法です。
@lilypond[verbatim,quote]
-\new Staff = main \relative c'' {
- c4 b d c
+\new Staff = "main" \relative {
+ c''4 b d c
<<
{ c4 b d c }
\new Staff \with {
\remove "Time_signature_engraver"
alignAboveContext = #"main"
- fontSize = #-3
- \override StaffSymbol.staff-space = #(magstep -3)
- \override StaffSymbol.thickness = #(magstep -3)
+ \magnifyStaff #2/3
firstClef = ##f
}
{ e4 d f e }
@lilypond[verbatim,quote,ragged-right]
<<
- \new Staff = ossia \with {
+ \new Staff = "ossia" \with {
\remove "Time_signature_engraver"
\hide Clef
- fontSize = #-3
- \override StaffSymbol.staff-space = #(magstep -3)
- \override StaffSymbol.thickness = #(magstep -3)
+ \magnifyStaff #2/3
}
{ \stopStaff s1*6 }
- \new Staff \relative c' {
- c4 b c2
+ \new Staff \relative {
+ c'4 b c2
<<
{ e4 f e2 }
- \context Staff = ossia {
+ \context Staff = "ossia" {
\startStaff e4 g8 f e2 \stopStaff
}
>>
c4 b c2
<<
{ g4 a g2 }
- \context Staff = ossia {
+ \context Staff = "ossia" {
\startStaff g4 e8 f g2 \stopStaff
}
>>
@end lilypond
オッシア譜を作成するための代替手段として、@c
-@code{\RemoveEmptyStaffContext} コマンドが用いられるかもしれません。@c
+@code{\RemoveAllEmptyStaves} コマンドが用いられるかもしれません。@c
この手法は、オッシア譜が改行の直後に発生する場合、最も便利な手法です。@c
@c そのようなケースでは、空白休符を使用する必要はまったくありません:
@c @code{\startStaff} と @code{\stopStaff} が必要であるだけです。@c
-@code{\RemoveEmptyStaffContext} についての更なる情報は、@c
+@code{\RemoveAllEmptyStaves} についての更なる情報は、@c
@ref{Hiding staves} を参照してください。
@lilypond[verbatim,quote,ragged-right]
<<
- \new Staff = ossia \with {
+ \new Staff = "ossia" \with {
\remove "Time_signature_engraver"
\hide Clef
- fontSize = #-3
- \override StaffSymbol.staff-space = #(magstep -3)
- \override StaffSymbol.thickness = #(magstep -3)
- } \relative c'' {
+ \magnifyStaff #2/3
+ \RemoveAllEmptyStaves
+ } \relative {
R1*3
- c4 e8 d c2
+ c''4 e8 d c2
}
- \new Staff \relative c' {
- c4 b c2
+ \new Staff \relative {
+ c'4 b c2
e4 f e2
g4 a g2 \break
c4 b c2
e4 d c2
}
>>
-
-\layout {
- \context {
- \Staff \RemoveEmptyStaves
- \override VerticalAxisGroup.remove-first = ##t
- }
-}
@end lilypond
@unnumberedsubsubsec 譜を隠す
@translationof Hiding staves
-@c 未訳
-@cindex Frenched score
-@c 未訳
-@cindex Frenched staff
+@cindex Frenched score (譜が隠された楽譜)
+@cindex Frenched staff (隠された譜)
@cindex staff, hiding (譜を隠す)
@cindex staff, empty (空の譜)
-@cindex hiding of staves (譜を隠す)
+@cindex hiding staves (譜を隠す)
+@cindex hiding ancient staves (古代譜を隠す)
+@cindex hiding rhythmic staves (リズム譜を隠す)
+@cindex hiding vaticana staves (バチカン譜を隠す)
@cindex empty staves (空の譜)
@funindex \RemoveEmptyStaves
+@funindex \RemoveAllEmptyStaves
@funindex Staff_symbol_engraver
@funindex \stopStaff
-@funindex stopStaff
@code{Staff} コンテキストから @code{Staff_symbol_engraver} を@c
削除することによって、譜線を隠すことができます。@c
\new Staff \with {
\remove "Staff_symbol_engraver"
}
-\relative c''' { a8 f e16 d c b a2 }
+\relative { a''8 f e16 d c b a2 }
@end lilypond
-@c 未訳: Frenched Score
-@code{\layout} ブロックの中で
-@code{\RemoveEmptyStaffContext} コマンドをセットすることによって、@c
-空の譜を隠すことができます。@c
-オーケストラ譜では、@c
-このようなスタイルの譜は @q{Frenched Score} として知られています。@c
-デフォルトでは、このコマンドは@c
-最初のシステム以外のところにあるすべての空の譜を隠して、削除します。
+@c Frenched Score
+@c 適当な訳語が見つからないため、原文のままとし、
+@c index中では「隠された譜」などとした
+空の譜は隠すことができます (いわゆる @q{Frenched Score} にするため)。@c
+これは、コンテキスト中で @code{\RemoveEmptyStaves} を適用することで@c
+実現できます。(@code{\layout} ブロック内に適用することによって) 楽譜全体に@c
+設定することも、(@code{\with} ブロック内に適用することによって) 特定の譜に@c
+限定することもできます。このコマンドは、最初のシステムを除いて、@c
+楽譜内にある全ての空の譜を削除します。最初のシステムにある譜も隠したい場合は、@c
+@code{\RemoveAllEmptyStaves} を使ってください。サポートしているコンテキストは
+@code{Staff}, @code{RhythmicStaff}, @code{VaticanaStaff} です。
@warning{譜が空であると見なされるのは、@c
それが複数小節にわたる休符、休符、スキップ、空白休符、@c
@lilypond[verbatim,quote,ragged-right]
\layout {
\context {
- \Staff \RemoveEmptyStaves
+ \Staff
+ \RemoveEmptyStaves
}
}
-\relative c' <<
+\relative <<
\new Staff {
- e4 f g a \break
+ e'4 f g a \break
b1 \break
a4 b c2
}
@noindent
譜に対してオッシア セクションを作成するために、@c
-@code{\RemoveEmptyStaffContext} を用いることもできます。@c
+@code{\RemoveAllEmptyStaves} を用いることもできます。@c
詳細は @ref{Ossia staves} を参照してください。
-@cindex hiding ancient staves (古代譜を隠す)
-@cindex hiding rhythmic staves (リズム譜を隠す)
-
-@funindex \RemoveEmptyStaves
-
-古代音楽コンテキストの中にある空の譜を隠すために、@c
-@code{\VaticanaStaff \RemoveEmptyStaves} コマンドが用いられることがあります。@c
-同様に、空の @code{RhythmicStaff} コンテキストを隠すために、@c
-@code{\RhythmicStaff \RemoveEmptyStaves} が用いられることがあります。
-
-
@predefined
-@code{\Staff \RemoveEmptyStaves},
-@code{\VaticanaStaff \RemoveEmptyStaves},
-@code{\RhythmicStaff \RemoveEmptyStaves}
+@code{\RemoveEmptyStaves},
+@code{\RemoveAllEmptyStaves}
@endpredefined
-
-@snippets
-
-@lilypondfile[verbatim,quote,texidoc,doctitle]
-{removing-the-first-empty-line.ly}
-
@seealso
音楽用語集:
@rglos{Frenched staff}
@code{shortInstrumentName} の値がそれに続くすべての@c
行の譜に対して使用されます。
-@lilypond[verbatim,quote,ragged-right,relative=1]
+@lilypond[verbatim,quote,ragged-right]
\new Staff \with {
instrumentName = #"Violin "
shortInstrumentName = #"Vln. "
+} \relative {
+ c'4.. g'16 c4.. g'16 \break | c1 |
}
-{ c4.. g'16 c4.. g'16 \break | c1 }
@end lilypond
@cindex instrument names, complex (複雑な楽器名)
@code{\markup} を用いて、より複雑な楽器名を作成することができます:
-@lilypond[verbatim,quote,relative=2]
+@lilypond[verbatim,quote]
\new Staff \with {
instrumentName = \markup {
\column { "Clarinetti"
\line { "in B" \smaller \flat }
}
}
+} \relative {
+ c''4 c,16 d e f g2
}
-{ c4 c,16 d e f g2 }
@end lilypond
@cindex instrument names, centering (楽器名を中央揃えする)
複数行にわたる楽器名を中央揃えするには、@c
@code{\center-column} を用いる必要があります:
-@lilypond[verbatim,quote,indent=1.5\cm,relative=2]
+@lilypond[verbatim,quote,indent=1.5\cm]
<<
\new Staff \with {
instrumentName = #"Flute"
- }
- { f2 g4 f }
+ } \relative {
+ f''2 g4 f
+}
\new Staff \with {
instrumentName = \markup {
\center-column { "Clarinet"
\line { "in B" \smaller \flat }
}
}
- }
- { c4 b c2 }
+ } \relative { c''4 b c2 }
>>
@end lilypond
を参照してください。
@lilypond[verbatim,quote,ragged-right]
-\relative c'' {
- <<
- \new Staff \with {
- instrumentName = #"Alto Flute in G"
- shortInstrumentName = #"Flt."
- }
- {
- f2 g4 f \break
- g4 f g2
- }
- \new Staff \with {
- instrumentName = #"Clarinet"
- shortInstrumentName = #"Clar."
- }
- {
- c,4 b c2 \break
- c2 b4 c
- }
- >>
-}
+<<
+ \new Staff \with {
+ instrumentName = #"Alto Flute in G"
+ shortInstrumentName = #"Flt."
+ } \relative {
+ f''2 g4 f \break
+ g4 f g2
+ }
+ \new Staff \with {
+ instrumentName = #"Clarinet"
+ shortInstrumentName = #"Clar."
+ } \relative {
+ c''4 b c2 \break
+ c2 b4 c
+ }
+>>
\layout {
indent = 3.0\cm
@cindex instrument names, changing (楽器名を変更する)
@cindex changing instrument names (楽器名を変更する)
-楽曲の途中で @code{shortInstrumentName} を変更することもできます。@c
+楽曲の途中で @code{shortInstrumentName} や、新しい楽器に必要なその他の設定を@c
+変更することもできます。@c
しかしながら、@code{instrumentName} は最初のインスタンスが譜刻され、@c
楽曲の途中での変更は無視されます:
-@lilypond[verbatim,quote,ragged-right,relative=1]
-\new Staff \with {
- instrumentName = #"Flute"
- shortInstrumentName = #"Flt."
-}
-{
- c1 c c c \break
- c1 c c c \break
- \set Staff.instrumentName = #"Clarinet"
- \set Staff.shortInstrumentName = #"Clt."
- c1 c c c \break
- c1 c c c \break
-}
-@end lilypond
-
-@cindex instrument switch (楽器を切り換える)
-@cindex switching instruments (楽器を切り換える)
+@lilypond[verbatim,quote,ragged-right]
+prepPiccolo = <>^\markup \italic { muta in Piccolo }
-@funindex \addInstrumentDefinition
-@funindex addInstrumentDefinition
-@funindex \instrumentSwitch
-@funindex instrumentSwitch
+prepFlute = <>^\markup \italic { muta in Flauto }
-楽器の @emph{切り替え} が必要な場合、切り替えのために必要とされる@c
-変更の詳細なリストを作成するために、@code{\addInstrumentDefinition} を
-@code{\instrumentSwitch} と組み合わせて使用することがあります。@c
-@code{\addInstrumentDefinition} コマンドは 2 つの引数をとります:
-識別文字列と、楽器で使用されるコンテキスト プロパティと値の連想リストです。@c
-このコマンドは最上位のスコープに配置する必要があります。@c
-@code{\instrumentSwitch} は音楽表記の中で使用され、楽器の切り替えを宣言します:
+setPiccolo = {
+ <>^\markup \bold { Piccolo }
+ \transposition c''
+}
-@lilypond[verbatim,quote,ragged-right]
-\addInstrumentDefinition #"contrabassoon"
- #`((instrumentTransposition . ,(ly:make-pitch -1 0 0))
- (shortInstrumentName . "Cbsn.")
- (clefGlyph . "clefs.F")
- (middleCPosition . 6)
- (clefPosition . 2)
- (instrumentCueName . ,(make-bold-markup "cbsn."))
- (midiInstrument . "bassoon"))
+setFlute = {
+ <>^\markup \bold { Flute }
+ \transposition c'
+}
\new Staff \with {
- instrumentName = #"Bassoon"
+ instrumentName = #"Flute"
+ shortInstrumentName = #"Flt."
}
-\relative c' {
- \clef tenor
- \compressFullBarRests
- c2 g'
- R1*16
- \instrumentSwitch "contrabassoon"
- c,,2 g \break
- c,1 ~ | c1
+\relative {
+ g'1 g g g \break
+ g1 g \prepPiccolo R R \break
+ \set Staff.instrumentName = #"Piccolo"
+ \set Staff.shortInstrumentName = #"Picc."
+ \setPiccolo
+ g1 g g g \break
+ g1 g \prepFlute R R \break
+ \set Staff.instrumentName = #"Flute"
+ \set Staff.shortInstrumentName = #"Flt."
+ \setFlute
+ g1 g g g
}
@end lilypond
@cindex cue notes (演奏指示音符)
@funindex \addQuote
-@funindex addQuote
@funindex \quoteDuring
-@funindex quoteDuring
@funindex \transposition
-@funindex transposition
あるボイスが他のボイスと同じ音符を演奏することはごく一般的なことです。@c
例えば、第 1 バイオリンと第2バイオリンがあるパッセージで同じフレーズを@c
引用部分の演奏時間を示す音楽表記です。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- a4 gis g gis | b4^"quoted" r8 ais\p a4( f)
+fluteNotes = \relative {
+ a'4 gis g gis | b4^"quoted" r8 ais\p a4( f)
}
-oboeNotes = \relative c'' {
- c4 cis c b \quoteDuring #"flute" { s1 }
+oboeNotes = \relative {
+ c''4 cis c b \quoteDuring #"flute" { s1 }
}
\addQuote "flute" { \fluteNotes }
引用は多声となり、予期しない結果となる可能性があります。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- a4 gis g gis | b4^"quoted" r8 ais\p a4( f)
+fluteNotes = \relative {
+ a'4 gis g gis | b4^"quoted" r8 ais\p a4( f)
}
-oboeNotes = \relative c'' {
- c4 cis c b \quoteDuring #"flute" { e4 r8 ais b4 a }
+oboeNotes = \relative {
+ c''4 cis c b \quoteDuring #"flute" { e4 r8 ais b4 a }
}
\addQuote "flute" { \fluteNotes }
}
@end lilypond
+@code{\unfoldRepeats} コマンドを @code{\quoteDuring} と一緒に使う場合、@c
+引用の中でも @code{\unfoldRepeats} コマンドを使わなければなりません:
+
+@lilypond[verbatim,quote]
+fluteNotes = \relative {
+ \repeat volta 2 { a'4 gis g gis }
+}
+
+oboeNotesDW = \relative {
+ \repeat volta 2 \quoteDuring #"incorrect" { s1 }
+}
+
+oboeNotesW = \relative {
+ \repeat volta 2 \quoteDuring #"correct" { s1 }
+}
+
+
+\addQuote "incorrect" { \fluteNotes }
+
+\addQuote "correct" { \unfoldRepeats \fluteNotes }
+
+\score {
+ \unfoldRepeats
+ <<
+ \new Staff \with { instrumentName = "Flute" }
+ \fluteNotes
+ \new Staff \with { instrumentName = "Oboe (incorrect)" }
+ \oboeNotesDW
+ \new Staff \with { instrumentName = "Oboe (correct)" }
+ \oboeNotesW
+ >>
+}
+@end lilypond
+
@code{\quoteDuring} コマンドは引用されるパートと引用するパート両方の
@code{\transposition} を使用して、@c
引用されるパートと同じ響きのピッチに変換して、@c
b4 ais a ais | cis4^"quoted" r8 bis\p b4( f)
}
-oboeNotes = \relative c'' {
- c4 cis c b \quoteDuring #"clarinet" { s1 }
+oboeNotes = \relative {
+ c''4 cis c b \quoteDuring #"clarinet" { s1 }
}
\addQuote "clarinet" { \clarinetNotes }
@cindex articulation-event
@cindex dynamic-event
@cindex rest-event
+@cindex slur-event
+@cindex crescendo-event
@funindex quotedEventTypes
@funindex quotedCueEventTypes
引用される音楽から引用するオブジェクトを選択することが可能です。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- a2 g2 |
+fluteNotes = \relative {
+ a'2 g2 |
b4\<^"quoted" r8 ais a4\f( c->)
}
-oboeNotes = \relative c'' {
- c2. b4 |
+oboeNotes = \relative {
+ c''2. b4 |
\quoteDuring #"flute" { s1 }
}
@ref{Instrument transpositions},
@ref{Using tags}
+インストールされているファイル:
+@file{scm/define-event-classes.scm}.
+
コード断片集:
@rlsr{Staff notation}
@translationof Formatting cue notes
@cindex cue notes (合図音符)
-@cindex fragments (楽譜の一部分)
+@cindex fragments (楽曲の断片)
@cindex cue notes, formatting (合図音符をフォーマットする)
@cindex formatting, cue notes (合図音符をフォーマットする)
@cindex voices, quoting(ボイスを引用する)
@funindex \cueDuring
-@funindex cueDuring
@funindex \cueClef
-@funindex cueClef
@funindex \cueDuringWithClef
-@funindex cueDuringWithClef
@funindex \quoteDuring
-@funindex quoteDuring
@cindex notes, smaller (小さな音符)
@cindex smaller notes (小さな音符)
合図音符をフォーマットする最も簡単な方法は、@c
パートの中で明示的に @code{CueVoice} コンテキストを作成することです。
-@lilypond[verbatim,relative=1]
-R1
-<<
- { e2\rest r4. e8 }
- \new CueVoice {
- \stemUp d'8^"flute" c d e fis2
- }
->>
-d,4 r a r
+@lilypond[verbatim]
+\relative {
+ R1
+ <<
+ { e'2\rest r4. e8 }
+ \new CueVoice {
+ \stemUp d'8^"flute" c d e fis2
+ }
+ >>
+ d,4 r a r
+}
@end lilypond
音部記号の変更が必要で、合図音符に適切なサイズの音部記号を譜刻する場合、@c
その後、@code{\cueClefUnset} コマンドを用いて、@c
オリジナルの音部記号 -- 再度、適切なサイズにされた -- に戻すことができます。
-@lilypond[verbatim,noragged-right,relative=1]
-\clef "bass"
-R1
-<<
- { e2\rest r4. \cueClefUnset e,8 }
- \new CueVoice {
- \cueClef "treble" \stemUp d''8^"flute" c d e fis2
- }
->>
-d,,4 r a r
+@lilypond[verbatim,noragged-right]
+\relative {
+ \clef "bass"
+ R1
+ <<
+ { e'2\rest r4. \cueClefUnset e,8 }
+ \new CueVoice {
+ \cueClef "treble" \stemUp d''8^"flute" c d e fis2
+ }
+ >>
+ d,,4 r a r
+}
@end lilypond
必要があれば、@code{CueVoice} 無しで
@code{\cueClef} コマンドと @code{\cueClefUnset} コマンドを用いることもできます。
-@lilypond[verbatim,noragged-right,relative=1]
-\clef "bass"
-R1
-\cueClef "treble"
-d'8^"flute" c d e fis2
-\cueClefUnset
-d,,4 r a r
+@lilypond[verbatim,noragged-right]
+\relative {
+ \clef "bass"
+ R1
+ \cueClef "treble"
+ d''8^"flute" c d e fis2
+ \cueClefUnset
+ d,,4 r a r
+}
@end lilypond
もっと複雑な合図音符
@code{CueVoice} コンテキストとして追加されて
@code{@var{music}} と同時進行して、@c
多声になります。@c
-@code{@var{direction}} は引数 @code{UP} または @code{DOWN} を取り、@c
-それぞれ第 1 及び第 2 ボイスと調和して、@c
+@code{@var{direction}} は引数 @code{UP} または @code{DOWN} を取り
+-- それぞれ第 1 ボイス及び第 2 ボイスと対応します --
合図音符が他のボイスに対してどのように譜刻されるかを決定します。
-このコマンドは @code{@var{partname}} の該当する小節から音符と休符だけを
-@code{CueVoice} にコピーします。@c
-@code{CueVoice} は暗黙的に作成されて @code{@var{music}} と同時進行し、@c
-結果として多声になります。@c
-引数 @code{@var{voice}} は合図音符を第 1 ボイスとして記譜すべきか、@c
-第 2 ボイスとして記譜すべきかを決定します。@c
-@code{UP} は第 1 ボイスに相当し、@code{DOWN} は第 2 ボイスに相当します。
-
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- r2. c4 | d8 c d e fis2 | g2 d |
+fluteNotes = \relative {
+ r2. c''4 | d8 c d e fis2 | g2 d |
}
oboeNotes = \relative c'' {
R1
- \new CueVoice { \set instrumentCueName = "flute" }
+ <>^\markup \tiny { flute }
\cueDuring #"flute" #UP { R1 }
g2 c,
}
}
@end lilypond
+
@noindent
@code{instrumentCueName} プロパティを設定することによって、@c
-@code{\cueDuring} で音楽のどの側面を引用するか調節することができます。@c
+@code{\cueDuring} で音楽のどの部分を引用するか調節することができます。@c
このプロパティのデフォルト値は @code{'(note-event rest-event
tie-event beam-event tuplet-span-event)} であり、音符、休符、タイ、連桁、@c
それに連符だけが引用され、アーティキュレーション、強弱記号、マークアップ等は@c
そうしないと音楽表記全体が @code{CueVoice} コンテキストに属してしまいます。}
@lilypond[verbatim,quote]
-oboeNotes = \relative c'' {
- r2 r8 d16(\f f e g f a)
+oboeNotes = \relative {
+ r2 r8 d''16(\f f e g f a)
g8 g16 g g2.
}
\addQuote "oboe" { \oboeNotes }
}
@end lilypond
-@c ここから L2334
-一時的な @code{CueVoice} コンテキストの中の @code{instrumentCueName}
-プロパティを設定することで、合図を演奏する楽器の名前を表示させることが@c
-できます。@c
-@code{instrumentCueName} の位置とスタイルは @code{\instrumentSwitch}
-オブジェクトによって制御されます -- @ref{Instrument names} を参照して@c
-ください。@c
+引用される楽器の名前を表示するために、マークアップを用いることができます。@c
合図音符が音符記号の変更を必要とする場合、手動で変更することができますが、@c
合図音符が終わったところで手動で元の音部記号に戻す必要がありmす。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- r2. c4 d8 c d e fis2 g2 d2
+fluteNotes = \relative {
+ r2. c''4 d8 c d e fis2 g2 d2
}
bassoonNotes = \relative c {
\clef bass
R1
\clef treble
- \new CueVoice { \set instrumentCueName = "flute" }
+ <>^\markup \tiny { flute }
\cueDuring #"flute" #UP { R1 }
\clef bass
g4. b8 d2
合図音部が終了したところで元の音部記号を自動的に譜刻します。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- r2. c4 d8 c d e fis2 g2 d2
+fluteNotes = \relative {
+ r2. c''4 d8 c d e fis2 g2 d2
}
bassoonNotes = \relative c {
\clef bass
R1
- \new CueVoice { \set instrumentCueName = "flute" }
+ <>^\markup { \tiny "flute" }
\cueDuringWithClef #"flute" #UP #"treble" { R1 }
g4. b8 d2
}
@end lilypond
@funindex \transposedCueDuring
-@funindex transposedCueDuring
@code{\quoteDuring} と同様に、@code{\cueDuring} は楽器の移調を考慮します。@c
合図音符は合図を受け取る楽器のピッチで作り出され、@c
これは、全く別の場所で登録された楽器から合図を取る場合に有用です。
@lilypond[verbatim,quote]
-piccoloNotes = \relative c''' {
+piccoloNotes = \relative {
\clef "treble^8"
R1
- c8 c c e g2
+ c'''8 c c e g2
c4 g g2
}
@cindex cue notes, removing (合図音符を削除する)
@funindex \killCues
-@funindex killCues
-@funindex \addInstrumentDefinition
-@funindex addInstrumentDefinition
@code{\killCues} コマンドは音楽表記から合図音符を削除します。@c
これにより、同じ音楽表記を使って合図を持つ楽器パートと楽譜を作り出すことが@c
@ref{Using tags} を参照してください。
@lilypond[verbatim,quote]
-fluteNotes = \relative c'' {
- r2. c4 d8 c d e fis2 g2 d2
+fluteNotes = \relative {
+ r2. c''4 d8 c d e fis2 g2 d2
}
bassoonNotes = \relative c {
R1
\tag #'part {
\clef treble
- \new CueVoice { \set instrumentCueName = "flute" }
+ <>^\markup \tiny { flute }
}
\cueDuring #"flute" #UP { R1 }
\tag #'part \clef bass