1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
4 Translation of GIT committish: 9a65042d49324f2e3dff18c4b0858def81232eea
6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. For details, see the Contributors'
8 Guide, node Updating translation committishes..
14 Tutorial guidelines: (different from policy.txt!)
15 - unless you have a really good reason, use either
16 @lilypond[verbatim,quote]
18 @lilypond[verbatim,quote,relative=2]
20 Don't use any other relative=X commands.
22 - use "aes" and "ees" instead of "as" and "es". I know it's not
23 correct Dutch naming, but let's not confuse people with this
24 until we get to the Basic notation chapter.
26 - Add "Music Glossary: @rglos{foo}" to the *top* of the relevant
27 portions of the tutorial.
32 @c Translators: Yoshiki Sawada
33 @c Translation status: post-GDP
38 @translationof Tutorial
40 このチュートリアルではまず LilyPond 音楽言語についての紹介を行い、楽譜を作り出す方法について説明します。LilyPond との最初の接触の後、我々は一般的な音楽表記を持つ楽譜を作成する方法について説明します。
53 @translationof First steps
55 この節は LilyPond に取り組むための基本的な入門書です。
66 @subsection ファイルをコンパイルする
67 @translationof Compiling a file
71 @cindex example, first
72 @cindex case sensitive
74 @qq{コンパイル} は LilyPond フォーマットで書かれた入力ファイルを印刷可能なファイルを作り出すため、そして (オプションとして) 演奏可能な MIDI ファイルを作り出すために処理することを意味する用語です。LilyPond 入力ファイルはシンプルなテキストファイルです。最初の例ではシンプルな入力ファイルがどのようなものかを示します。
76 楽譜を作成するために、我々は表記を指定する入力ファイルを書きます。例えば、以下のように書くと:
87 @c in this case we don't want verbatim
94 @c !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
95 @c strong内で {} を使用しようとした場合、なぜか下記のような表記にしなければエラーが発生した
96 @c !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
97 @warning{LilyPond 入力の音符と歌詞は、
98 @strong{@code{@{}} @strong{中括弧} @strong{@code{@}}}
99 で囲まれている必要があります。さらに、あいまいさを避けるために、中括弧は行の最初か最後でない限りはスペースによって囲まれているべきです。中括弧はこのマニュアルのいくつかの例では省略されているかもしれませんが、あなた自身が作成する楽譜では忘れないでください!マニュアルの中にある例を表示する方法についての更なる情報については、@ref{このマニュアルの読み方} を参照してください。}
101 さらに、LilyPond 入力は@strong{大文字/小文字}の区別 があります。@w{@code{@{ c d e @}}} は有効な入力ですが、@w{@code{@{ C D E @}}} はエラーになります。
106 @subheading 音楽表記を入力して出力を閲覧する
110 @cindex viewing music
112 @cindex running LilyPond under MacOS X
113 @cindex MacOS X, running LilyPond
114 @cindex running LilyPond under Windows
115 @cindex Windows, running LilyPond
116 @cindex running LilyPond under Unix
117 @cindex Unix, running LilyPond
119 ここでは、実行すべきコマンドと、出力を閲覧または印刷する方法について説明します。
121 LilyPond に対してより良いサポートを提供するテキスト エディタがいくつかあります。更なる情報は @rprogram{テキスト エディタのサポート} を参照してください。
122 @c LilyPond をサポートする テキスト エディタ (Text editor support)
124 @warning{あなたが初めて LilyPond を実行した場合、1, 2 分かかるかもしれません。なぜなら、まず最初にすべてのシステム フォントが分析されるからです。それから後は、LilyPond はずっと早く実行されます!}
127 @subsubheading MacOS X
129 @command{LilyPond.app} をダブル クリックすると、見本となるファイルが開きます。それを -- 例えば @file{test.ly} という名前で -- Desktop に保存し、それをメニュー コマンド @w{@code{Compile > Typeset File}} で処理します。結果の PDF ファイルがスクリーン上に表示されます。
131 この先の LilyPond の使用のために、あなたは @qq{New} または @qq{Open} を選択することによって開始すべきです。植字を行う (訳者: コンパイルする) 前に、あなたはあなたのファイルを保存しなければなりません。処理中にエラーが発生した場合、ログ ウィンドを見てください。
134 @subsubheading Windows
136 Windows では、デスクトップ上の LilyPond アイコンをダブル クリックした場合、シンプルなテキスト エディタで見本ファイルが開きます。それを -- 例えば @file{test.ly} という名前で -- デスクトップ上に保存し、そのファイルを処理するためにそのファイルをダブル クリックします (そのファイルのアイコンはノートのような形をしています)。数秒後、デスクトップ上に @file{test.pdf} というファイルが作成されます。刻譜された楽譜を見るにはこの PDF ファイルをダブル クリックします。@file{test.ly} ファイルを処理するためのもう 1 つの方法は、マウス ポインタを使ってそのファイルを LilyPond アイコンにドラッグ&ドロップします。
138 既存の @file{.ly} を編集するには、そのファイルを右クリックして @qq{Edit source} を選択します。LilyPond 入力を開始するための空ファイルを作成するには、上記と同じようにしてエディタを開き、@qq{ファイル} メニューの中にある @qq{新規作成} を使用するか、デスクトップ上で右クリックして @qq{新規作成 ... テキスト文書} を選択して、そのテキスト ファイルの名前を変更して、ファイル拡張子を @file{.ly} に変更します。LilyPond ソース コードに入力するには前述と同様にアイコンを右クリックします。
140 ファイルをダブル クリックすると、結果として PDF ファイルが出力されるだけではなく、LilyPond がそのファイルに対して行ったことについての情報を保持する @file{.log} ファイルも生成されます。エラーが発生した場合、このファイルを検証してください。
144 @file{test.ly} という名前のテキスト ファイルを作成し、以下を入力します:
151 @file{test.ly} を処理するには以下のようにします:
162 GNU LilyPond @version{}
165 Interpreting music...
166 Preprocessing graphical objects...
167 Finding the ideal number of pages...
168 Fitting music on 1 page...
170 Layout output to `test.ps'...
171 Converting to `test.pdf'...
177 @translationof Simple notation
179 @cindex simple notation
180 @cindex notation, simple
182 LilyPond はいくつかの表記要素を自動的に追加します。次の例では、我々は 4 つの音高 (ピッチ) を指定しただけですが、LilyPond が音部記号、拍子記号、韻律を加えています。
184 @lilypond[verbatim,quote]
191 この挙動は変更されるかもしれませんが、たいていのケースではこれらの自動値は役に立ちます。
198 @cindex relative mode
199 @cindex quote, single
201 @cindex accidentals and relative mode
202 @cindex relative mode, and accidentals
209 音楽用語集: @rglos{pitch}, @rglos{interval},
210 @rglos{scale}, @rglos{middle C}, @rglos{octave},
212 @c 音高 (pitch), 音程 (interval), 音階 (scale), ミドル C (middle C), オクターブ (octave), 臨時記号 (accidental)
213 音符を入力するための最も簡単な方法は @code{\relative} モードを使用することです。このモードでは、後に続く音符は常に前の音符に最も近い場所になるという仮定によって自動的にオクターブが選択されます。つまり、音符は前の音符から 3 譜表スペース (訳者: 1 譜表スペースとは同じ音階のド→レ、レ→ミ、~の間隔のこと) 以内に置かれます。我々はまず音楽の最も基本的な要素 -- @notation{音階} (ここでは各音符は前の音符からちょうど 1 譜表スペースの位置にきます) -- からはじめます。
215 @lilypond[verbatim,quote]
216 % set the starting point to middle C
224 最初の音符は@notation{ミドル C} です。一連の音符はそれぞれ前の音符と最も近い場所に置かれています -- 言い換えると、最初の @code{c} はミドル C に最も近い C です。これに前の音符に最も近い D が続きます。我々は @code{\relative} モードだけを使ってより大きな音程を持つ旋律を作ることができます:
226 @lilypond[verbatim,quote]
234 旋律の最初の音符が開始音高を指定している音符である必要はありません。前の例では、最初の音符 -- @code{d} -- はミドル C に最も近い D です。
236 @code{@w{\relative c' @{}} コマンドにクォート @code{'} やカンマ @code{,} を付け加える (あるいは取り除く) ことによって、開始オクターブを変更することができます:
238 @lilypond[verbatim,quote]
239 % one octave above middle C
240 % % ミドル C より 1 オクターブ上から開始します
246 相対モードは最初のうちは混乱を引き起こす可能性がありますが、たいていの旋律を入力するのに最も容易な方法です。相対計算が実際にどのように行われるのか見てみましょう。B -- ト音記号の譜面の真ん中の譜線上にあります -- から開始すると、C, D, E は上方向に 3 譜表スペース以内にあり、A, G, F は下方向に 3 譜表スペース以内にあります。そのため、B の後に続く音符が C, D, E である場合、その音符は B の上に置かれ、A, G, F である場合は B の下に置かれます。
248 @lilypond[verbatim,quote]
250 b c % c is 1 staff space up, so is the c above
251 % c は 1 譜表スペース上なので、c は上になります
252 b d % d is 2 up or 5 down, so is the d above
253 % d は 2 譜表スペース上あるいは 5 譜表スペース下なので、d は上になります
254 b e % e is 3 up or 4 down, so is the e above
255 % e は 3 譜表スペース上あるいは 4 譜表スペース下なので、e は上になります
256 b a % a is 6 up or 1 down, so is the a below
257 % a は 6 譜表スペース上あるいは 1 譜表スペース下なので、a は下になります
258 b g % g is 5 up or 2 down, so is the g below
259 % g は 5 譜表スペース上あるいは 2 譜表スペース下なので、g は下になります
260 b f % f is 4 up or 3 down, so is the f below
261 % f は 4 譜表スペース上あるいは 3 譜表スペース下なので、f は下になります
265 これらの音符のいずれかにシャープやフラットが付いたとしてもまったく同じことが起こります。相対位置の算出時に@notation{臨時記号}は@strong{完全に無視}されます。譜表上の他のいずれかの位置にある音符からの譜表スペース数もまったく同じです。
267 3 譜表スペースよりも大きな音程を加えるために、シングル クォート @code{'} (あるいはアポストロフィ) を音符名に付け加えることによって@notation{オクターブ}を上げることができます。音符名にカンマ @code{,} を付け加えることによってオクターブを下げることができます。
269 @lilypond[verbatim,quote]
277 音符を 2 オクターブ (あるいはそれ以上) 変えるには、複数化した @code{''} や @code{,,} を使用します -- しかしながら、1 つのダブル クォート @code{"} ではなく、2 つのシングル クォートを使用するよう注意してください!また、@code{@w{\relative c'}} の中の最初の値もこのように変更されるかもしれません。
278 @c " - keeps quotes in order for context-sensitive editor -td
281 @subheading 演奏時間 (リズム)
282 @c 演奏時間 (原語: Durations, リズム)
284 @cindex note durations
291 @cindex notating durations
293 音楽用語集: @rglos{beam}, @rglos{duration},
294 @rglos{whole note}, @rglos{half note}, @rglos{quarter note},
296 @c ビーム (beam), 演奏時間 (duration), 全音符 (whole note), 半音符 (half note), 4 分音符 (quarter note), 付点音符 (dotted note)
298 音符の@notation{演奏時間}は音符名の後の番号によって指定されます。@notation{全音符}には @code{1} を、@notation{半音符}には @code{2} を、@notation{4 分音符}には @code{4} を、などです。@notation{ビーム} (ステムとステムをつなぐ横棒。ステムはノート ヘッドから上下にでる縦棒。ノート ヘッドは音符の玉) は自動的に追加されます。
300 あなたが演奏時間を指定しなかった場合、前の音符の演奏時間が次の音符の演奏時間に対しても使用されます。最初の音符のデフォルトの演奏時間は 4 分音符です。
302 @lilypond[verbatim,quote]
306 a16 a a a a32 a a a a64 a a a a a a a a2
310 @notation{付点音符}を作成するには、演奏時間数にドット @code{.} を付け加えます。付点音符の演奏時間は明記されなければなりません (つまり、数字で)。
312 @lilypond[verbatim,quote]
324 @cindex notating rests
329 @notation{休符}は @code{r} という名前の音符のような形で入力されます:
331 @lilypond[verbatim,quote]
342 @cindex time signature
347 音楽用語集: @rglos{time signature}
348 @c 拍子記号 (time signature)
350 @notation{拍子記号}は @code{\time} コマンドでセットすることができます:
352 @lilypond[verbatim,quote]
379 @notation{音部記号}は @code{\clef} コマンドを使ってセットすることができます:
381 @lilypond[verbatim,quote]
398 以上の要素をすべて集めたちょっとした例をお見せします:
400 @lilypond[verbatim,quote]
412 表記リファレンス: @ruser{Writing pitches},
413 @ruser{Writing rhythms}, @ruser{Writing rests},
414 @ruser{拍子記号}, @ruser{音部記号}
415 @c 音高を書く, リズムを書く, 休符を書く, 拍子記号, 音部記号
419 @subsection 入力ファイルに取り組む
420 @translationof Working on input files
423 @cindex braces, curly
426 @cindex comment, line
427 @cindex block comment
428 @cindex comment, line
429 @cindex case sensitive
430 @cindex whitespace insensitive
435 @funindex %@{ ... %@}
437 LilyPond 入力ファイルは多くの一般的なプログラミング言語のソース ファイルと同じようなものです。それらは大文字/小文字の区別があり、空白はたいてい無視されます。表記は中括弧 @{ @} で囲まれ、@code{%} または @w{@code{%@{ .. %@}}} でコメントになります。
439 上の文章があなたにとって意味不明だとしても、心配ありません!我々がそれらの用語の意味を説明します:
445 あなたが小文字 (つまり、@w{@code{a, b, s, t)}} で入力するか、大文字 (つまり、@w{@code{A, B, S, T}}) で入力するかの違いです: @w{@code{@{ c d e @}}} は有効な入力ですが、@w{@code{@{ C D E @}}} ではエラーになります。
449 あなたがどれくらい多くのスペース (または新しい行) を追加しても問題にならないということです。@w{@code{@{ c d e @}}} は @w{@code{@{ c @tie{}} @tie{} @tie{} d e @}} や以下と同じ意味になります:
457 もちろん、このような書き方をすると読みにくいです。見やすい書き方は、コード ブロックにタブか 2 つのスペースでインデントを付けることです:
467 LilyPond 入力の各部分は @strong{@{ 中括弧 @}} で囲まれている必要があります。これらの中括弧は LilyPond に入力が単一の音楽表記であることを教えます。これはちょうど数学での括弧 @code{()} のようなものです。あいまいさを避けるために、中括弧は行の先頭か終端にないかぎりスペースで囲まれているべきです。
469 中括弧で囲まれた表記が後に続く LilyPond コマンド (@w{@code{\relative @{ @}}} など) もまた単一の音楽表記としてカウントされます。
473 @cindex block comment
476 コメントは音楽入力を読む人間のための注釈です。これは構文解析中には無視されるため、譜刻される出力には影響を与えません。コメントには 2 つのタイプがあります。パーセント記号 @code{%} は行コメントになります。@code{%} の後の文字は無視されます。慣習上、行コメントはそのコメントが参照するコードの上に置かれます。
480 % this comment refers to the Bs
484 ブロック コメントは音楽入力のある部分全体をコメントにします。@code{%@{} と @code{%@}} で囲まれた部分は無視されます。しかしながら、ブロック コメントを @q{ネスト} させることはできません。このことはあるブロック コメントを他のブロック コメントの中に置くことはできないということを意味します。そうした場合、最初の @code{%@}} は両方のブロック コメントを終わらせてしまいます。以下のコード断片はコメントの使用例を示しています:
487 % notes for twinkle twinkle follow
492 This line, and the notes below are ignored,
493 since they are in a block comment.
495 なぜなら、これらはブロック コメントの中にあるからです
505 @subsection このマニュアルの読み方
506 @translationof How to read the manual
508 @cindex how to read the manual
509 @cindex manual, reading
510 @cindex reading the manual
511 @cindex examples, clickable
512 @cindex clickable examples
513 @cindex tips for constructing files
515 @cindex constructing files, tips
516 @cindex files, tips for constructing
518 @ref{入力ファイルに取り組む} で見てきたように、LilyPond 入力は @{ @} マークか @code{@w{\relative c'' @{ ... @}}} で囲まれていなければなりません。このマニュアルの残りの部分では、たいていの例はこのことを省略しています。このマニュアルにある例を複製するためにあなたは表示されいている入力をコピーするかもしれませんが、あなたは以下のように @code{@w{\relative c'' @{ @}}} を付け加えなければなりません:
522 ... example goes here...
527 なぜ中括弧を省略するのか?このマニュアルの中のたいていの例はより大きな音楽の途中に挿入することができます。これらの例に対して @code{@w{\relative c'' @{ @}}} を付け加えることには意味がありません -- あなたはある @code{\relative} を他の @code{\relative} の中に置くべきではありません!すべての例の周りに @code{@w{\relative c'' @{ @}}} を置いてしまうと、あなたは小さな例をコピーして、それをより大きなあなた自身の音楽の中にペーストすることができなくなってしまいます。たいていの人は資料を既存の楽曲に付け加えようとしますので、我々はそのようにマニュアルを形作っています。
533 多くの人々はすでにあるプログラムを試したり、いじったりすることでプログラムを学びます。これは LilyPond でも可能です。このマニュアルの HTML バージョンの中にある画像をクリックすると、画像を生成するために使用された正確な LilyPond 入力を見ることができます。以下の画像を試してみてください:
538 c-\markup { \bold \huge { Click here. } }
542 @q{ly 断片} セクションにある記述をカット&ペーストすることによって、あなたは LilyPond を経験するための開始テンプレートを入手できます。まったく同じもの (線の太さなどもすべて同じ) を出力させるには、@qq{Start cut-&-pastable section} からファイルの最後までをコピーしてください。
546 @ref{LilyPond 入力ファイルの記述に対する提案} に入力ファイルを構築するための更なる TIPS があります。しかしながら、まずはこのチュートリアルの残りの部分を読み終えることが大切です。
547 @c LilyPond 入力ファイルの書き方の提案
552 @translationof Single staff notation
554 この節はでは 1 つの譜表の上にある 1 つの声部のために使用される一般的な表記を紹介します。
568 @translationof Accidentals and key signatures
574 @cindex accidentals and key signatures
577 @cindex sharp, double
587 音楽用語集: @rglos{sharp}, @rglos{flat}, @rglos{double sharp},
588 @rglos{double flat}, @rglos{accidental}
589 @c シャープ (sharp), フラット (flat), ダブル シャープ (double sharp), ダブル フラット (double flat), 臨時記号 (accidental)
591 @notation{シャープ}は音符名に @code{is} を付け加えることによって作られ、@notation{フラット}は @code{es} を付け加えることによって作られます。予想しているかもしれませんが、@notation{ダブル シャープ}や@notation{ダブル フラット}は @code{isis} や @code{eses} を付け加えることによって作られます。この文法はドイツ語での命名規則から生まれました (訳者: 原文では @qq{Dutch} なのでオランダ語なのですが、実際はドイツ語での命名規則であり、@qq{Dutch} は「ゲルマン民族の支配している地域」=現在のドイツとオランダを意味しているものと解釈してドイツ語と訳すことにします)。@notation{臨時記号}に対して他の名前を使うには、@ruser{Note names in other languages} を参照してください。
594 @lilypond[verbatim,quote,relative=2]
595 cis1 ees fisis, aeses
599 @cindex key signature, setting
603 @cindex key signature
606 @cindex accidentals and key signature
607 @cindex content vs. layout
608 @cindex layout vs. content
617 音楽用語集: @rglos{key signature}, @rglos{major}, @rglos{minor}
618 @c 調号 (key signature), メジャ (major), マイナ (minor)
620 @notation{調号}はコマンド @code{\key} とそれに続く音高と @code{\major} または @code{\minor} によってセットされます。
622 @lilypond[verbatim,quote,relative=2]
632 @subheading 警告: 調号と音高
635 音楽用語集: @rglos{accidental}, @rglos{key signature},
636 @rglos{pitch}, @rglos{flat}, @rglos{natural}, @rglos{sharp},
637 @rglos{transposition}
638 @c 臨時記号 (accidental), 調号 (key signature), 音高 (pitch), フラット (flat), ナチュラル (natural), シャープ (sharp), 移調 (transposition)
640 @notation{臨時記号}を譜刻するかを決定するために LilyPond は音高と@notation{調号}を検証します。調号は@emph{譜刻される}臨時記号にだけ影響を与え、音符の@notation{音高}には影響を与えません!この特徴はしばしば新しく LilyPond を始める人を混乱させるため、より詳細に説明します。
642 LilyPond は音楽の内容とレイアウトを峻別します。音符の変更記号 (@notation{フラット}、@notation{ナチュラル}、@notation{シャープ}) は音高の一部であるため、音楽の内容です。臨時記号 (@emph{譜刻される}フラット、ナチュラル、シャープ記号) が対応する音符の前に譜刻されるかどうかはレイアウトの問題です。レイアウトは規則に従う何らかのものであるため、臨時記号はそれらの規則に対応して自動的に譜刻されます。あなたの音楽の中での音高は人工的な仕掛けであるため、それらは自動的には追加されず、あなたはあなたの聞きたい音高を入力しなければなりません。
646 @lilypond[verbatim,quote,relative=2]
652 臨時記号を譜刻されている音符はありません。しかしながら、あなたは入力ファイルで @code{is} を付け加えて @code{cis} や @code{fis} などとタイプしなければなりません。
654 コード @code{b} は @qq{譜表の最初の線 (一番上の線) のすぐ下に黒い点を譜刻せよ} という意味ではありません。そうではなく、@qq{音高が B ナチュラルである音符がある} という意味です。A フラット メジャの調子では、@code{b} には臨時記号が付きます:
656 @lilypond[verbatim,quote,relative=2]
661 すべての変化を明示的に付け加えることは入力時にちょっとした努力を要するかもしれません。しかしながら、移調がより容易になる、異なる規約に対応して臨時記号を譜刻できるという利点があります。臨時記号がどのように異なる規則に対応して譜刻されるのかについてのいくつかの例は、@ruser{Automatic accidentals} を参照してください。
666 表記リファレンス: @ruser{Note names in other languages},
667 @ruser{臨時記号}, @ruser{Automatic accidentals},
668 @ruser{Key signature}
669 @c 他の言語での音符名, 臨時記号, 臨時記号の自動譜刻, 調号
671 音楽用語集: @rglos{Pitch names}
677 @translationof Ties and slurs
681 @cindex slur, phrasing
682 @cindex phrasing slur
694 @notation{タイ}はタイが始まる最初の音符にチルド @code{~} を付加することによって作成されます。
696 @lilypond[verbatim,quote,relative=2]
707 @notation{スラー}は多くの音符に亘って描かれる曲線です。スラーの開始音符と終了音符にはそれぞれ @code{(} と @code{)} を付加します。
709 @lilypond[verbatim,quote,relative=2]
710 d4( c16) cis( d e c cis d) e( d4)
714 @subheading フレージング スラー
716 音楽用語集: @rglos{slur}, @rglos{phrasing}
717 @c スラー (slur), フレージング (phrasing)
719 長い@notation{フレーズ}を示すためのスラーは @code{\(} と @code{\)} によって挿入することができます。あなたは@notation{スラー}とフレージング スラーを重ねることができます。しかしながら、あなたは複数のスラーを重ねたり、複数のフレージング スラーを重ねることはできません。
721 @lilypond[verbatim,quote,relative=2]
722 a8(\( ais b c) cis2 b'2 a4 cis,\)
728 @cindex slurs versus ties
729 @subheading 警告: スラー vs. タイ
731 音楽用語集: @rglos{articulation}, @rglos{slur}, @rglos{tie}
732 @c アーティキュレーション (articulation), スラー (slur), タイ (tie)
734 @notation{スラー}は@notation{タイ}のように見えますが、意味が異なります。タイは単純に最初の音符をより長くするものであり、同じ音程の音符のペアに対してのみ使用することができます。スラーは複数の音符による@notation{アーティキュレーション} (節、表現) を表していて、より大きな音符のグループに対して使用することができます。スラーとタイはネストさせることができます。
736 @lilypond[verbatim,quote,relative=2]
737 c2~( c8 fis fis4 ~ fis2 g2)
742 表記リファレンス: @ruser{タイ}, @ruser{スラー},
744 @c タイ, スラー, フレージング スラー
747 @node アーティキュレーションと強弱記号
748 @subsection アーティキュレーションと強弱記号
749 @translationof Articulation and dynamics
752 @subheading アーティキュレーション
759 音楽用語集: @rglos{articulation}
760 @c アーティキュレーション (articulation)
762 一般的な@notation{アーティキュレーション}はダッシュ @code{-} と単一文字を使うことで音符に付け加えることができます:
764 @lilypond[verbatim,quote,relative=2]
765 c-. c-- c-> c-^ c-+ c-_
777 音楽用語集: @rglos{fingering}
780 同様に、@notation{運指法}はダッシュ (@code{-}) と譜刻する数字を使うことで音符に付け加えることができます:
782 @lilypond[verbatim,quote,relative=2]
786 通常、アーティキュレーションと運指法は自動的に刻譜されます。しかしながら、あなたはダッシュ (@code{-}) を @code{^} (上へ) または @code{_} (下へ) に置き換えることによって方向を指定することができます。さらに、あなたは同じ音符に複数のアーティキュレーションを使用することもできます。しかしながらたいていの場合は、LilyPond にアーティキュレーションの方向を決定させるのが一番です。
788 @lilypond[verbatim,quote,relative=2]
789 c_-^1 d^. f^4_2-> e^-_+
813 音楽用語集: @rglos{dynamics}, @rglos{crescendo}
815 @c 強弱記号 (dynamics), クレッシェンド (crescendo), デクレッシェンド (decrescendo)
817 @notation{強弱記号}は音符にバックシュ ラッシュ付きのマークを付け加えることによって作成されます:
819 @lilypond[verbatim,quote,relative=2]
823 @notation{クレッシェンド}と@notation{デクレッシェンド}はコマンド @code{\<} と @code{\>} によって開始されます。次の強弱記号 -- 例えば、@code{\f} -- が (デ)クレッシェンドを終わらせます。コマンド @code{\!} を使って終わらせることもできます:
825 @lilypond[verbatim,quote,relative=2]
831 表記リファレンス: @ruser{Articulations and ornamentations},
832 @ruser{Fingering instructions}, @ruser{強弱記号}
833 @c アーティキュレーションと装飾, 運指法, 強弱記号
837 @subsection テキストを追加する
838 @translationof Adding text
848 テキストがあなたの楽譜に追加されるかもしれません:
850 @lilypond[verbatim,quote,relative=2]
854 追加のフォーマット指定が @code{\markup} コマンドで追加されるかもしれません:
856 @lilypond[verbatim,quote,relative=2]
857 c1^\markup{ \bold espr}
859 \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
865 表記リファレンス: @ruser{Writing text}
870 @subsection 自動ビームと手動ビーム
871 @translationof Automatic and manual beams
875 @cindex automatic beams
877 @cindex beams, automatic
878 @cindex beams, manual
879 @cindex beams, by hand
884 @funindex \autoBeamOff
885 @funindex autoBeamOff
886 @funindex \autoBeamOn
892 すべての@notation{ビーム}は自動的に描かれます:
894 @lilypond[verbatim,quote,relative=2]
895 a8 ais d ees r d c16 b a8
898 あなたが自動ビームを好まない場合、手動で上書きすることもできます。ある箇所のビームを修正するには、ビームを付ける最初の音符に @code{[} を、最後の音符に @code{]} を付け加えます。
900 @lilypond[verbatim,quote,relative=2]
901 a8[ ais] d[ ees r d] a b
904 もしあなたが楽譜全体あるいは一部で自動ビームを Off にしたいのなら、自動ビームを Off にするにはコマンド @code{\autoBeamOff} を、再度自動ビームを On にするには @code{\autoBeamOn} を使用します。
906 @lilypond[verbatim,quote,relative=2]
915 表記リファレンス: @ruser{Automatic beams}, @ruser{Manual beams}
920 @subsection 高度なリズム コマンド
921 @translationof Advanced rhythmic commands
931 @cindex partial measure
936 音楽用語集: @rglos{anacrusis}
939 ピックアップ (訳者: 本来の拍子以外の拍子を持つ小節のこと) (または@notation{弱拍} (原語: anarusis、西洋音楽用語の 1 つで楽曲が第 1 拍以外から開始すること)) はキーワード @code{\partial} によって挿入されます。この後に演奏時間が続きます: @code{\partial 4} は 4 分音符のピックアップであり、@code{\partial 8} は 8 分音符のピックアップです。
941 @lilypond[verbatim,quote,relative=2]
956 音楽用語集: @rglos{note value}, @rglos{triplet}
957 @c 音価 (note value), 3 連符 (triplet)
959 @notation{連符}は @code{\times} キーワードによって作成されます。これは 2 つの引数をとります: 分数と楽譜の断片です。楽譜の断片の演奏時間と分数が乗算されます。3 連符は表記された演奏時間の 2/3 の長さなので、@notation{3 連符}は分数として 2/3 を持ちます。
961 @lilypond[verbatim,quote,relative=2]
962 \times 2/3 { f8 g a }
964 \times 2/3 { f,8 g16[ a g a] }
970 @c グレース ノート (小さな音符で書かれた装飾音)
978 @funindex \acciaccatura
979 @funindex acciaccatura
980 @funindex \appoggiatura
981 @funindex acciaccatura
983 音楽用語集: @rglos{grace notes}, @rglos{acciaccatura},
985 @c グレース ノート (grace notes), 短前打音 (acciaccatura), 前打音 (appoggiatura)
987 @notation{グレース ノート}は @code{\grace} コマンドによって作成されますが、キーワード @code{\appoggiatura} や @code{\acciaccatura} による接頭音楽表記によっても作成されます:
989 @lilypond[verbatim,quote,relative=2]
990 c2 \grace { a32[ b] } c2
991 c2 \appoggiatura b16 c2
992 c2 \acciaccatura b16 c2
997 表記リファレンス: @ruser{グレース ノート}, @ruser{連符},
1003 @section 同時に演奏する複数の音符
1004 @translationof Multiple notes at once
1007 この節はでは同時に複数の表記 -- 複数の楽器、単一の楽器に対する複数の譜 (すなわちピアノ)、和音 -- を持つ方法について紹介します。
1009 音楽の中での多声は楽曲の中にある複数の声部を参照します。LilyPond の中での多声は同じ譜表上にある複数の声部を参照します。
1021 @subsection 音楽表記についての説明
1022 @translationof Music expressions explained
1025 @cindex music expression
1026 @cindex expression, music
1027 @cindex compound music expression
1028 @cindex music expression, compound
1030 LilyPond 入力ファイルの中では、音楽は@notation{音楽表記}によって表されます。単一の音符は 1 つの音楽表記になります:
1032 @lilypond[verbatim,quote,relative=2]
1036 表記を中括弧で括ることによって@emph{複合音楽表記}が作成されます。2 つの音符を持つ複合音楽表記を作成しました:
1038 @lilypond[verbatim,quote,relative=2]
1042 中括弧の中にある音楽表記 (例えば、いくつかの音符) のグループはそれらがシークエンスであるということを意味しています (つまり、それぞれの音符は前の音符に続くということです)。もう 1 つ音楽表記の結果を示します:
1044 @lilypond[verbatim,quote,relative=2]
1049 @subheading 数学的表記との類似
1051 このメカニズムは数学式と似ています: 大きな式は小さな式を組み合わせることによって作成されます。そのような式は表記と呼ばれ、それらの定義は再帰的なのであなたは任意に複雑で大きな表記を作ることができます。例えば、
1060 ((1 + 2) * 3) / (4 * 5)
1063 これは表記のシークエンスであり、各表記は次の (より大きな) 表記に組み込まれています。最も単純な表記は数であり、より大きな表記は演算子 (@code{+}, @code{*}, @code{/} など) と括弧を組み合わせることによって作成されます。数学式と同様に、音楽表記も任意の深さにネストさせることができ、それは多声楽譜のような複雑な音楽のために必要なことです。
1066 @subheading 同時進行する音楽表記: 複数の譜
1069 @cindex multiple staves
1070 @cindex staves, multiple
1072 @cindex combining expressions in parallel
1073 @cindex parallel expressions
1074 @cindex expressions, parallel
1075 @cindex relative notes and simultaneous music
1076 @cindex relative notes and parallel expressions
1077 @cindex simultaneous music and relative notes
1078 @cindex parallel expressions and relative notes
1084 音楽用語集: @rglos{polyphony}
1087 このテクニックは@notation{多声音楽}に対して有用です。複数の声部や複数の譜を持つ音楽を入力するために、音楽表記を並列に組み合わせます。2 つの声部を同時に演奏すべきであるということを示すには、単純に音楽表記を同時進行するよう組み合わせて入力します。@q{同時進行} の音楽表記は @code{<<} と @code{>>} で音楽表記を囲い込むことによって形成されます。以下の例では、3 つのシークエンス (すべてのシークエンスはそれぞれ 2 つの音符を保持しています) が同時進行するように組み合わされています:
1089 @lilypond[verbatim,quote]
1099 入力の各レベルに対して異なる量のスペースをインデントとして与えていることに注意してください。LilyPond は行の先頭にどれくらい多く (あるいは少なく) のスペースがあるかを気にしません。しかしながら、上の例のように LilyPond コードにインデントを入れることによって人間にとってはずっと読みやすくなります。
1101 @warning{入力での各音符は前の音符との相対関係にあり、先頭の @code{@bs{}relative} コマンドの中にある @code{c''} と相対関係にあるわけではありません。}
1105 @subheading 同時進行する音楽表記: 単一の譜表
1108 楽曲の中にある譜の数を決定するために、LilPond は最初の音楽表記の始まりを調べます。始まりの音楽表記が単一の表記であった場合、楽譜の中の譜表は 1 つです。同時進行の表記であった場合、譜表は複数になります。
1110 @lilypond[verbatim,quote]
1113 << { e f } { c <<b d>> } >>
1120 @translationof Multiple staves
1123 @cindex multiple staves
1124 @cindex staves, multiple
1126 @cindex context, notation
1127 @cindex notation context
1129 @funindex \new Staff
1137 @funindex ChordNames
1139 @ref{音楽表記についての説明} で見てきたように、LilyPond 入力ファイルは音楽表記によって構築されています。複数の同時進行の音楽表記で始まる楽譜の場合、LilyPond は複数の譜を作成します。しかしながら、各譜表を明示的に作成すると何が起こるかより容易に見て取ることができます。
1142 複数の譜表を譜刻するには、1 つの譜表を形成する音楽の各部分の前に @code{\new Staff} を付け加えます。これらの @code{Staff} 要素は @code{<<} と @code{>>} で並列に組み合わされます:
1144 @lilypond[verbatim,quote]
1147 \new Staff { \clef treble c }
1148 \new Staff { \clef bass c,, }
1153 コマンド @code{\new} は 1 つの @q{表記コンテキスト} を導入します。表記コンテキストは音楽的イベント (音符や @code{\clef} コマンドなど) が解釈される環境です。単純な楽曲では、そのような表記コンテキストは自動的に作成されます。より複雑な楽曲ではコンテキストを明示的に記述することが望ましいです。
1155 コンテキストにはいくつかのタイプがあります。@code{Score}, @code{Staff}, @code{Voice} は旋律表記を扱います。一方、@code{Lyrics} は歌詞テキストをセットし、@code{ChordNames} はコード ネームを譜刻します。
1157 文法という観点で見ると、@code{\new} を音楽表記の先頭に付け加えることによってより大きな音楽表記が作成されます。これは数学でのマイナス符号に似ています。数式 @math{(4+5)} は数学表記であり、@math{-(4-5)} はより大きな数学表記です。
1159 ある譜表に挿入された@notation{拍子記号}はデフォルトで他のすべての譜に影響を与えます。一方で、ある譜表に挿入された調号は他のすべての譜に影響を@emph{与えません}。記号によってデフォルトの振る舞いが異なるのは、移調する楽器を扱う楽譜の方が複合リズム (polyrhythmic) の楽譜よりも一般的だからです。
1161 @lilypond[verbatim,quote]
1164 \new Staff { \clef treble \key d \major \time 3/4 c }
1165 \new Staff { \clef bass c,, }
1173 @translationof Staff groups
1177 @cindex staff, piano
1179 @cindex staff, choir
1181 @cindex staff, grand
1184 @funindex PianoStaff
1185 @funindex GrandStaff
1186 @funindex ChoirStaff
1188 音楽用語集: @rglos{brace}
1191 ピアノ譜は@notation{ブレース}でつながれた 2 つの譜表として刻譜されます。そのような譜表を刻譜することは @ref{複数の譜} での多声の例に似ています。しかしながら、今度は表記全体が @code{PianoStaff} の中に挿入されます:
1202 @lilypond[verbatim,quote]
1205 \new Staff { \time 2/4 c4 e g g, }
1206 \new Staff { \clef bass c,, c' e c }
1211 ピアノ譜以外の譜表グループ化はオーケストラ譜向けには @code{\new GrandStaff} で、ボーカル譜向けには @w{@code{\new ChoirStaff}} で導入されます。これらの譜表グループはそれぞれタイプの異なるコンテキストを形成し、各システム (訳者: 楽譜 1 行分のこと。ピアノ譜では右手と左手の 2 つの譜表ペアでの 1 行が 1 システムになります) の左端にブレースを付けて、さらに、小節線の高さを制御します。
1215 表記リファレンス: @ruser{Keyboard and other multi-staff instruments},
1216 @ruser{Displaying staves}
1217 @c 楽器 キーボードと他の複譜表楽器, 譜表の表示
1220 @node 音符を組み合わせて和音にする
1221 @subsection 音符を組み合わせて和音にする
1222 @translationof Combining notes into chords
1226 @cindex note durations in chords
1232 音楽用語集: @rglos{chord}
1235 音符を @code{<< ... >>} で囲んでそれらの音符が同時進行であることを示すことによって、それらの音符を@notation{和音}として組み合わせる方法について見てきました。しかしながら、和音であることを示すための通常の方法は音符を < ... > (角括弧) で囲みます。和音の中にある音符はすべて同じ演奏時間でなければならず、その演奏時間は角括弧を閉じた後に置かれなければならないということに注意してください。
1237 @lilypond[verbatim,quote,relative=2]
1238 r4 <c e g>4 <c f a>2
1241 和音は単一の音符とほとんど同じであると考えてください: 単一の音符に付け加えられるものはほとんどすべて和音にも付け加えられ、付け加えるものはすべて角括弧の@emph{外}に付け加えられなければなりません。例えば、あなたはビームやタイなどのマークをコードに組み合わせることができます。それらは角括弧の外側に置かれなければなりません。
1243 @lilypond[verbatim,quote,relative=2]
1244 r4 <c e g>8[ <c f a>]~ <c f a>2
1245 r4 <c e g>8( <c e g>\> <c e g>4 <c f a>\!)
1250 @subsection 単一譜表での多声
1251 @translationof Single staff polyphony
1255 @cindex multiple voices
1256 @cindex voices, more on one staff
1257 @cindex single staff polyphony
1259 @cindex rest, spacer
1261 @funindex << ... \\ ... >>
1266 異なる旋律が単一の譜に組み込まれる場合、それらは多声部として刻譜されます; 各声部はそれ自体のステム (音符の玉から上下に出る棒)、スラー、ビーム (ステムとステムを結ぶ横棒) を持ちます。最上段の声部は玉から上に伸びるステムを持ち、最下段の声部は下に伸びるステムを持ちます。
1268 そのような多声のパートを入力するには、各声部をシークエンスとして (@w{@code{@{ ... @}}} を使って) 入力し、それらを @code{\\} で区切って結合することで同時進行するように組み合わせます:
1270 @lilypond[verbatim,quote,relative=2]
1277 多声部音楽を刻譜する場合、空白休符を使用すると都合が良いかもしれません: それは刻譜されない休符です。空白休符は一時的に演奏されない声部の空白期間を埋めるのに有用です。今度は通常の休符 (@code{r}) の代わりに空白休符 (@code{s}) を使った上と同じ例を示します:
1279 @lilypond[verbatim,quote,relative=2]
1287 さらに、これらの表記は任意にネストさせることができます。
1289 @lilypond[verbatim,quote,relative=2]
1297 { <c g>1 ~ <c g>4 } \\
1305 表記リファレンス: @ruser{Simultaneous notes}
1311 @translationof Songs
1314 この節はでは声楽とシンプルな歌曲譜についての紹介を行います。
1324 @subsection 簡単な歌詞をセットする
1325 @translationof Setting simple songs
1331 @funindex \addlyrics
1334 音楽用語集: @rglos{lyrics}
1337 童謡の冒頭部分の旋律があります。歌詞は @notation{Girls and boys come out to play} です:
1339 @lilypond[verbatim,quote]
1343 d4 b8 c4 a8 d4 b8 g4
1347 @code{\addlyrics} キーワードで組み合わせることによって、@notation{歌詞}をこれらの音符にセットすることができます。歌詞は音節ごとにスペースで区切って入力します。
1349 @lilypond[verbatim,quote]
1354 d4 b8 c4 a8 d4 b8 g4
1357 Girls and boys come out to play,
1362 中括弧が音楽と歌詞を区切っていて、音楽と歌詞が同時進行であることを示すために楽曲全体が @w{@code{<< ... >>}} で囲まれていることに注意してください。
1366 @subsection 歌詞を旋律に揃える
1367 @translationof Aligning lyrics to a melody
1371 @cindex extender line
1374 @cindex lyrics, aligning
1375 @cindex aligning lyrics
1376 @cindex lyrics, multi-syllable words
1377 @cindex words with multiple syllables in lyrics
1379 音楽用語集: @rglos{melisma}, @rglos{extender line}
1380 @c メリスマ (melisma), 延長線 (extender line)
1382 童謡の次の行は @notation{The moon doth shine as bright as day} です。これを前の例に付け加えてみましょう:
1384 @lilypond[verbatim,quote]
1389 d4 b8 c4 a8 d4 b8 g4
1390 g8 a4 b8 c b a d4 b8 g4.
1393 Girls and boys come out to play,
1394 The moon doth shine as bright as day;
1399 付け足した歌詞は音符に適切に揃っていません。@notation{shine} は 2 音符に亘って歌われるべきですが、そうなっていません。これは@notation{メリスマ}と呼ばれ、単音節が複数の音符に亘って歌われます。ある音節を複数に広げる方法はいくつかあり、最も簡単なのはそれらの音符にスラーを付け加えることです。詳細は @ref{タイとスラー} を参照してください。
1401 @lilypond[verbatim,quote]
1406 d4 b8 c4 a8 d4 b8 g4
1407 g8 a4 b8 c( b) a d4 b8 g4.
1410 Girls and boys come out to play,
1411 The moon doth shine as bright as day;
1416 今度は、単語が正しく音符に対して並んでいます。しかしながら、@notation{shine as} 上の音符に対する自動ビームは適当でないように見えます。これを修正するために、手動ビーム コマンドを挿入して自動ビームをオーバライドします。詳細は @ref{自動ビームと手動ビーム} を参照してください。
1418 @lilypond[verbatim,quote]
1423 d4 b8 c4 a8 d4 b8 g4
1424 g8 a4 b8 c([ b]) a d4 b8 g4.
1427 Girls and boys come out to play,
1428 The moon doth shine as bright as day;
1433 スラーを用いる方法の外に、メリスマに含まれるべきである各音符に対応したアンダスコア @code{_} を用いることによってその歌詞がメリスマであるということを示すことができます:
1435 @lilypond[verbatim,quote]
1440 d4 b8 c4 a8 d4 b8 g4
1441 g8 a4 b8 c[ b] a d4 b8 g4.
1444 Girls and boys come out to play,
1445 The moon doth shine _ as bright as day;
1450 通常、ある歌詞がいくつかの音符に亘って延長される場合や、単一の非常に長い音符に割り当てられる場合、その歌詞からその歌詞に対応しているすべての音符の下に@notation{延長線}が描かれます。延長線は 2 つのアンダスコア @code{__} で挿入されます。今度は、例として Purcell の @notation{Dido and Æeneas} から最初の 3 小節目からを挙げます:
1452 @lilypond[verbatim,quote]
1458 b c4.( bes8 a4. g8 fis4.) g8 fis1
1462 am laid __ in earth,
1467 今までの例には複数の音節を持つ単語はありませんでした。通常、複数の音節を持つ単語は音節ごとに 1 つの音符に分割され、音節間はハイフンで結ばれます。ハイフンは 2 つのダッシュとして入力され、その結果として音節の間にハイフンが描かれます。今度の例では歌詞に複数の音節を持つ単語が含まれ、我々が今まで歌詞を音符に揃える方法について学んだことがすべて含まれています。
1469 @c no ragged-right here because otherwise the hyphens get lost,
1470 @c but the example is long enough to avoid looking strange.
1471 @lilypond[verbatim,quote,noragged-right]
1477 d4 g4 g a8( b) g4 g4
1481 A -- way in a __ man -- ger,
1482 no __ crib for a bed, __
1487 ある歌詞では -- 特にイタリア語では -- 反対のことが求められます: 複数の音節を 1 つの音符にセットします。これは音節を単一のアンダスコア @code{_} (スペース無し) でリンクさせるか、クォートで囲むことによって達成されます。今度の例は Rossini の @notation{Figaro} からで、@notation{Largo al factotum} の @notation{al} は @notation{Largo} の @notation{go} と同じ音符で歌われなければなりません:
1489 @c no ragged-right here because otherwise the hyphens get lost,
1490 @c but the example is long enough to avoid looking strange.
1491 @lilypond[verbatim,quote,noragged-right]
1497 c4.~ c8 d b c([ d]) b c d b c
1500 Lar -- go_al fac -- to -- tum del -- la cit -- tà
1507 表記リファレンス: @ruser{Vocal music}
1512 @subsection 複数の譜への歌詞
1513 @translationof Lyrics to multiple staves
1516 @cindex lyrics and multiple staves
1517 @cindex multiple staves and lyrics
1519 @code{\addlyrics} を用いた簡単なアプローチは歌詞を複数の譜表の下に置くために使用することができます。ここで、Handel の @notation{Judas Maccabæus} から例を挙げます:
1521 @lilypond[verbatim,quote]
1527 c8 c([ bes]) a a([ g]) f f'4. b, c4.~ c4
1530 Let flee -- cy flocks the hills a -- dorn, __
1536 r8 r4. r4 c8 a'([ g]) f f([ e]) d e([ d]) c bes'4
1539 Let flee -- cy flocks the hills a -- dorn,
1544 この簡単な例よりも複雑な楽譜では、変数を使って楽譜構造を音符と歌詞から分離したほうが良いです。このことは @ref{変数を用いて楽曲を編成する} で議論されています。
1548 表記リファレンス: @ruser{Vocal music}
1554 @translationof Final touches
1557 この節はチュートリアルの最終節です; 単純な曲に仕上げを加える方法を示し、このマニュアルの残りの部分についての紹介を行います。
1564 * このチュートリアルの後にすべきこと::
1569 @subsection 変数を用いて楽曲を編成する
1570 @translationof Organizing pieces with variables
1574 @cindex variables, defining
1577 @cindex assigning variables
1578 @cindex using variables
1579 @cindex variables, using
1580 @cindex variables, characters allowed in
1581 @cindex characters allowed in variables
1583 これまで議論してきたすべての要素を組み合わせてより大きなファイルを作成すると、音楽表記はずっと大きくなります。多くの譜を持つ多声音楽では、入力ファイルはとても混乱しやすくなります。@emph{変数}を使って混乱を避けることができます。
1585 変数 (これは識別子やマクロとも言えます) を使うことによって、音楽表記の複雑さを打破することができます。変数は以下のように割り当てられます:
1588 namedMusic = @{ @dots{} @}
1591 音楽表記 @code{namedMusic} の内容は名前の前にバックスラッシュを置くことによって (@code{\namedMusic}、これはまさに LilyPond の標準コマンドと同様です) 後で使用することができます。
1593 @lilypond[verbatim,quote]
1594 violin = \new Staff {
1599 cello = \new Staff {
1614 変数の名前に使えるのはアルファベットだけであり、数字、アンダスコア、ダッシュを使うことはできません。
1616 変数はメインの音楽表記の@emph{前}に定義されていなければなりません。しかしながら定義後は必要に応じて何度も使用されるかもしれません。楽曲のある部分が何度もリピートしている場合、入力の手間を省くために、変数は他の変数の定義の中ででも使用されるかもしれません。
1618 @lilypond[verbatim,quote]
1619 tripletA = \times 2/3 { c,8 e g }
1620 barA = { \tripletA \tripletA \tripletA \tripletA }
1627 変数は入力ファイルの中にある他の多くのタイプに対しても使用されるかもしれません。例えば以下のようにです:
1632 aFivePaper = \paper @{ paperheight = 21.0 \cm @}
1635 変数の内容次第では、変数は他の場所で使用することができます。以下の例は上の例の変数を使用しています:
1650 @translationof Version number
1655 @cindex version number
1657 @cindex future upgrades
1658 @cindex updating files
1659 @cindex files, updating
1663 @funindex convert-ly
1665 @code{\version} ステートメントはその入力ファイルが LilyPond のどのバージョンに対して書かれているのかを記録しています:
1668 \version @w{"@version{}"}
1672 慣習上、これは LilyPond ファイルの先頭に置きます。
1674 これらの注釈は LilyPond の将来のアップグレードをよりスムーズにします。構文の変更は特別なプログラム -- @command{convert-ly} -- によって扱われます。このプログラムは適用する規則を決定するために @code{\version} を使用します。詳細は @rprogram{convert-ly を使ってファイルを更新する} を参照してください。
1675 @c conver-ly を用いたファイルのアップデート
1679 @subsection タイトルを付け加える
1680 @translationof Adding titles
1685 @cindex header block
1690 タイトル、作曲者、作品番号、それと類似の情報は @code{\header} ブロックの中に挿入されます。これはメインの音楽表記の外に存在します。普通、@code{\header} ブロックはバージョン番号の下に置かれます。
1693 \version @w{"@version{}"}
1701 @dots{} music @dots{}
1705 ファイルが処理されるとき、タイトルと作曲者は楽譜の上に譜刻されます。タイトルについての更なる情報は、@ruser{Creating titles} を参照してください。
1711 @translationof Absolute note names
1715 @cindex note names, absolute
1716 @cindex absolute mode (絶対モード)
1717 @cindex absolute values for pitches
1718 @cindex pitches, absolute values
1719 @cindex absolute note names
1721 これまで我々は常に音高を定義するのに @code{\relative} を使ってきました。これはたいていの音楽を入力するのに最も容易な方法です。しかしながら、音高を定義するための方法がもう一つ存在します。絶対モードです。
1723 あなたが @code{\relative} を省略した場合、LilyPond はすべての音高を絶対値として扱います。@code{c'} は常にミドル C を意味し、@code{b} は常にミドル C の 1 音下の音符を意味し、@code{g,} は常にヘ音記号の譜表の最下段の譜線上にある音符を意味します。
1725 @lilypond[verbatim,quote]
1733 今度は 4 オクターブの音階があります:
1735 @lilypond[verbatim,quote]
1750 見て取れるように、ト音記号に旋律を書く場合は多くのクォート @code{'} 記号が使用されます。モーツァルトからの以下の楽譜の断片について考えてみます:
1752 @lilypond[verbatim,quote]
1756 cis''8. d''16 cis''8 e''4 e''8
1757 b'8. cis''16 b'8 d''4 d''8
1761 これらすべてのクォート記号は入力ファイルを読みにくいものにして、エラーの原因になります。@code{\relative} を使うことで、上の例はずっと読みやくす、入力しやすくなります:
1763 @lilypond[verbatim,quote]
1767 cis8. d16 cis8 e4 e8
1772 @code{\relative} モードを使っているときにあなたがオクターブ記号 (@code{'} や @code{,}) を付け間違えた場合、すぐにわかります -- 多くの音符が間違ったオクターブに譜刻されます。絶対モードを使っているときに、ある付け間違いをした場合、はっきりとせず、見つけにくいです。
1774 しかしながら、絶対モードは大きな音程を持つ音楽に対しては有用であり、LilyPond ファイルをコンピュータで生成する場合は非常に有用です。
1777 @node このチュートリアルの後にすべきこと
1778 @subsection このチュートリアルの後にすべきこと
1779 @translationof After the tutorial
1780 @c このチュートリアルの後にすべきこと
1782 このチュートリアルを終えた後、あなたは 1、2 の楽譜を書いてみるべきです。@ref{テンプレート} にある楽譜の 1 つに音符を付け加えることから始めてください。あなたがこのチュートリアルではカバーされなかった表記を行う必要がある場合、@ruser{Musical notation} で始まる表記リファレンスを参照してください。あなたがテンプレートではカバーされていない楽器のアンサンブルのために楽譜を書こうとする場合、@ref{テンプレートを拡張する} を参照してください。
1787 あなたがいくつかの短い楽譜を書き終えた後は、学習用マニュアルの残りの部分 (3~5 章) を読んでください。もちろん、今それらを読んでも何も問題はありません!しかしながら、学習用マニュアルの残りの部分はあなたが LilyPond 入力に馴れていると仮定しています。あなたはそれらの章を今すぐ一読し、もっと経験を積んだ後に読み直すことを望むかもしれません。
1789 このチュートリアルと学習マニュアルの残りの部分では、各節の最後に@strong{参照}があり、他の節を参照してます: 初めて本書を読むときはこれらの参照を追うべきではありません。あなたが学習マニュアルをすべて読み終えたとき、いくつかの節を読み返し、さらに参照を追おうと思うかもしれません。
1791 @ref{このドキュメントについて} をまだ読んでいないのなら、それを@emph{読んでください}。LilyPond についての情報は多いため、新しく LilyPond を始める人はしばしばどこを読むべきかわからないことがあります。5 分間使ってその節を注意深く読めば、あなたは何時間も見当違いの場所を読むフラストレーションを持たずに済ますことができるでしょう!