@c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
@ignore
- Translation of GIT committish: c1b0482f63f881bd3f67845e5f76a3e04675ef2a
+ Translation of GIT committish: 76ee88f5adfc7bcd8eff487543e3605e43a93d80
When revising a translation, copy the HEAD committish of the
version that you are working on. For details, see the Contributors'
Guide, node Updating translation committishes..
@end ignore
-@c \version "2.17.28"
+@c \version "2.19.21"
@ignore
Tutorial guidelines: (different from policy.txt!)
-- unless you have a really good reason, use either
+- unless you have a really good reason, use
@lilypond[verbatim,quote]
- or
- @lilypond[verbatim,quote,relative=2]
-
- Don't use any other relative=X commands.
- use "aes" and "ees" instead of "as" and "es". I know it's not
correct Dutch naming, but let's not confuse people with this
@end ignore
-@c Translators: Yoshiki Sawada
+@c Translators: Masamichi Hosoda, Yoshiki Sawada
@c Translation status: post-GDP
@chapter 一般的な記譜法
@translationof Common notation
-このチュートリアルではまず LilyPond 音楽言語についての紹介を行い、@c
-楽譜を作り出す方法について説明します。@c
-LilyPond との最初の接触の後、我々は一般的な音楽記譜法を持つ楽譜を@c
-作成する方法について説明します。
+この章では、@ref{チュートリアル}内の下記素材で、@c
+一般的な音楽記譜法による美しい楽譜を作成する方法を説明します。
@menu
* 単一譜表表記::
一般的な記譜法を紹介します。
@menu
-* 小節チェック::
-* 臨時記号と調号::
+* 小節線と小節チェック::
+* ピッチと調号::
* タイとスラー::
* アーティキュレーションと強弱記号::
* テキストを追加する::
@end menu
+@node 小節線と小節チェック
+@subsection 小節線と小節チェック
+@translationof Bar lines and bar checks
+
+@menu
+* 小節線::
+* 小節チェック::
+@end menu
+
+@node 小節線
+@unnumberedsubsubsec 小節線
+@translationof Bar lines
+
+
+単線の小節線は自動的に挿入されるので、手動で追加する必要はありません。@c
+他の種類の小節線は @code{\bar "||"} で複縦線、@code{\bar "|."} で終止線、@c
+のように @code{\bar} を使って追加します。
+小節線のすべてのリストは @ruser{小節線} を見てください。
+
+@lilypond[verbatim,quote]
+\relative { g'1 e1 \bar "||" c2. c'4 \bar "|." }
+@end lilypond
+
@node 小節チェック
-@subsection 小節チェック
+@unnumberedsubsubsec 小節チェック
@translationof Bar checks
+
必須ではありませんが、入力コードの中で @emph{小節チェック} を挿入して@c
どこに小節線を置こうとしているのかを示すべきです。@c
小節チェックは挿入するには @code{|} を入力します。@c
さらに、小節チェックは要素を整理する助けとなるため、
入力コードが読みやすくなります。
-@lilypond[verbatim,quote,relative=2]
-g1 | e1 | c2. c'4 | g4 c g e | c4 r r2 |
+@c This example deliberately produces a warning
+@lilypond[verbatim,quote]
+\relative {
+ g'1 | e1 | c2. c' | g4 c g e | c4 r r2 |
+}
@end lilypond
+上の例のコードをコンパイルすると、コンソールに以下の警告が出力されます。
+
+@example
+warning: barcheck failed at: 1/2
+ g'1 | e1 | c2. c'
+ | g4 c g e | c4 r r2 |
+@end example
+
+この単純な例では長さの間違いは明確ですが、@c
+コンソール出力の警告は 3 小節目に @code{4} が欠けていることが@c
+効果的にわかります。
+
@seealso
記譜法リファレンス:
@ruser{小節と小節番号のチェック}
-@node 臨時記号と調号
-@subsection 臨時記号と調号
-@translationof Accidentals and key signatures
+@node ピッチと調号
+@subsection ピッチと調号
+@translationof Pitches and key signatures
-@warning{新しいユーザ、特に音楽理論に馴染みのないユーザは@c
-しばしばこれらのことで混乱します
--- このページの最後にある警告を呼んでください!}
+@menu
+* ピッチ変更::
+* 調号::
+* 警告 調号とピッチ::
+@end menu
+
+@warning{新しいユーザはしばしば LilyPond の調号の使い方を誤解します。
+-- このページの最後にある警告を読んでください。}
+
+@node ピッチ変更
+@unnumberedsubsubsec ピッチ変更
+@translationof Pitch alterations
-@subheading 臨時記号
@cindex accidentals (臨時記号)
-@cindex accidentals and key signatures (臨時記号と調号)
+@cindex natural (ナチュラル)
@cindex sharp (シャープ)
@cindex double sharp (ダブル シャープ)
@cindex sharp, double (ダブル シャープ)
@c シャープ (sharp), フラット (flat), ダブル シャープ (double sharp),
@c ダブル フラット (double flat), 臨時記号 (accidental)
+LilyPond の音符名はピッチを示しています。
+例えば、@code{c} は調号に関係なく常に C-ナチュラル を意味します。
+
@notation{シャープ} は音符名に @code{is} を付け加えることによって作られ、@c
@notation{フラット} は @code{es} を付け加えることによって作られます。@c
予想しているかもしれませんが、@notation{ダブル シャープ} や@c
付け加えることによって作られます。@c
この構文はドイツ語やオランダ語のような北欧とドイツの言語@c
での命名規則から生まれました。
-@notation{臨時記号} に対して他の名前を使うには、@c
+@notation{変更} に対して他の名前を使うには、@c
@ruser{他の言語での音符名} を参照してください。
-@lilypond[verbatim,quote,relative=2]
-cis1 ees fisis, aeses
+@lilypond[verbatim,quote]
+\relative { cis''4 ees fisis, aeses }
@end lilypond
-
@cindex key signature, setting
-@subheading 調号
-@c 調号
+
+@node 調号
+@unnumberedsubsubsec 調号
+@translationof Key signatures
+
@cindex key signature (調号)
@cindex major (メジャー)
@cindex layout vs. content (レイアウト vs. 内容)
@funindex \key
-@funindex key
@funindex \major
-@funindex major
@funindex \minor
-@funindex minor
音楽用語集: @rglos{key signature}, @rglos{major}, @rglos{minor}
@notation{調号} はコマンド @code{\key} とそれに続くピッチと
@code{\major} または @code{\minor} によってセットされます。
-@lilypond[verbatim,quote,relative=2]
-\key d \major
-a1
-\key c \minor
-a
+@lilypond[verbatim,quote]
+\relative {
+ \key d \major
+ d'4 fis a c |
+ \bar "||" \key c \minor
+ c,4 ees g b |
+}
@end lilypond
@smallspace
+@node 警告 調号とピッチ
+@unnumberedsubsubsec 警告: 調号とピッチ
+@translationof Warning key signatures and pitches
-@subheading 警告: 調号とピッチ
音楽用語集: @rglos{accidental}, @rglos{key signature},
@rglos{pitch}, @rglos{flat}, @rglos{natural}, @rglos{sharp},
-@rglos{transposition}
-
-@notation{臨時記号} を譜刻するかどうかを決定するために LilyPond はピッチと
-@notation{調号} を検証します。@c
-調号は @emph{譜刻される} 臨時記号にだけ影響を与え、@c
-音符の @notation{ピッチ} には影響を与えません!@c
-この特徴はしばしば新しく LilyPond を始める人を混乱させるため、@c
-より詳細に説明します。
-
-LilyPond は音楽の内容とレイアウトを峻別します。@c
-音符の変更記号 (@notation{フラット}、@notation{ナチュラル}、@c
-@notation{シャープ}) はピッチの一部であるため、音楽の内容です。@c
-臨時記号 (@emph{譜刻される}フラット、ナチュラル、シャープ記号) が@c
-対応する音符の前に譜刻されるかどうかはレイアウトの問題です。@c
-レイアウトは規則に従う何らかのものであるため、@c
-臨時記号はそれらの規則に対応して自動的に譜刻されます。@c
-あなたの音楽の中でのピッチは人工的な仕掛けであるため、@c
-それらは自動的には追加されず、あなたはあなたの聞きたいピッチを@c
-入力しなければなりません。
+@rglos{transposition}, @rglos{Pitch names}.
+
+LilyPond は音楽の内容と印刷表現を区別します。@c
+@code{d4 e fis2} のような入力は、音楽の内容としてピッチと長さを定義します。@c
+@notation{調号} は印刷表現の一部です。@c
+また、調号は音符の印刷表現のルールを設定します。@c
+LilyPond は @notation{臨時記号} を譜刻するかどうかを決定するためにピッチと@c
+@notation{調号} を比較します。@c
+
+コマンド @code{\key} は印刷表現に作用する @notation{調号} を設定しますが、
+@code{c} のような入力中の音符に割り当てられたピッチは変更 @emph{しません}。
以下の例では:
-@lilypond[verbatim,quote,relative=2]
-\key d \major
-cis4 d e fis
+@lilypond[verbatim,quote]
+\relative {
+ \key d \major
+ cis''4 d e fis
+}
@end lilypond
@noindent
そうではなく、@qq{ピッチが B ナチュラルである音符がある} という意味です。@c
A フラット メジャーの調では、@code{b} には臨時記号が付きます:
-@lilypond[verbatim,quote,relative=2]
-\key aes \major
-aes4 c b c
+@lilypond[verbatim,quote]
+\relative {
+ \key aes \major
+ aes'4 c b c
+}
@end lilypond
-混乱してしまいましたか?@c
-以下のように考えてみてください:
あなたがピアノを弾いているとします。@c
黒鍵を押したいのであれば、音符名に @w{@code{-is}} や @w{@code{-es}}
-ã\82\92ä»\98ã\81\91ã\82\8bå¿\85è¦\81ã\81\8cã\81\82ã\82\8bã\81®ã\81§ã\81\99ï¼\81
+ã\82\92ä»\98ã\81\91ã\82\8bå¿\85è¦\81ã\81\8cã\81\82ã\82\8aã\81¾ã\81\99ã\80\82
すべての変化を明示的に付け加えることは入力時にちょっとした努力を@c
要するかもしれません。@c
-しかしながら、移調がより容易になる、異なる規約に対応して臨時記号を@c
+しかしながら、@notation{移調}がより容易になる、@c
+異なる規約に対応して臨時記号を@c
譜刻できるという利点があります。@c
臨時記号がどのように異なる規則に対応して譜刻されるのかについての@c
いくつかの例は、@ruser{自動臨時記号} を参照してください。
@c 臨時記号の自動譜刻
+
@seealso
記譜法リファレンス: @ruser{他の言語での音符名},
@ruser{臨時記号},
@funindex ( ... )
@funindex \( ... \)
+@menu
+* タイ::
+* スラー::
+* フレージング スラー::
+* 警告 スラー vs. タイ::
+@end menu
-@subheading タイ
-
+@node タイ
+@unnumberedsubsubsec タイ
+@translationof Ties
音楽用語集: @rglos{tie}
-@notation{ã\82¿ã\82¤}ã\81¯ã\82¿ã\82¤ã\81\8cå§\8bã\81¾ã\82\8bæ\9c\80å\88\9dã\81®é\9f³ç¬¦ã\81«ã\83\81ã\83«ã\83\89 @code{~} を@c
+@notation{ã\82¿ã\82¤}ã\81¯ã\82¿ã\82¤ã\81§ã\81¤ã\81ªã\81\8cã\82\8b2ã\81¤ã\81®é\9f³ç¬¦ã\81®æ\9c\80å\88\9dã\81®é\9f³ç¬¦ã\81«ã\83\81ã\83«ã\83\80 @code{~} を@c
付加することによって作成されます。
-@lilypond[verbatim,quote,relative=2]
-g4~ g c2~ | c4~ c8 a~ a2 |
+@lilypond[verbatim,quote]
+\relative { g'4~ g c2~ | c4~ c8 a~ a2 | }
+@end lilypond
+
+@cindex bare duration
+@cindex duration, bare
+
+タイでつながれた音符のように、ピッチが変わらない場合、@c
+後のピッチを省略し、長さだけを指定できます。
+
+@lilypond[verbatim,quote]
+\relative { g'4~ 4 c2~ | 4~ 8 a~ 2 | }
@end lilypond
+この省略形はピッチが変わらずにリズムが変わる場所で有用ですが、@c
+長さを指定しないピッチにはスペースが続くということと、@c
+長さだけを指定した場合でも1つの音符として解釈されるということを@c
+覚えてください。
+
+@node スラー
+@unnumberedsubsubsec スラー
+@translationof Slurs
-@subheading スラー
音楽用語集: @rglos{slur}
@notation{スラー}は多くの音符に亘って描かれる曲線です。@c
スラーの開始音符と終了音符にはそれぞれ @code{(} と @code{)} を付加します。
-@lilypond[verbatim,quote,relative=2]
-d4( c16) cis( d e c cis d) e( d4)
+@lilypond[verbatim,quote]
+\relative { d''4( c16) cis( d e c cis d) e( d4) }
@end lilypond
+@node フレージング スラー
+@unnumberedsubsubsec フレージング スラー
+@translationof Phrasing slurs
-@subheading フレージング スラー
音楽用語集: @rglos{slur}, @rglos{phrasing}
長い @notation{フレーズ} を示すためのスラーは @code{\(} と @code{\)}
によって挿入することができます。@c
-あなたは@notation{スラー}とフレージング スラーを重ねることができます。@c
-しかしながら、あなたは複数のスラーを重ねたり、複数のフレージング スラーを@c
-重ねることはできません。
+あなたは@notation{スラー}とフレージング スラーを同時に使うことができます。
-@lilypond[verbatim,quote,relative=2]
-g4\( g8( a) b( c) b4\)
+@lilypond[verbatim,quote]
+\relative { g'4\( g8( a) b( c) b4\) }
@end lilypond
@smallspace
@cindex slurs versus ties (スラー vs. タイ)
-@subheading 警告: スラー vs. タイ
+
+@node 警告 スラー vs. タイ
+@unnumberedsubsubsec 警告: スラー vs. タイ
+@translationof Warnings slurs vs. ties
+
音楽用語集: @rglos{articulation}, @rglos{slur}, @rglos{tie}
表していて、より大きな音符のグループに対して使用することができます。@c
スラーとタイはネストさせることができます。
-@lilypond[verbatim,quote,relative=2]
-c4~( c8 d~ d4 e)
+@lilypond[verbatim,quote]
+\relative { c''4(~ c8 d~ 4 e) }
@end lilypond
+
@seealso
記譜法リファレンス:
@ruser{タイ},
@subsection アーティキュレーションと強弱記号
@translationof Articulation and dynamics
+@menu
+* アーティキュレーション::
+* 運指法記号::
+* 強弱記号::
+@end menu
+
+@node アーティキュレーション
+@unnumberedsubsubsec アーティキュレーション
+@translationof Articulations
-@subheading アーティキュレーション
@cindex articulation (アーティキュレーション)
@cindex accent (アクセント)
一般的な @notation{アーティキュレーション} はダッシュ @code{-} と単一文字を@c
使うことで音符に付け加えることができます:
-@lilypond[verbatim,quote,relative=2]
-c4-^ c-+ c-- c-!
-c4-> c-. c2-_
+@lilypond[verbatim,quote]
+\relative {
+ c''4-^ c-+ c-- c-!
+ c4-> c-. c2-_
+}
@end lilypond
+@node 運指法記号
+@unnumberedsubsubsec 運指法記号
+@translationof Fingerings
-@subheading 運指法記号
@cindex fingering (運指法記号)
同様に、@notation{運指法} はダッシュ (@code{-}) と譜刻する数字を使うことで@c
音符に付け加えることができます:
-@lilypond[verbatim,quote,relative=2]
-c-3 e-5 b-2 a-1
+@lilypond[verbatim,quote]
+\relative { c''4-3 e-5 b-2 a-1 }
@end lilypond
通常、アーティキュレーションと運指法は自動的に譜刻されます。@c
しかしながらたいていの場合は、LilyPond にアーティキュレーションの方向を@c
決定させるのが一番です。
-@lilypond[verbatim,quote,relative=2]
-c4_-^1 d^. f^4_2-> e^-_+
+@lilypond[verbatim,quote]
+\relative { c''4_-^1 d^. f^4_2-> e^-_+ }
@end lilypond
+@node 強弱記号
+@unnumberedsubsubsec 強弱記号
+@translationof Dynamics
-@subheading 強弱記号
@cindex dynamics (強弱記号)
@cindex decrescendo (デクレッシェンド)
@funindex \mf
@funindex \pp
@funindex \<
-@funindex <
@funindex \>
-@funindex >
@funindex \!
-@funindex !
音楽用語集: @rglos{dynamics}, @rglos{crescendo}
@rglos{decrescendo}
@end ignore
付きのマークを付け加えることによって作成されます:
-@lilypond[verbatim,quote,relative=2]
-c4\ff c\mf c\p c\pp
+@lilypond[verbatim,quote]
+\relative { c''4\ff c\mf c\p c\pp }
@end lilypond
@notation{クレッシェンド} と @notation{デクレッシェンド} はコマンド @code{\<} と
次の強弱記号 -- 例えば、@code{\f} -- が (デ)クレッシェンドを終わらせます。@c
コマンド @code{\!} を使って終わらせることもできます:
-@lilypond[verbatim,quote,relative=2]
-c4\< c\ff\> c c\!
+@lilypond[verbatim,quote]
+\relative { c''4\< c\ff\> c c\! }
@end lilypond
@cindex markup (マークアップ)
@funindex \markup
-@funindex markup
テキストをあなたの楽譜に追加することができます:
-@lilypond[verbatim,quote,relative=2]
-c2^"espr" a_"legato"
+@lilypond[verbatim,quote,fragment]
+c''2^"espr" a'_"legato"
@end lilypond
追加のフォーマット指定を @code{\markup} コマンドで追加することができます:
-@lilypond[verbatim,quote,relative=2]
-c2^\markup { \bold espr }
-a2_\markup {
+@lilypond[verbatim,quote,fragment]
+c''2^\markup { \bold espr }
+a'2_\markup {
\dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
}
@end lilypond
@funindex [
@funindex ]
@funindex \autoBeamOff
-@funindex autoBeamOff
@funindex \autoBeamOn
-@funindex autoBeamOn
音楽用語集: @rglos{beam}
すべての @notation{連桁} は自動的に描かれます:
-@lilypond[verbatim,quote,relative=2]
-a8 ais d ees r d c16 b a8
+@lilypond[verbatim,quote]
+\relative { a'8 ais d ees r d c16 b a8 }
@end lilypond
あなたが自動連桁を好まない場合、手動で上書きすることもできます。@c
ある箇所の連桁を修正するには、連桁を付ける最初の音符に @code{[} を、@c
最後の音符に @code{]} を付け加えます。
-@lilypond[verbatim,quote,relative=2]
-a8[ ais] d[ ees r d] c16 b a8
+@lilypond[verbatim,quote]
+\relative { a'8[ ais] d[ ees r d] c16 b a8 }
@end lilypond
もしあなたが楽譜全体あるいは一部で自動連桁を Off にしたいのなら、@c
自動連桁を Off にするにはコマンド @code{\autoBeamOff} を、@c
再度自動連桁を On にするには @code{\autoBeamOn} を使用します。
-@lilypond[verbatim,quote,relative=2]
-\autoBeamOff
-a8 c b4 d8. c16 b4 |
-\autoBeamOn
-a8 c b4 d8. c16 b4 |
+@lilypond[verbatim,quote]
+\relative {
+ \autoBeamOff
+ a'8 c b4 d8. c16 b4 |
+ \autoBeamOn
+ a8 c b4 d8. c16 b4 |
+}
@end lilypond
@subsection 高度なリズム コマンド
@translationof Advanced rhythmic commands
-@subheading 部分小節
+@menu
+* 部分小節::
+* 連符::
+* 装飾小音符::
+@end menu
+
+@node 部分小節
+@unnumberedsubsubsec 部分小節
+@translationof Partial measure
+
@cindex pickup (ピックアップ)
@cindex anacrusis (弱拍)
@cindex partial measure (部分小節)
@funindex \partial
-@funindex partial
音楽用語集: @rglos{anacrusis}
@code{\partial 4} は 4 分音符のピックアップであり、@c
@code{\partial 8} は 8 分音符のピックアップです。
-@lilypond[verbatim,quote,relative=2]
-\partial 8 f8 |
-c2 d |
+@lilypond[verbatim,quote]
+\relative {
+ \partial 8 f''8 |
+ c2 d |
+}
@end lilypond
-@subheading 連符
+@node 連符
+@unnumberedsubsubsec 連符
+@translationof Tuplets
+
@cindex tuplets (連符)
@cindex triplets (3 連符)
@funindex \tuplet
-@funindex tuplet
音楽用語集: @rglos{note value}, @rglos{triplet}
3 連符は 2 つの音符の代わりに 3 つの音符を演奏しますので、@notation{連符}
の分数は 3/2 となります。
-@lilypond[verbatim,quote,relative=2]
-\tuplet 3/2 { f8 g a }
-\tuplet 3/2 { c8 r c }
-\tuplet 3/2 { f,8 g16[ a g a] }
-\tuplet 3/2 { d4 a8 }
+@lilypond[verbatim,quote]
+\relative {
+ \tuplet 3/2 { f''8 g a }
+ \tuplet 3/2 { c8 r c }
+ \tuplet 3/2 { f,8 g16[ a g a] }
+ \tuplet 3/2 { d4 a8 }
+}
@end lilypond
+@node 装飾小音符
+@unnumberedsubsubsec 装飾小音符
+@translationof Grace notes
-@subheading 装飾小音符
@cindex grace notes (装飾小音符)
@cindex acciaccatura (短前打音)
@cindex appoggiatura (前打音)
@funindex \grace
-@funindex grace
@funindex \acciaccatura
-@funindex acciaccatura
@funindex \appoggiatura
@funindex acciaccatura
キーワード @code{\appoggiatura} や @code{\acciaccatura} による接頭音楽表記に@c
よっても作成されます:
-@lilypond[verbatim,quote,relative=2]
-c2 \grace { a32 b } c2 |
-c2 \appoggiatura b16 c2 |
-c2 \acciaccatura b16 c2 |
+@lilypond[verbatim,quote]
+\relative {
+ c''2 \grace { a32 b } c2 |
+ c2 \appoggiatura b16 c2 |
+ c2 \acciaccatura b16 c2 |
+}
@end lilypond
@cindex compound music expression (複合音楽表記)
@cindex music expression, compound (複合音楽表記)
+@menu
+* 数学的表記との類似::
+* 同時進行する音楽表記 複数の譜::
+* 同時進行する音楽表記 単一の譜表::
+@end menu
+
LilyPond 入力ファイルの中では、音楽は @notation{音楽表記} によって表されます。@c
単一の音符は 1 つの音楽表記になります:
-@lilypond[verbatim,quote,relative=2]
-a4
+@lilypond[verbatim,quote,fragment]
+a'4
@end lilypond
表記を波括弧で括ることによって @emph{複合音楽表記} が作成されます。@c
2 つの音符を持つ複合音楽表記を作成しました:
-@lilypond[verbatim,quote,relative=2]
-{ a4 g4 }
+@lilypond[verbatim,quote]
+\relative { a'4 g4 }
@end lilypond
波括弧の中にある音楽表記 (例えば、いくつかの音符) のグループはそれらが@c
(つまり、それぞれの音符は前の音符に続くということです)。@c
もう 1 つ音楽表記の結果を示します:
-@lilypond[verbatim,quote,relative=2]
-{ { a4 g } f4 g }
+@lilypond[verbatim,quote]
+\relative { { a'4 g } f4 g }
@end lilypond
+@node 数学的表記との類似
+@unnumberedsubsubsec 数学的表記との類似
+@translationof Analogy: mathematical expressions
-@subheading 数学的表記との類似
-@c Analogy: mathematical expressions
このメカニズムは数学式と似ています:
大きな式は小さな式を組み合わせることによって作成されます。@c
数学式と同様に、音楽表記も任意の深さにネストさせることができ、@c
それは多声楽譜のような複雑な音楽のために必要なことです。
+@node 同時進行する音楽表記 複数の譜
+@unnumberedsubsubsec 同時進行する音楽表記: 複数の譜
+@translationof Simultaneous music expressions multiple staves
-@subheading 同時進行の音楽表記: 複数の譜
-@c Simultaneous music expressions: multiple staves
@cindex multiple staves (複数の譜)
@cindex staves, multiple (複数の譜)
保持しています) が同時進行するように組み合わされています:
@lilypond[verbatim,quote]
-\relative c'' {
- <<
- { a2 g }
- { f2 e }
- { d2 b }
- >>
-}
+<<
+ \relative { a'2 g }
+ \relative { f'2 e }
+ \relative { d'2 b }
+>>
@end lilypond
入力の各レベルに対して異なる量のスペースをインデントとして与えていることに@c
しかしながら、上の例のように LilyPond コードにインデントを入れることによって@c
人間にとってはずっと読みやすくなります。
+@ignore
@warning{入力での各音符は前の音符との相対関係にあり、先頭の @code{@bs{}relative}
コマンドの中にある @code{c''} と相対関係にあるわけではありません。}
+@end ignore
+@node 同時進行する音楽表記 単一の譜表
+@unnumberedsubsubsec 同時進行する音楽表記: 単一の譜表
+@translationof Simultaneous music expressions single staff
-@subheading 同時進行する音楽表記: 単一の譜表
-@c Simultaneous music expressions: single staff
楽曲の中にある譜の数を決定するために、@c
-LilPond は最初の音楽表記の始まりを調べます。@c
-始まりの音楽表記が単一の表記であった場合、楽譜の中の譜表は 1 つです。@c
-以下の例は複雑な表記を持ちますが、単一の表記で始まっているため譜表も 1 つです。
+LilyPond は最初の音楽表記の始まりを調べます。@c
+それが単一の音符であった場合は譜表が 1 つ、@c
+同時進行する表記であった場合は譜表が複数になります。@c
+以下の例は複雑な表記を持ちますが、単一の音符で始まっているため譜表も 1 つです。
@lilypond[verbatim,quote]
-\relative c'' {
- c2 <<c e>> |
+\relative {
+ c''2 <<c e>> |
<< { e2 f } { c2 <<b d>> } >> |
}
@end lilypond
-
@node 複数の譜
@subsection 複数の譜
@translationof Multiple staves
@cindex notation context (記譜コンテキスト)
@funindex \new Staff
-@funindex new Staff
@funindex Staff
@funindex \new
-@funindex new
@funindex Score
@funindex Voice
@funindex Lyrics
これらの @code{Staff} 要素は @code{<<} と @code{>>} で並列に組み合わされます:
@lilypond[verbatim,quote]
-\relative c'' {
- <<
- \new Staff { \clef "treble" c4 }
- \new Staff { \clef "bass" c,,4 }
- >>
-}
+<<
+ \new Staff { \clef "treble" c''4 }
+ \new Staff { \clef "bass" c4 }
+>>
@end lilypond
コマンド @code{\new} は 1 つの @q{記譜コンテキスト} を導入します。@c
複合リズム (polyrhythmic) の楽譜よりも一般的だからです。
@lilypond[verbatim,quote]
-\relative c'' {
- <<
- \new Staff { \clef "treble" \key d \major \time 3/4 c4 }
- \new Staff { \clef "bass" c,,4 }
- >>
-}
+<<
+ \new Staff { \clef "treble" \key d \major \time 3/4 c''4 }
+ \new Staff { \clef "bass" c4 }
+>>
@end lilypond
@node 譜表グループ
小さな例を挙げます:
@lilypond[verbatim,quote]
-\relative c'' {
- \new PianoStaff <<
- \new Staff { \time 2/4 c4 e | g g, | }
- \new Staff { \clef "bass" c,,4 c' | e c | }
- >>
-}
+\new PianoStaff <<
+ \new Staff \relative { \time 2/4 c''4 e | g g, | }
+ \new Staff \relative { \clef "bass" c4 c' | e c | }
+>>
@end lilypond
ピアノ譜以外の譜表グループ化はオーケストラ譜向けには @code{\new GrandStaff}
@subsection 音符を組み合わせて和音にする
@translationof Combining notes into chords
+Music Glossary: @rglos{chord}
+
@cindex chords (和音)
@cindex note durations in chords (和音の中での音符の演奏時間)
その演奏時間は山括弧を閉じた後に置かれなければならないということに@c
注意してください。
-@lilypond[verbatim,quote,relative=2]
-r4 <c e g> <c f a>2
+@lilypond[verbatim,quote]
+\relative { r4 <c'' e g> <c f a>2 }
@end lilypond
和音は単一の音符とほとんど同じであると考えてください:
例えば、あなたは連桁やタイなどのマークをコードに組み合わせることができます。@c
それらは山括弧の外側に置かれなければなりません。
-@lilypond[verbatim,quote,relative=2]
-r4 <c e g>~ <c f a>2 |
-<c e g>8[ <c f a> <c e g> <c f a>]
- <c e g>8\>[ <c f a> <c f a> <c e g>]\! |
-r4 <c e g>8.\p <c f a>16( <c e g>4-. <c f a>) |
+@lilypond[verbatim,quote]
+\relative {
+ r4 <c'' e g>~ <c f a>2 |
+ <c e g>8[ <c f a> <c e g> <c f a>]
+ <c e g>8\>[ <c f a> <c f a> <c e g>]\! |
+ r4 <c e g>8.\p <c f a>16( <c e g>4-. <c f a>) |
+}
@end lilypond
@seealso
記譜法リファレンス:
@ruser{同時進行する音符}
-@ignore
-異なる旋律が単一の譜に組み込まれる場合、それらは多声部として譜刻されます。@c
-各声部はそれ自体の符幹 (符頭から上下に出る棒)、スラー、@c
-連桁 (符幹と符幹を結ぶ横棒) を持ちます。@c
-最上段の声部は符頭から上に伸びる符幹を持ち、@c
-最下段の声部は下に伸びる符幹を持ちます。
-
-そのような多声のパートを入力するには、各声部をシークエンスとして
-(@w{@code{@{ ... @}}} を使って) 入力し、それらを @code{\\} で区切って@c
-結合することで同時進行するように組み合わせます:
-
-@lilypond[verbatim,quote,relative=2]
-<<
- { a4 g2 f4~ f4 } \\
- { r4 g4 f2 f4 }
->>
-@end lilypond
-
-多声部音楽を譜刻する場合、空白休符を使用すると都合が良いかもしれません:
-それは譜刻されない休符です。@c
-空白休符は一時的に演奏されない声部の空白期間を埋めるのに有用です。@c
-今度は通常の休符 (@code{r}) の代わりに空白休符 (@code{s}) を使った@c
-上と同じ例を示します:
-
-@lilypond[verbatim,quote,relative=2]
-<<
- { a4 g2 f4~ f4 } \\
- { s4 g4 f2 f4 }
->>
-@end lilypond
-
-@noindent
-さらに、これらの表記は任意にネストさせることができます。
-
-@lilypond[verbatim,quote,relative=2]
-<<
- \new Staff <<
- { a4 g2 f4~ f4 } \\
- { s4 g4 f2 f4 }
- >>
- \new Staff <<
- \clef bass
- { <c g>1 ~ <c g>4 } \\
- { e,,4 d e2 ~ e4}
- >>
->>
-@end lilypond
-
-@seealso
-記譜法リファレンス:
-@ruser{同時進行する音符}
-@end ignore
-
-
@node 歌曲
@section 歌曲
@translationof Songs
@cindex songs (歌)
@funindex \addlyrics
-@funindex addlyrics
音楽用語集: @rglos{lyrics}
-童謡の冒頭部分の旋律があります。@c
-歌詞は @notation{Girls and boys come out to play} です:
+童謡 @notation{Girls and boys come out to play} の冒頭部分の旋律です:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4
+ d''4 b8 c4 a8 | d4 b8 g4
}
@end lilypond
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4
+ d''4 b8 c4 a8 | d4 b8 g4
}
\addlyrics {
- Girls and boys come | out to play,
+ Girls and boys come out to play,
}
>>
@end lilypond
-二重の山括弧 @w{@code{<< ... >>}} が楽曲全体を囲っていて、@c
+二重の山括弧 @w{@code{<<@dots{}>>}} が楽曲全体を囲っていて、@c
音楽と歌詞が同時進行することを示しています。
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4 g8 |
+ d''4 b8 c4 a8 | d4 b8 g4 g8 |
a4 b8 c b a | d4 b8 g4. |
}
\addlyrics {
- Girls and boys come | out to play,
- The | moon doth shine as | bright as day; |
+ Girls and boys come out to play,
+ The moon doth shine as bright as day;
}
>>
@end lilypond
-上の例のコードをコンパイルすると、コンソール出力にいくつかの警告が表示されます:
-
-@example
-song.ly:12:29: warning: barcheck failed at: 5/8
- The | moon doth shine as
- | bright as day; |
-song.ly:12:46: warning: barcheck failed at: 3/8
- The | moon doth shine as | bright as day;
- |
-@end example
-
-これは小節チェックの有用性を示す良い例です。@c
-今度は楽譜を見てください。@c
+楽譜を見ると、@c
追加した歌詞は適切に音符に揃えられてはいません。@c
単語 @notation{shine} は 1 つの音符ではなく
2 つの音符に割り当てられるべきです。@c
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4 g8 |
+ d''4 b8 c4 a8 | d4 b8 g4 g8 |
a4 b8 c( b) a | d4 b8 g4. |
}
\addlyrics {
- Girls and boys come | out to play,
- The | moon doth shine as | bright as day; |
+ Girls and boys come out to play,
+ The moon doth shine as bright as day;
}
>>
@end lilypond
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4 g8 |
+ d''4 b8 c4 a8 | d4 b8 g4 g8 |
a4 b8 c([ b]) a | d4 b8 g4. |
}
\addlyrics {
- Girls and boys come | out to play,
- The | moon doth shine as | bright as day; |
+ Girls and boys come out to play,
+ The moon doth shine as bright as day;
}
>>
@end lilypond
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \major
\time 6/8
- d4 b8 c4 a8 | d4 b8 g4 g8 |
+ d''4 b8 c4 a8 | d4 b8 g4 g8 |
a4 b8 c[ b] a | d4 b8 g4. |
}
\addlyrics {
- Girls and boys come | out to play,
- The | moon doth shine _ as | bright as day; |
+ Girls and boys come out to play,
+ The moon doth shine _ as bright as day;
}
>>
@end lilypond
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key g \minor
\time 3/2
- g2 a bes | bes2( a) b2 |
+ g'2 a bes | bes2( a) b2 |
c4.( bes8 a4. g8 fis4.) g8 | fis1
}
\addlyrics {
- When I am | laid,
- am | laid __ in | earth,
+ When I am laid,
+ am laid __ in earth,
}
>>
@end lilypond
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\key g \major
\time 3/4
\partial 4
- d4 | g4 g a8( b) | g4 g b8( c) |
+ d'4 | g4 g a8( b) | g4 g b8( c) |
d4 d e | c2
}
\addlyrics {
- A -- | way in a __ | man -- ger,
- no __ | crib for a | bed, __
+ A -- way in a __ man -- ger,
+ no __ crib for a bed,
}
>>
@end lilypond
@c but the example is long enough to avoid looking strange.
@lilypond[verbatim,quote,noragged-right]
<<
- \relative c' {
+ \relative {
\clef "bass"
\key c \major
\time 6/8
- c4.~ c8 d b | c8([ d]) b c d b | c8
+ c'4.~ 8 d b | c8([ d]) b c d b | c8
}
\addlyrics {
- Lar -- go_al fac -- | to -- tum del -- la cit -- | tÃ
+ Lar -- go_al fac -- to -- tum del -- la cit -- tà
}
>>
@end lilypond
@lilypond[verbatim,quote]
<<
- \relative c'' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- c8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ c4
+ c''8 | c8([ bes]) a a([ g]) f | f'4. b, | c4.~ 4
}
\addlyrics {
- Let | flee -- cy flocks the | hills a -- | dorn, __
+ Let flee -- cy flocks the hills a -- dorn, __
}
- \relative c' {
+ \relative {
\key f \major
\time 6/8
\partial 8
- r8 | r4. r4 c8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
+ r8 | r4. r4 c'8 | a'8([ g]) f f([ e]) d | e8([ d]) c bes'4
}
\addlyrics {
- Let | flee -- cy flocks the | hills a -- dorn,
+ Let flee -- cy flocks the hills a -- dorn,
}
>>
@end lilypond
@lilypond[verbatim,quote]
violin = \new Staff {
- \relative c'' {
- a4 b c b
+ \relative {
+ a'4 b c b
}
}
cello = \new Staff {
- \relative c {
+ \relative {
\clef "bass"
e2 d
}
楽曲のある部分が何度もリピートしている場合に入力の手間を省くことができます。
@lilypond[verbatim,quote]
-tripletA = \tuplet 3/2 { c,8 e g }
+tripletA = \relative { \tuplet 3/2 { c'8 e g } }
barA = { \tripletA \tripletA \tripletA \tripletA }
-\relative c'' {
- \barA \barA
-}
+{ \barA \barA }
@end lilypond
変数を入力ファイルの中にある他の多くのオブジェクト タイプに対しても@c
\aFivePaper
line-width = \width
@}
+
@{
c4^\name
@}
@cindex header block (ヘッダ ブロック)
@funindex \header
-@funindex header
タイトル、作曲者、作品番号、それに類似の情報は
@code{\header} ブロックの中に挿入されます。@c
@cindex pitches, absolute values (ピッチの絶対値)
@cindex absolute note names (絶対音符名)
-これまで我々は常にピッチを定義するのに @code{\relative} を使ってきました。@c
-これはたいていの音楽を入力するのに最も容易な方法です。@c
-しかしながら、ピッチを定義するための方法がもう一つ存在します:
-絶対モードです。
+これまで我々はピッチを定義するのに @code{\relative} を使ってきました。@c
+これは通常たいていの音楽を入力するのに最も早い方法です。@c
+@code{\relative} 無しだとピッチは絶対モードで解釈されます。
-あなたが @code{\relative} を省略した場合、LilyPond はすべてのピッチを@c
+LilyPond はすべてのピッチを@c
絶対値として扱います。@c
@code{c'} は常にミドル C を意味し、@code{b} は常にミドル C の 1 音下の音符を@c
意味し、@code{g,} は常にヘ音記号の譜表の最下段の譜線上にある音符を意味します。
}
@end lilypond
-今度は 4 オクターブの音階があります:
+ト音記号に旋律を書く場合は多くのクォート @code{'} 記号が使用されます。@c
+モーツァルトからの以下の楽譜の断片について考えてみます:
@lilypond[verbatim,quote]
{
- \clef "bass"
- c,4 d, e, f, |
- g,4 a, b, c |
- d4 e f g |
- a4 b c' d' |
- \clef "treble"
- e'4 f' g' a' |
- b'4 c'' d'' e'' |
- f''4 g'' a'' b'' |
- c'''1 |
+ \key a \major
+ \time 6/8
+ cis''8. d''16 cis''8 e''4 e''8 |
+ b'8. cis''16 b'8 d''4 d''8 |
}
@end lilypond
-ト音記号に旋律を書く場合は多くのクォート @code{'} 記号が使用されることが@c
-見て取れます。@c
-モーツァルトからの以下の楽譜の断片について考えてみます:
+@funindex \fixed
+コマンド @code{\fixed} に参照用ピッチを続けることにより、@c
+共通のオクターブ記号を 1 回だけ示すようにすることができます。
@lilypond[verbatim,quote]
-{
+\fixed c'' {
\key a \major
\time 6/8
- cis''8. d''16 cis''8 e''4 e''8 |
- b'8. cis''16 b'8 d''4 d''8 |
+ cis8. d16 cis8 e4 e8 |
+ b,8. cis16 b,8 d4 d8 |
}
@end lilypond
-これらすべてのクォート記号は入力ファイルを読みにくいものにして、@c
-エラーの原因になります。@c
-@code{\relative} を使うことで、上の例はずっと読みやすく、入力しやすくなります:
+@code{\relative} を使うと、
+前の例は 3 譜表スペースより大きいメロディーの動きが無いので、
+オクターブ記号が不要になります:
@lilypond[verbatim,quote]
-\relative c'' {
+\relative {
\key a \major
\time 6/8
- cis8. d16 cis8 e4 e8 |
+ cis''8. d16 cis8 e4 e8 |
b8. cis16 b8 d4 d8 |
}
@end lilypond
はっきりとせず、見つけにくいです。
しかしながら、絶対モードは大きな音程を持つ音楽に対しては有用であり、@c
-LilyPond ファイルをコンピュータで生成する場合は非常に有用です。
+LilyPond ファイルをコンピュータで生成する場合は非常に有用です。@c
+メロディーの断片をコピー&ペーストした場合、@c
+絶対モードは元のオクターブが維持されます。
+
+時には音楽はより複雑な方法でアレンジされます。@c
+@code{\relative} の中で @code{\relative} を使うと、@c
+外と中の相対部分は独立しています:
+
+@lilypond[verbatim,quote]
+\relative { c'4 \relative { f'' g } c }
+@end lilypond
+
+@code{\relative} の中で絶対モードを使うには、@c
+@code{\fixed c @{ @dots{} @}} の中に絶対モードの音楽を置きます。@c
+絶対モードのピッチは相対モードのオクターブに影響しません:
+@lilypond[verbatim,quote]
+\relative {
+ c'4 \fixed c { f'' g'' } c |
+ c4 \fixed c'' { f g } c
+}
+@end lilypond
@node このチュートリアルの後にすべきこと
@subsection このチュートリアルの後にすべきこと