]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/learning/common-notation.itely
Docs: update Japanese LM and AU
[lilypond.git] / Documentation / ja / learning / common-notation.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2
3 @ignore
4     Translation of GIT committish: 499a511d4166feaada31114e097f86b5e0c56421
5
6     When revising a translation, copy the HEAD committish of the
7     version that you are working on.  See TRANSLATION for details.
8 @end ignore
9
10 @c \version "2.12.0"
11
12 @ignore
13 Tutorial guidelines:  (different from policy.txt!)
14 - unless you have a really good reason, use either
15     @lilypond[verbatim,quote]
16   or
17     @lilypond[verbatim,quote,relative=2]
18
19   Don't use any other relative=X commands.
20
21 - use "aes" and "ees" instead of "as" and "es".  I know it's not
22   correct Dutch naming, but let's not confuse people with this
23   until we get to the Basic notation chapter.
24
25 - Add "Music Glossary: @rglos{foo}" to the *top* of the relevant
26   portions of the tutorial.
27
28 @end ignore
29
30
31 @c Translators: Yoshiki Sawada
32 @c Translation status: post-GDP
33
34
35 @node 一般的な記譜法
36 @chapter 一般的な記譜法
37 @translationof Common notation
38
39 このチュートリアルではまず LilyPond 音楽言語についての紹介を行い、@c
40 楽譜を作り出す方法について説明します。@c
41 LilyPond との最初の接触の後、我々は一般的な音楽記譜法を持つ楽譜を@c
42 作成する方法について説明します。
43
44 @menu
45 * 単一譜表表記::
46 * 同時に演奏する複数の音符::
47 * 歌曲::
48 * 仕上げ::
49 @end menu
50
51
52 @node 単一譜表表記
53 @section 単一譜表表記
54 @translationof Single staff notation
55
56 このセクションはでは 1 つの譜表の上にある 1 つの声部のために使用される@c
57 一般的な記譜法を紹介します。
58
59 @menu
60 * 臨時記号と調号::
61 * タイとスラー::
62 * アーティキュレーションと強弱記号::
63 * テキストを追加する::
64 * 自動連桁と手動連桁::
65 * 高度なリズム コマンド::
66 @end menu
67
68
69 @node 臨時記号と調号
70 @subsection 臨時記号と調号
71 @translationof Accidentals and key signatures
72
73
74 @subheading 臨時記号
75
76 @cindex accidentals (臨時記号)
77 @cindex accidentals and key signatures (臨時記号と調号)
78 @cindex sharp (シャープ)
79 @cindex double sharp (ダブル シャープ)
80 @cindex sharp, double (ダブル シャープ)
81 @cindex flat (フラット)
82 @cindex double flat (ダブル フラット)
83 @cindex flat, double (ダブル フラット)
84
85 @funindex es
86 @funindex is
87 @funindex eses
88 @funindex isis
89
90 音楽用語集: @rglos{sharp}, @rglos{flat}, @rglos{double sharp},
91 @rglos{double flat}, @rglos{accidental}
92 @c シャープ (sharp), フラット (flat), ダブル シャープ (double sharp),
93 @c ダブル フラット (double flat), 臨時記号 (accidental)
94
95 @notation{シャープ}は音符名に @code{is} を付け加えることによって作られ、@c
96 @notation{フラット}は @code{es} を付け加えることによって作られます。@c
97 予想しているかもしれませんが、@notation{ダブル シャープ}や@c
98 @notation{ダブル フラット}は @code{isis} や @code{eses} を@c
99 付け加えることによって作られます。@c
100 この文法はドイツ語での命名規則から生まれました 
101 (訳者: 原文では @qq{Dutch} なのでオランダ語なのですが、@c
102 実際はドイツ語での命名規則であり、@qq{Dutch} は「ゲルマン民族の支配している@c
103 地域」=現在のドイツとオランダを意味しているものと解釈してドイツ語と@c
104 訳すことにします)。@c
105 @notation{臨時記号}に対して他の名前を使うには、@c
106 @ruser{Note names in other languages} を参照してください。
107
108
109 @lilypond[verbatim,quote,relative=2]
110 cis1 ees fisis, aeses
111 @end lilypond
112
113
114 @cindex key signature, setting
115 @subheading 調号
116 @c 調号
117
118 @cindex key signature (調号)
119 @cindex major (メジャー)
120 @cindex minor (マイナー)
121 @cindex accidentals and key signature (臨時記号と調号)
122 @cindex content vs. layout (内容 vs. レイアウト)
123 @cindex layout vs. content (レイアウト vs. 内容)
124
125 @funindex \key
126 @funindex key
127 @funindex \major
128 @funindex major
129 @funindex \minor
130 @funindex minor
131
132 音楽用語集: @rglos{key signature}, @rglos{major}, @rglos{minor}
133
134 @notation{調号}はコマンド @code{\key} とそれに続くピッチと @code{\major} または 
135 @code{\minor} によってセットされます。
136
137 @lilypond[verbatim,quote,relative=2]
138 \key d \major
139 a1
140 \key c \minor
141 a
142 @end lilypond
143
144 @smallspace
145
146
147 @subheading 警告: 調号と音高
148 @c 調号と音高
149
150 音楽用語集: @rglos{accidental}, @rglos{key signature},
151 @rglos{pitch}, @rglos{flat}, @rglos{natural}, @rglos{sharp},
152 @rglos{transposition}
153
154 @notation{臨時記号}を譜刻するかを決定するために LilyPond はピッチと@c
155 @notation{調号}を検証します。@c
156 調号は@emph{譜刻される}臨時記号にだけ影響を与え、音符の@notation{ピッチ}には@c
157 影響を与えません!@c
158 この特徴はしばしば新しく LilyPond を始める人を混乱させるため、@c
159 より詳細に説明します。
160
161 LilyPond は音楽の内容とレイアウトを峻別します。@c
162 音符の変更記号 (@notation{フラット}、@notation{ナチュラル}、@c
163 @notation{シャープ}) はピッチの一部であるため、音楽の内容です。@c
164 臨時記号 (@emph{譜刻される}フラット、ナチュラル、シャープ記号) が@c
165 対応する音符の前に譜刻されるかどうかはレイアウトの問題です。@c
166 レイアウトは規則に従う何らかのものであるため、臨時記号はそれらの規則に対応して@c
167 自動的に譜刻されます。@c
168 あなたの音楽の中でのピッチは人工的な仕掛けであるため、@c
169 それらは自動的には追加されず、あなたはあなたの聞きたいピッチを@c
170 入力しなければなりません。
171
172 以下の例では:
173
174 @lilypond[verbatim,quote,relative=2]
175 \key d \major
176 d cis fis
177 @end lilypond
178
179 @noindent
180 臨時記号を譜刻されている音符はありません。@c
181 しかしながら、あなたは入力ファイルで @code{is} を付け加えて @code{cis} や 
182 @code{fis} などとタイプしなければなりません。
183
184 コード @code{b} は @qq{譜表の最初の線 (一番上の線) のすぐ下に黒い点を譜刻せよ} 
185 という意味ではありません。@c
186 そうではなく、@qq{ピッチが B ナチュラルである音符がある} という意味です。@c
187 A フラット メジャの調子では、@code{b} には臨時記号が付きます:
188
189 @lilypond[verbatim,quote,relative=2]
190 \key aes \major
191 b
192 @end lilypond
193
194 すべての変化を明示的に付け加えることは入力時にちょっとした努力を@c
195 要するかもしれません。@c
196 しかしながら、移調がより容易になる、異なる規約に対応して臨時記号を@c
197 譜刻できるという利点があります。@c
198 臨時記号がどのように異なる規則に対応して譜刻されるのかについての@c
199 いくつかの例は、@ruser{Automatic accidentals} を参照してください。
200 @c 臨時記号の自動譜刻
201
202 @seealso
203 記譜法リファレンス: @ruser{Note names in other languages},
204 @ruser{Accidentals}, @ruser{Automatic accidentals},
205 @ruser{Key signature}
206 @c 他の言語での音符名, 臨時記号, 臨時記号の自動譜刻, 調号
207
208 音楽用語集: @rglos{Pitch names}
209
210
211 @node タイとスラー
212 @subsection タイとスラー
213 @translationof Ties and slurs
214
215 @cindex tie (タイ)
216 @cindex slur (スラー)
217 @cindex slur, phrasing (フレージング スラー)
218 @cindex phrasing slur (フレージング スラー)
219
220 @funindex ~
221 @funindex ( ... )
222 @funindex \( ... \)
223
224
225 @subheading タイ
226
227 @notation{タイ}はタイが始まる最初の音符にチルド @code{~} を@c
228 付加することによって作成されます。
229
230 @lilypond[verbatim,quote,relative=2]
231 g4~ g c2~
232 c4 ~ c8 a8 ~ a2
233 @end lilypond
234
235
236 @subheading スラー
237
238 音楽用語集: @rglos{slur}
239 @c スラー (slur)
240
241 @notation{スラー}は多くの音符に亘って描かれる曲線です。@c
242 スラーの開始音符と終了音符にはそれぞれ @code{(} と @code{)} を付加します。
243
244 @lilypond[verbatim,quote,relative=2]
245 d4( c16) cis( d e c cis d) e( d4)
246 @end lilypond
247
248
249 @subheading フレージング スラー
250
251 音楽用語集: @rglos{slur}, @rglos{phrasing}
252 @c スラー (slur), フレージング (phrasing)
253
254 長い@notation{フレーズ}を示すためのスラーは @code{\(} と @code{\)} 
255 によって挿入することができます。@c
256 あなたは@notation{スラー}とフレージング スラーを重ねることができます。@c
257 しかしながら、あなたは複数のスラーを重ねたり、複数のフレージング スラーを@c
258 重ねることはできません。
259
260 @lilypond[verbatim,quote,relative=2]
261 a8(\( ais b c) cis2 b'2 a4 cis,\)
262 @end lilypond
263
264 @smallspace
265
266
267 @cindex slurs versus ties (スラー vs. タイ)
268 @subheading 警告: スラー vs. タイ
269
270 音楽用語集: @rglos{articulation}, @rglos{slur}, @rglos{tie}
271 @c アーティキュレーション (articulation), スラー (slur), タイ (tie)
272
273 @notation{スラー}は@notation{タイ}のように見えますが、意味が異なります。@c
274 タイは単純に最初の音符をより長くするものであり、同じ音程の音符のペアに@c
275 対してのみ使用することができます。@c
276 スラーは複数の音符による@notation{アーティキュレーション} (節、表現) を@c
277 表していて、より大きな音符のグループに対して使用することができます。@c
278 スラーとタイはネストさせることができます。
279
280 @lilypond[verbatim,quote,relative=2]
281 c2~( c8 fis fis4 ~ fis2 g2)
282 @end lilypond
283
284 @seealso
285 @c 参照
286 記譜法リファレンス: @ruser{Ties}, @ruser{Slurs},
287 @ruser{Phrasing slurs}
288 @c タイ, スラー, フレージング スラー
289
290
291 @node アーティキュレーションと強弱記号
292 @subsection アーティキュレーションと強弱記号
293 @translationof Articulation and dynamics
294
295
296 @subheading アーティキュレーション
297 @c アーティキュレーション
298
299 @cindex articulation (アーティキュレーション)
300 @cindex accent (アクセント)
301 @cindex staccato (スタッカート)
302
303 音楽用語集: @rglos{articulation}
304 @c アーティキュレーション (articulation)
305
306 一般的な@notation{アーティキュレーション}はダッシュ @code{-} と単一文字を@c
307 使うことで音符に付け加えることができます:
308
309 @lilypond[verbatim,quote,relative=2]
310 c-. c-- c-> c-^ c-+ c-_
311 @end lilypond
312
313
314 @subheading 運指法記号
315 @c 運指法
316
317 @cindex fingering (運指法記号)
318
319 @funindex ^
320 @funindex _
321
322 音楽用語集: @rglos{fingering}
323 @c 運指法 (fingering)?
324
325 同様に、@notation{運指法}はダッシュ (@code{-}) と譜刻する数字を使うことで@c
326 音符に付け加えることができます:
327
328 @lilypond[verbatim,quote,relative=2]
329 c-3 e-5 b-2 a-1
330 @end lilypond
331
332 通常、アーティキュレーションと運指法は自動的に刻譜されます。@c
333 しかしながら、あなたはダッシュ (@code{-}) を @code{^} (上へ) または 
334 @code{_} (下へ) に置き換えることによって方向を指定することができます。@c
335 さらに、あなたは同じ音符に複数のアーティキュレーションを@c
336 使用することもできます。@c
337 しかしながらたいていの場合は、LilyPond にアーティキュレーションの方向を@c
338 決定させるのが一番です。
339
340 @lilypond[verbatim,quote,relative=2]
341 c_-^1 d^. f^4_2-> e^-_+
342 @end lilypond
343
344
345 @subheading 強弱記号
346 @c 強弱記号
347
348 @cindex dynamics (強弱記号)
349 @cindex decrescendo (デクレッシェンド)
350 @cindex crescendo (クレッシェンド)
351
352 @funindex \f
353 @funindex \ff
354 @funindex \mp
355 @funindex \p
356 @funindex \mf
357 @funindex \pp
358 @funindex \<
359 @funindex <
360 @funindex \>
361 @funindex >
362 @funindex \!
363 @funindex !
364
365 音楽用語集: @rglos{dynamics}, @rglos{crescendo}
366 @rglos{decrescendo}
367 @c 強弱記号 (dynamics), クレッシェンド (crescendo), 
368 @c デクレッシェンド (decrescendo)
369
370 @notation{強弱記号}は音符にバック スラッシュ 
371 (訳者注: バック スラッシュは英語フォントではスラッシュ @code{/} を@c
372 左右反転させたもの、日本語フォントでは円マーク 
373 @code{¥} になるのが一般的です。) 
374 付きのマークを付け加えることによって作成されます:
375
376 @lilypond[verbatim,quote,relative=2]
377 c\ff c\mf c\p c\pp
378 @end lilypond
379
380 @notation{クレッシェンド}と@notation{デクレッシェンド}はコマンド @code{\<} と 
381 @code{\>} によって開始されます。@c
382 次の強弱記号 -- 例えば、@code{\f} -- が (デ)クレッシェンドを終わらせます。@c
383 コマンド @code{\!} を使って終わらせることもできます:
384
385 @lilypond[verbatim,quote,relative=2]
386 c2\< c2\ff\> c2 c2\!
387 @end lilypond
388
389
390 @seealso
391 記譜法リファレンス: @ruser{Articulations and ornamentations},
392 @ruser{Fingering instructions}, @ruser{Dynamics}
393
394
395 @node テキストを追加する
396 @subsection テキストを追加する
397 @translationof Adding text
398 @c テキストの追加
399
400 @cindex text, adding (テキストを追加する)
401 @cindex adding text (テキストを追加する)
402 @cindex markup (マークアップ)
403
404 @funindex \markup
405 @funindex markup
406
407 テキストをあなたの楽譜に追加することができます:
408
409 @lilypond[verbatim,quote,relative=2]
410 c1^"espr" a_"legato"
411 @end lilypond
412
413 追加のフォーマット指定を @code{\markup} コマンドで追加することができます:
414
415 @lilypond[verbatim,quote,relative=2]
416 c1^\markup{ \bold espr}
417 a1_\markup{
418   \dynamic f \italic \small { 2nd } \hspace #0.1 \dynamic p
419 }
420 @end lilypond
421
422
423 @seealso
424 記譜法リファレンス: @ruser{Writing text}
425
426
427 @node 自動連桁と手動連桁
428 @subsection 自動連桁と手動連桁
429 @translationof Automatic and manual beams
430 @c 自動連桁と手動連桁
431
432 @cindex beaming (連桁を付ける)
433 @cindex automatic beams (自動連桁)
434 @cindex manual beams (手動連桁)
435 @cindex beams, automatic (自動連桁)
436 @cindex beams, manual (手動連桁)
437 @cindex beams, by hand (手動による連桁)
438
439 @funindex [ ... ]
440 @funindex [
441 @funindex ]
442 @funindex \autoBeamOff
443 @funindex autoBeamOff
444 @funindex \autoBeamOn
445 @funindex autoBeamOn
446
447 音楽用語集: @rglos{beam}
448 @c 連桁
449
450 すべての@notation{連桁}は自動的に描かれます:
451
452 @lilypond[verbatim,quote,relative=2]
453 a8 ais d ees r d c16 b a8
454 @end lilypond
455
456 あなたが自動連桁を好まない場合、手動で上書きすることもできます。@c
457 ある箇所の連桁を修正するには、連桁を付ける最初の音符に @code{[} を、@c
458 最後の音符に @code{]} を付け加えます。
459
460 @lilypond[verbatim,quote,relative=2]
461 a8[ ais] d[ ees r d] a b
462 @end lilypond
463
464 もしあなたが楽譜全体あるいは一部で自動連桁を Off にしたいのなら、@c
465 自動連桁を Off にするにはコマンド @code{\autoBeamOff} を、@c
466 再度自動連桁を On にするには @code{\autoBeamOn} を使用します。
467
468 @lilypond[verbatim,quote,relative=2]
469 \autoBeamOff
470 a8 c b4 d8. c16 b4
471 \autoBeamOn
472 a8 c b4 d8. c16 b4
473 @end lilypond
474
475
476 @seealso
477 記譜法リファレンス: @ruser{Automatic beams}, @ruser{Manual beams}
478 @c 自動連桁, 手動連桁
479
480
481 @node 高度なリズム コマンド
482 @subsection 高度なリズム コマンド
483 @translationof Advanced rhythmic commands
484
485
486 @subheading 部分小節
487
488 @cindex pickup (ピックアップ)
489 @cindex anacrusis (弱拍)
490 @cindex partial measure (部分小節)
491
492 @funindex \partial
493 @funindex partial
494
495 音楽用語集: @rglos{anacrusis}
496 @c 弱拍 (anacrusis)
497
498 ピックアップ (訳者: 本来の拍子以外の拍子を持つ小節のこと) (または@notation{弱拍}
499 (原語: anarusis、西洋音楽用語の 1 つで楽曲が第 1 拍以外から開始すること)) は@c
500 キーワード @code{\partial} によって挿入されます。@c
501 この後に演奏時間が続きます: 
502 @code{\partial 4} は 4 分音符のピックアップであり、@c
503 @code{\partial 8} は 8 分音符のピックアップです。
504
505 @lilypond[verbatim,quote,relative=2]
506 \partial 8
507 f8 c2 d
508 @end lilypond
509
510
511 @subheading 連符
512
513 @cindex tuplets (連符)
514 @cindex triplets (3 連符)
515
516 @funindex \times
517 @funindex times
518
519 音楽用語集: @rglos{note value}, @rglos{triplet}
520 @c 音価 (note value), 3 連符 (triplet)
521
522 @notation{連符}は @code{\times} キーワードによって作成されます。@c
523 これは 2 つの引数をとります: 分数と楽譜の断片です。@c
524 楽譜の断片の演奏時間と分数が乗算されます。@c
525 3 連符は表記された演奏時間の 2/3 の長さなので、@notation{3 連符}は@c
526 分数として 2/3 を持ちます。
527
528 @lilypond[verbatim,quote,relative=2]
529 \times 2/3 { f8 g a }
530 \times 2/3 { c r c }
531 \times 2/3 { f,8 g16[ a g a] }
532 \times 2/3 { d4 a8 }
533 @end lilypond
534
535
536 @subheading 装飾小音符
537
538 @cindex grace notes (装飾小音符)
539 @cindex acciaccatura (短前打音)
540 @cindex appoggiatura (前打音)
541
542 @funindex \grace
543 @funindex grace
544 @funindex \acciaccatura
545 @funindex acciaccatura
546 @funindex \appoggiatura
547 @funindex acciaccatura
548
549 音楽用語集: @rglos{grace notes}, @rglos{acciaccatura},
550 @rglos{appoggiatura}
551
552 @notation{装飾小音符}は @code{\grace} コマンドによって作成されますが、@c
553 キーワード @code{\appoggiatura} や @code{\acciaccatura} による接頭音楽表記に@c
554 よっても作成されます:
555
556 @lilypond[verbatim,quote,relative=2]
557 c2 \grace { a32[ b] } c2
558 c2 \appoggiatura b16 c2
559 c2 \acciaccatura b16 c2
560 @end lilypond
561
562
563 @seealso
564 記譜法リファレンス: @ruser{Grace notes}, @ruser{Tuplets},
565 @ruser{Upbeats}
566
567
568 @node 同時に演奏する複数の音符
569 @section 同時に演奏する複数の音符
570 @translationof Multiple notes at once
571
572 このセクションでは同時に複数の表記 -- 複数の楽器、単一の楽器に対する複数の譜 
573 (すなわちピアノ)、和音 -- を持つ方法について紹介します。
574
575 音楽の中での多声は楽曲の中にある複数の声部を参照します。@c
576 LilyPond の中での多声は同じ譜表上にある複数の声部を参照します。
577
578 @menu
579 * 音楽表記についての説明::
580 * 複数の譜::
581 * 譜表グループ::
582 * 音符を組み合わせて和音にする::
583 * 単一譜表での多声::
584 @end menu
585
586
587 @node 音楽表記についての説明
588 @subsection 音楽表記についての説明
589 @translationof Music expressions explained
590
591 @cindex music expression (音楽表記)
592 @cindex expression, music (音楽表記)
593 @cindex compound music expression (複合音楽表記)
594 @cindex music expression, compound (複合音楽表記)
595
596 LilyPond 入力ファイルの中では、音楽は@notation{音楽表記}によって表されます。@c
597 単一の音符は 1 つの音楽表記になります:
598
599 @lilypond[verbatim,quote,relative=2]
600 a4
601 @end lilypond
602
603 表記を波括弧で括ることによって@emph{複合音楽表記}が作成されます。@c
604 2 つの音符を持つ複合音楽表記を作成しました:
605
606 @lilypond[verbatim,quote,relative=2]
607 { a4 g4 }
608 @end lilypond
609
610 波括弧の中にある音楽表記 (例えば、いくつかの音符) のグループはそれらが@c
611 シークエンスであるということを意味しています 
612 (つまり、それぞれの音符は前の音符に続くということです)。@c
613 もう 1 つ音楽表記の結果を示します:
614
615 @lilypond[verbatim,quote,relative=2]
616 { { a4 g } f g }
617 @end lilypond
618
619
620 @subheading 数学的表記との類似
621 @c Analogy: mathematical expressions
622
623 このメカニズムは数学式と似ています: 
624 大きな式は小さな式を組み合わせることによって作成されます。@c
625 そのような式は表記と呼ばれ、それらの定義は再帰的なのであなたは@c
626 任意に複雑で大きな表記を作ることができます。@c
627 例えば、
628
629 @example
630 1
631
632 1 + 2
633
634 (1 + 2) * 3
635
636 ((1 + 2) * 3) / (4 * 5)
637 @end example
638
639 これは表記のシークエンスであり、@c
640 各表記は次の (より大きな) 表記に組み込まれています。@c
641 最も単純な表記は数であり、より大きな表記は演算子 (@code{+}, @code{*}, 
642 @code{/} など) と括弧を組み合わせることによって作成されます。@c
643 数学式と同様に、音楽表記も任意の深さにネストさせることができ、@c
644 それは多声楽譜のような複雑な音楽のために必要なことです。
645
646
647 @subheading 同時進行の音楽表記: 複数の譜
648 @c Simultaneous music expressions: multiple staves
649
650 @cindex multiple staves (複数の譜)
651 @cindex staves, multiple (複数の譜)
652 @cindex polyphony (多声)
653 @cindex combining expressions in parallel (表記を並列に組み合わせる)
654 @cindex parallel expressions (並列表記)
655 @cindex expressions, parallel (並列表記)
656 @cindex relative notes and simultaneous music (相対音符と同時進行する音楽)
657 @cindex relative notes and parallel expressions (相対音符と並列表記)
658 @cindex simultaneous music and relative notes (同時進行する音楽と相対音符)
659 @cindex parallel expressions and relative notes (並列表記と相対音符)
660
661 @funindex <<
662 @funindex >>
663 @funindex << ... >>
664
665 音楽用語集: @rglos{polyphony}
666 @c 多声 (polyphony)
667
668 このテクニックは@notation{多声音楽}に対して有用です。@c
669 複数の声部や複数の譜を持つ音楽を入力するために、@c
670 音楽表記を並列に組み合わせます。@c
671 2 つの声部を同時に演奏すべきであるということを示すには、@c
672 単純に音楽表記を同時進行するよう組み合わせて入力します。@c
673 @q{同時進行} の音楽表記は @code{<<} と @code{>>} で音楽表記を@c
674 囲い込むことによって形成されます。@c
675 以下の例では、3 つのシークエンス (すべてのシークエンスはそれぞれ 2 つの音符を@c
676 保持しています) が同時進行するように組み合わされています:
677
678 @lilypond[verbatim,quote]
679 \relative c'' {
680   <<
681     { a4 g }
682     { f e }
683     { d b }
684   >>
685 }
686 @end lilypond
687
688 入力の各レベルに対して異なる量のスペースをインデントとして与えていることに@c
689 注意してください。@c
690 LilyPond は行の先頭にどれくらい多く (あるいは少なく) のスペースがあるかを@c
691 気にしません。@c
692 しかしながら、上の例のように LilyPond コードにインデントを入れることによって@c
693 人間にとってはずっと読みやすくなります。
694
695 @warning{入力での各音符は前の音符との相対関係にあり、先頭の @code{@bs{}relative}
696 コマンドの中にある @code{c''} と相対関係にあるわけではありません。}
697
698
699 @subheading 同時進行する音楽表記: 単一の譜表
700 @c Simultaneous music expressions: single staff
701
702 楽曲の中にある譜の数を決定するために、@c
703 LilPond は最初の音楽表記の始まりを調べます。@c
704 始まりの音楽表記が単一の表記であった場合、楽譜の中の譜表は 1 つです。@c
705 同時進行の表記であった場合、譜表は複数になります。
706
707 @lilypond[verbatim,quote]
708 \relative c'' {
709   c2 <<c e>>
710   << { e f } { c <<b d>> } >>
711 }
712 @end lilypond
713
714
715 @node 複数の譜
716 @subsection 複数の譜
717 @translationof Multiple staves
718
719 @cindex multiple staves (複数の譜)
720 @cindex staves, multiple (複数の譜)
721 @cindex context (コンテキスト)
722 @cindex context, notation (記譜コンテキスト)
723 @cindex notation context (記譜コンテキスト)
724
725 @funindex \new Staff
726 @funindex new Staff
727 @funindex Staff
728 @funindex \new
729 @funindex new
730 @funindex Score
731 @funindex Voice
732 @funindex Lyrics
733 @funindex ChordNames
734
735 @ref{音楽表記についての説明} で見てきたように、@c
736 LilyPond 入力ファイルは音楽表記によって構築されています。@c
737 複数の同時進行の音楽表記で始まる楽譜の場合、LilyPond は複数の譜を作成します。@c
738 しかしながら、各譜表を明示的に作成すると何が起こるか@c
739 より容易に見て取ることができます。
740 @c 音楽表記についての説明
741
742 複数の譜表を譜刻するには、1 つの譜表を形成する音楽の各部分の前に 
743 @code{\new Staff} を付け加えます。@c
744 これらの @code{Staff} 要素は @code{<<} と @code{>>} で並列に組み合わされます:
745
746 @lilypond[verbatim,quote]
747 \relative c'' {
748   <<
749     \new Staff { \clef treble c }
750     \new Staff { \clef bass c,, }
751   >>
752 }
753 @end lilypond
754
755 コマンド @code{\new} は 1 つの @q{記譜コンテキスト} を導入します。@c
756 記譜コンテキストは音楽的イベント (音符や @code{\clef} コマンドなど) が@c
757 解釈される環境です。@c
758 単純な楽曲では、そのような記譜コンテキストは自動的に作成されます。@c
759 より複雑な楽曲ではコンテキストを明示的に記述することが望ましいです。
760
761 コンテキストにはいくつかのタイプがあります。@c
762 @code{Score}, @code{Staff}, @code{Voice} は旋律記譜を扱います。@c
763 一方、@code{Lyrics} は歌詞テキストをセットし、@code{ChordNames} は@c
764 コード ネームを譜刻します。
765
766 文法という観点で見ると、@code{\new} を音楽表記の先頭に付け加えることによって@c
767 より大きな音楽表記が作成されます。@c
768 これは数学でのマイナス符号に似ています。@c
769 数式 @math{(4+5)} は数学表記であり、@math{-(4-5)} はより大きな数学表記です。
770
771 ある譜表に挿入された@notation{拍子記号}はデフォルトで他のすべての譜に@c
772 影響を与えます。@c
773 一方で、ある譜表に挿入された調号は他のすべての譜に影響を@emph{与えません}。@c
774 記号によってデフォルトの振る舞いが異なるのは、移調する楽器を扱う楽譜の方が@c
775 複合リズム (polyrhythmic) の楽譜よりも一般的だからです。
776
777 @lilypond[verbatim,quote]
778 \relative c'' {
779   <<
780     \new Staff { \clef treble \key d \major \time 3/4 c }
781     \new Staff { \clef bass c,, }
782   >>
783 }
784 @end lilypond
785
786
787 @node 譜表グループ
788 @subsection 譜表グループ
789 @translationof Staff groups
790
791 @cindex piano staff (ピアノ譜)
792 @cindex staff, piano (ピアノ譜)
793 @cindex choir staff (合唱譜)
794 @cindex staff, choir (合唱譜)
795 @cindex grand staff (グランド譜)
796 @cindex staff, grand (グランド譜)
797 @cindex staff group (譜表グループ)
798
799 @funindex PianoStaff
800 @funindex GrandStaff
801 @funindex ChoirStaff
802
803 音楽用語集: @rglos{brace}
804 @c ブレース (brace)
805
806 ピアノ譜は@notation{ブレース}でつながれた 2 つの譜表として刻譜されます。@c
807 そのような譜表を刻譜することは @ref{複数の譜} での多声の例に@c
808 似ています。@c
809 しかしながら、今度は表記全体が @code{PianoStaff} の中に挿入されます:
810
811 @example
812 \new PianoStaff <<
813   \new Staff @dots{}
814   \new Staff @dots{}
815 >>
816 @end example
817
818 小さな例を挙げます:
819
820 @lilypond[verbatim,quote]
821 \relative c'' {
822   \new PianoStaff <<
823     \new Staff { \time 2/4 c4 e g g, }
824     \new Staff { \clef bass c,, c' e c }
825   >>
826 }
827 @end lilypond
828
829 ピアノ譜以外の譜表グループ化はオーケストラ譜向けには @code{\new GrandStaff} 
830 で、ボーカル譜向けには @w{@code{\new ChoirStaff}} で導入されます。@c
831 これらの譜表グループはそれぞれタイプの異なるコンテキストを形成し、各システム 
832 (訳者: 楽譜 1 行分のこと。ピアノ譜では右手と左手の 2 つの譜表ペアでの 1 行が 
833 1 システムになります) の左端にブレースを付けて、@c
834 さらに、小節線の高さを制御します。
835
836
837 @seealso
838 記譜法リファレンス: @ruser{Keyboard and other multi-staff instruments},
839 @ruser{Displaying staves}
840 @c 楽器 キーボードと他の複譜表楽器, 譜表の表示
841
842
843 @node 音符を組み合わせて和音にする
844 @subsection 音符を組み合わせて和音にする
845 @translationof Combining notes into chords
846
847 @cindex chords (和音)
848 @cindex note durations in chords (和音の中での音符の演奏時間)
849
850 @funindex <
851 @funindex >
852 @funindex < ... >
853
854 音楽用語集: @rglos{chord}
855 @c コード (chord)
856
857 音符を @code{<< ... >>} で囲んでそれらの音符が同時進行であることを@c
858 示すことによって、それらの音符を@notation{和音}として@c
859 組み合わせる方法について見てきました。@c
860 しかしながら、和音であることを示すための通常の方法は音符を < ... > (山括弧) 
861 で囲みます。@c
862 和音の中にある音符はすべて同じ演奏時間でなければならず、@c
863 その演奏時間は山括弧を閉じた後に置かれなければならないということに@c
864 注意してください。
865
866 @lilypond[verbatim,quote,relative=2]
867 r4 <c e g>4 <c f a>2
868 @end lilypond
869
870 和音は単一の音符とほとんど同じであると考えてください: 
871 単一の音符に付け加えられるものはほとんどすべて和音にも付け加えられ、@c
872 付け加えるものはすべて山括弧の@emph{外}に付け加えられなければなりません。@c
873 例えば、あなたは連桁やタイなどのマークをコードに組み合わせることができます。@c
874 それらは山括弧の外側に置かれなければなりません。
875
876 @lilypond[verbatim,quote,relative=2]
877 r4 <c e g>8[ <c f a>]~ <c f a>2
878 r4 <c e g>8( <c e g>\> <c e g>4 <c f a>\!)
879 @end lilypond
880
881
882 @node 単一譜表での多声
883 @subsection 単一譜表での多声
884 @translationof Single staff polyphony
885
886 @cindex polyphony (多声)
887 @cindex multiple voices (複数のボイス)
888 @cindex voices, more on one staff (1 つの譜表上に複数のボイス)
889 @cindex single staff polyphony (単一譜表の多声)
890 @cindex spacer rest (空白休符)
891 @cindex rest, spacer (空白休符)
892
893 @funindex << ... \\ ... >>
894 @funindex <<
895 @funindex \\
896 @funindex >>
897
898 異なる旋律が単一の譜に組み込まれる場合、それらは多声部として刻譜されます。@c
899 各声部はそれ自体の符幹 (符頭から上下に出る棒)、スラー、@c
900 連桁 (符幹と符幹を結ぶ横棒) を持ちます。@c
901 最上段の声部は符頭から上に伸びる符幹を持ち、@c
902 最下段の声部は下に伸びる符幹を持ちます。
903
904 そのような多声のパートを入力するには、各声部をシークエンスとして 
905 (@w{@code{@{ ... @}}} を使って) 入力し、それらを @code{\\} で区切って@c
906 結合することで同時進行するように組み合わせます:
907
908 @lilypond[verbatim,quote,relative=2]
909 <<
910   { a4 g2 f4~ f4 } \\
911   { r4 g4 f2 f4 }
912 >>
913 @end lilypond
914
915 多声部音楽を刻譜する場合、空白休符を使用すると都合が良いかもしれません: 
916 それは刻譜されない休符です。@c
917 空白休符は一時的に演奏されない声部の空白期間を埋めるのに有用です。@c
918 今度は通常の休符 (@code{r}) の代わりに空白休符 (@code{s}) を使った@c
919 上と同じ例を示します:
920
921 @lilypond[verbatim,quote,relative=2]
922 <<
923   { a4 g2 f4~ f4 } \\
924   { s4 g4 f2 f4 }
925 >>
926 @end lilypond
927
928 @noindent
929 さらに、これらの表記は任意にネストさせることができます。
930
931 @lilypond[verbatim,quote,relative=2]
932 <<
933   \new Staff <<
934     { a4 g2 f4~ f4 } \\
935     { s4 g4 f2 f4 }
936   >>
937   \new Staff <<
938     \clef bass
939     { <c g>1 ~ <c g>4 } \\
940     { e,,4 d e2 ~ e4}
941   >>
942 >>
943 @end lilypond
944
945
946 @seealso
947 記譜法リファレンス: @ruser{Simultaneous notes}
948 @c 同時進行の音符
949
950
951 @node 歌曲
952 @section 歌曲
953 @translationof Songs
954
955 このセクションでは声楽とシンプルな歌曲譜についての紹介を行います。
956
957 @menu
958 * 簡単な歌詞をセットする::
959 * 歌詞を旋律に揃える::
960 * 複数の譜への歌詞::
961 @end menu
962
963
964 @node 簡単な歌詞をセットする
965 @subsection 簡単な歌詞をセットする
966 @translationof Setting simple songs
967
968 @cindex lyrics (歌詞)
969 @cindex songs (歌)
970
971 @funindex \addlyrics
972 @funindex addlyrics
973
974 音楽用語集: @rglos{lyrics}
975 @c 歌詞 (lyrics)
976
977 童謡の冒頭部分の旋律があります。@c
978 歌詞は @notation{Girls and boys come out to play} です:
979
980 @lilypond[verbatim,quote]
981 \relative c'' {
982   \key g \major
983   \time 6/8
984   d4 b8 c4 a8 d4 b8 g4
985 }
986 @end lilypond
987
988 @code{\addlyrics} キーワードで組み合わせることによって、@notation{歌詞}を@c
989 これらの音符にセットすることができます。@c
990 歌詞は音節ごとにスペースで区切って入力します。
991
992 @lilypond[verbatim,quote]
993 <<
994   \relative c'' {
995     \key g \major
996     \time 6/8
997     d4 b8 c4 a8 d4 b8 g4
998   }
999   \addlyrics {
1000     Girls and boys come out to play,
1001   }
1002 >>
1003 @end lilypond
1004
1005 波括弧が音楽と歌詞を区切っていて、音楽と歌詞が同時進行であることを示すために楽@c
1006 曲全体が @w{@code{<< ... >>}} で囲まれていることに注意してください。
1007
1008
1009 @node 歌詞を旋律に揃える
1010 @subsection 歌詞を旋律に揃える
1011 @translationof Aligning lyrics to a melody
1012
1013 @cindex melisma (メリスマ)
1014 @cindex extender line (延長線)
1015 @cindex hyphens (ハイフン)
1016 @cindex underscore (アンダスコア)
1017 @cindex lyrics, aligning (歌詞を揃える)
1018 @cindex aligning lyrics (歌詞を揃える)
1019 @cindex lyrics, multi-syllable words (歌詞の中で複数の音節を持つ単語)
1020 @cindex words with multiple syllables in lyrics (歌詞の中で複数の音節を持つ単語)
1021
1022 音楽用語集: @rglos{melisma}, @rglos{extender line}
1023 @c メリスマ (melisma), 延長線 (extender line)
1024
1025 童謡の次の行は @notation{The moon doth shine as bright as day} です。@c
1026 これを前の例に付け加えてみましょう:
1027
1028 @lilypond[verbatim,quote]
1029 <<
1030   \relative c'' {
1031     \key g \major
1032     \time 6/8
1033     d4 b8 c4 a8 d4 b8 g4
1034     g8 a4 b8 c b a d4 b8 g4.
1035   }
1036   \addlyrics {
1037     Girls and boys come out to play,
1038     The moon doth shine as bright as day;
1039   }
1040 >>
1041 @end lilypond
1042
1043 付け足した歌詞は音符に適切に揃っていません。@c
1044 @notation{shine} は 2 音符に亘って歌われるべきですが、そうなっていません。@c
1045 これは@notation{メリスマ}と呼ばれ、単音節が複数の音符に亘って歌われます。@c
1046 ある音節を複数に広げる方法はいくつかあり、最も簡単なのはそれらの音符にスラーを@c
1047 付け加えることです。@c
1048 詳細は @ref{タイとスラー} を参照してください。
1049
1050 @lilypond[verbatim,quote]
1051 <<
1052   \relative c'' {
1053     \key g \major
1054     \time 6/8
1055     d4 b8 c4 a8 d4 b8 g4
1056     g8 a4 b8 c( b) a d4 b8 g4.
1057   }
1058   \addlyrics {
1059     Girls and boys come out to play,
1060     The moon doth shine as bright as day;
1061   }
1062 >>
1063 @end lilypond
1064
1065 今度は、単語が正しく音符に対して並んでいます。@c
1066 しかしながら、@notation{shine as} 上の音符に対する自動連桁は適当でないように@c
1067 見えます。@c
1068 これを修正するために、手動連桁コマンドを挿入して自動連桁を@c
1069 オーバライドします。@c
1070 詳細は @ref{自動連桁と手動連桁} を参照してください。
1071
1072 @lilypond[verbatim,quote]
1073 <<
1074   \relative c'' {
1075     \key g \major
1076     \time 6/8
1077     d4 b8 c4 a8 d4 b8 g4
1078     g8 a4 b8 c([ b]) a d4 b8 g4.
1079   }
1080   \addlyrics {
1081     Girls and boys come out to play,
1082     The moon doth shine as bright as day;
1083   }
1084 >>
1085 @end lilypond
1086
1087 スラーを用いる方法の外に、メリスマに含まれるべきである各音符に対応した@c
1088 アンダスコア @code{_} を用いることによってその歌詞がメリスマであるということを@c
1089 示すことができます:
1090
1091 @lilypond[verbatim,quote]
1092 <<
1093   \relative c'' {
1094     \key g \major
1095     \time 6/8
1096     d4 b8 c4 a8 d4 b8 g4
1097     g8 a4 b8 c[ b] a d4 b8 g4.
1098   }
1099   \addlyrics {
1100     Girls and boys come out to play,
1101     The moon doth shine _ as bright as day;
1102   }
1103 >>
1104 @end lilypond
1105
1106 通常、ある歌詞がいくつかの音符に亘って延長される場合や、単一の非常に長い音符に@c
1107 割り当てられる場合、その歌詞からその歌詞に対応しているすべての音符の下に@c
1108 @notation{延長線}が描かれます。@c
1109 延長線は 2 つのアンダスコア @code{__} で挿入されます。@c
1110 今度は、例として Purcell の @notation{Dido and Æeneas} から@c
1111 最初の 3 小節目からを挙げます:
1112
1113 @lilypond[verbatim,quote]
1114 <<
1115   \relative c'' {
1116     \key g \minor
1117     \time 3/2
1118     g2 a bes bes( a)
1119     b c4.( bes8 a4. g8 fis4.) g8 fis1
1120   }
1121   \addlyrics {
1122     When I am laid,
1123     am laid __ in earth,
1124   }
1125 >>
1126 @end lilypond
1127
1128 今までの例には複数の音節を持つ単語はありませんでした。@c
1129 通常、複数の音節を持つ単語は音節ごとに 1 つの音符に分割され、@c
1130 音節間はハイフンで結ばれます。@c
1131 ハイフンは 2 つのダッシュとして入力され、@c
1132 その結果として音節の間にハイフンが描かれます。@c
1133 今度の例では歌詞に複数の音節を持つ単語が含まれ、@c
1134 我々が今まで歌詞を音符に揃える方法について学んだことがすべて含まれています。
1135
1136 @c no ragged-right here because otherwise the hyphens get lost,
1137 @c but the example is long enough to avoid looking strange.
1138 @lilypond[verbatim,quote,noragged-right]
1139 <<
1140   \relative c' {
1141     \key g \major
1142     \time 3/4
1143     \partial 4
1144     d4 g4 g a8( b) g4 g4
1145     b8( c) d4 d e4 c2
1146   }
1147   \addlyrics {
1148     A -- way in a __ man -- ger,
1149     no __ crib for a bed, __
1150   }
1151 >>
1152 @end lilypond
1153
1154 ある歌詞では -- 特にイタリア語では -- 反対のことが求められます: 
1155 複数の音節を 1 つの音符にセットします。@c
1156 これは音節を単一のアンダスコア @code{_} (スペース無し) でリンクさせるか、@c
1157 クォートで囲むことによって達成されます。@c
1158 今度の例は Rossini の @notation{Figaro} からで、@c
1159 @notation{Largo al factotum} の @notation{al} は 
1160 @notation{Largo} の @notation{go} と同じ音符で歌われなければなりません:
1161
1162 @c no ragged-right here because otherwise the hyphens get lost,
1163 @c but the example is long enough to avoid looking strange.
1164 @lilypond[verbatim,quote,noragged-right]
1165 <<
1166   \relative c' {
1167     \clef bass
1168     \key c \major
1169     \time 6/8
1170     c4.~ c8 d b c([ d]) b c d b c
1171   }
1172   \addlyrics {
1173     Lar -- go_al fac -- to -- tum del -- la cit -- tà
1174   }
1175 >>
1176 @end lilypond
1177
1178
1179 @seealso
1180 記譜法リファレンス: @ruser{Vocal music}
1181 @c 歌曲譜
1182
1183
1184 @node 複数の譜への歌詞
1185 @subsection 複数の譜への歌詞
1186 @translationof Lyrics to multiple staves
1187
1188 @cindex lyrics and multiple staves (歌詞と複数の譜)
1189 @cindex multiple staves and lyrics (複数の譜と歌詞)
1190
1191 @code{\addlyrics} を用いた簡単なアプローチは歌詞を複数の譜表の下に置くために@c
1192 使用することができます。@c
1193 ここで、Handel の @notation{Judas Maccabæus} から例を挙げます: 
1194
1195 @lilypond[verbatim,quote]
1196 <<
1197   \relative c'' {
1198     \key f \major
1199     \time 6/8
1200     \partial 8
1201     c8 c([ bes]) a a([ g]) f f'4. b, c4.~ c4
1202   }
1203   \addlyrics {
1204     Let flee -- cy flocks the hills a -- dorn, __
1205   }
1206   \relative c' {
1207     \key f \major
1208     \time 6/8
1209     \partial 8
1210     r8 r4. r4 c8 a'([ g]) f f([ e]) d e([ d]) c bes'4
1211   }
1212   \addlyrics {
1213     Let flee -- cy flocks the hills a -- dorn,
1214   }
1215 >>
1216 @end lilypond
1217
1218 この簡単な例よりも複雑な楽譜では、変数を使って楽譜構造を音符と歌詞から@c
1219 分離したほうが良いです。@c
1220 このことは @ref{変数を用いて楽曲を編成する} で議論されています。
1221
1222
1223 @seealso
1224 記譜法リファレンス: @ruser{Vocal music}
1225 @c 歌曲譜
1226
1227
1228 @node 仕上げ
1229 @section 仕上げ
1230 @translationof Final touches
1231
1232 このセクションはチュートリアルの最終セクションです。@c
1233 単純な曲に仕上げを加える方法を示し、このマニュアルの残りの部分についての@c
1234 紹介を行います。
1235
1236 @menu
1237 * 変数を用いて楽曲を編成する::
1238 * バージョン番号::
1239 * タイトルを付け加える::
1240 * 絶対音符名::
1241 * このチュートリアルの後にすべきこと::
1242 @end menu
1243
1244
1245 @node 変数を用いて楽曲を編成する
1246 @subsection 変数を用いて楽曲を編成する
1247 @translationof Organizing pieces with variables
1248
1249 @cindex variables (変数)
1250 @cindex variables, defining (変数を定義する)
1251 @cindex identifiers (識別子)
1252 @cindex macros (マクロ)
1253 @cindex assigning variables (変数を割り当てる)
1254 @cindex using variables (変数を使用する)
1255 @cindex variables, using (変数を使用する)
1256 @cindex variables, characters allowed in (変数で使用できる文字)
1257 @cindex characters allowed in variables (変数で使用できる文字)
1258
1259 これまで議論してきたすべての要素を組み合わせてより大きなファイルを作成すると、@c
1260 音楽表記はずっと大きくなります。@c
1261 多くの譜を持つ多声音楽では、入力ファイルはとても混乱しやすくなります。@c
1262 @emph{変数}を使って混乱を避けることができます。
1263
1264 変数 (これは識別子やマクロとも言えます) を使うことによって、@c
1265 音楽表記の複雑さを打破することができます。@c
1266 変数は以下のように割り当てられます:
1267
1268 @example
1269 namedMusic = @{ @dots{} @}
1270 @end example
1271
1272 音楽表記 @code{namedMusic} の内容は名前の前にバックスラッシュを置くことによって 
1273 (@code{\namedMusic}、これはまさに LilyPond の標準コマンドと同様です) 後で@c
1274 使用することができます。
1275
1276 @lilypond[verbatim,quote]
1277 violin = \new Staff {
1278   \relative c'' {
1279     a4 b c b
1280   }
1281 }
1282 cello = \new Staff {
1283   \relative c {
1284     \clef bass
1285     e2 d
1286   }
1287 }
1288 {
1289   <<
1290     \violin
1291     \cello
1292   >>
1293 }
1294 @end lilypond
1295
1296 @noindent
1297 変数の名前に使えるのはアルファベットだけであり、数字、アンダスコア、ダッシュを@c
1298 使うことはできません。
1299
1300 変数はメインの音楽表記の@emph{前}に定義されていなければなりません。@c
1301 しかしながら定義後は必要に応じて何度も使用されるかもしれません。@c
1302 楽曲のある部分が何度もリピートしている場合、入力の手間を省くために、@c
1303 変数は他の変数の定義の中ででも使用されるかもしれません。
1304
1305 @lilypond[verbatim,quote]
1306 tripletA = \times 2/3 { c,8 e g }
1307 barA = { \tripletA \tripletA \tripletA \tripletA }
1308
1309 \relative c'' {
1310  \barA \barA
1311 }
1312 @end lilypond
1313
1314 変数は入力ファイルの中にある他の多くのタイプに対しても@c
1315 使用されるかもしれません。@c
1316 例えば以下のようにです:
1317
1318 @example
1319 width = 4.5\cm
1320 name = "Wendy"
1321 aFivePaper = \paper @{ paperheight = 21.0 \cm @}
1322 @end example
1323
1324 変数の内容次第では、変数は他の場所で使用することができます。@c
1325 以下の例は上の例の変数を使用しています:
1326
1327 @example
1328 \paper @{
1329   \aFivePaper
1330   line-width = \width
1331 @}
1332 @{
1333   c4^\name
1334 @}
1335 @end example
1336
1337
1338 @node バージョン番号
1339 @subsection バージョン番号
1340 @translationof Version number
1341
1342 @cindex versioning (バージョンを付ける)
1343 @cindex version (バージョン)
1344 @cindex version number (バージョン番号)
1345 @cindex upgrades (アップグレード)
1346 @cindex future upgrades (将来のアップグレード)
1347 @cindex updating files (ファイルをアップデートする)
1348 @cindex files, updating (ファイルをアップデートする)
1349
1350 @funindex \version
1351 @funindex version
1352 @funindex convert-ly
1353
1354 @code{\version} ステートメントはその入力ファイルが LilyPond のどのバージョンに@c
1355 対して書かれているのかを記録しています:
1356
1357 @example
1358 \version @w{"@version{}"}
1359 @end example
1360
1361 @noindent
1362 慣習上、これは LilyPond ファイルの先頭に置きます。
1363
1364 これらの注釈は LilyPond の将来のアップグレードをよりスムーズにします。@c
1365 構文の変更は特別なプログラム -- @command{convert-ly} -- によって扱われます。@c
1366 このプログラムは適用する規則を決定するために @code{\version} を使用します。@c
1367 詳細は @rprogram{Updating files with convert-ly} を参照してください。
1368
1369
1370 @node タイトルを付け加える
1371 @subsection タイトルを付け加える
1372 @translationof Adding titles
1373
1374 @cindex title (タイトル)
1375 @cindex headers (ヘッダ)
1376 @cindex header block (ヘッダ ブロック)
1377
1378 @funindex \header
1379 @funindex header
1380
1381 タイトル、作曲者、作品番号、それと類似の情報は @code{\header} ブロックの中に@c
1382 挿入されます。@c
1383 これはメインの音楽表記の外に存在します。@c
1384 普通、@code{\header} ブロックはバージョン番号の下に置かれます。
1385
1386 @example
1387 \version @w{"@version{}"}
1388 \header @{
1389   title = "Symphony"
1390   composer = "Me"
1391   opus = "Op. 9"
1392 @}
1393
1394 @{
1395   @dots{} music @dots{}
1396 @}
1397 @end example
1398
1399 ファイルが処理されるとき、タイトルと作曲者は楽譜の上に譜刻されます。@c
1400 タイトルについての更なる情報は、@ruser{Creating titles} を参照してください。
1401
1402
1403 @node 絶対音符名
1404 @subsection 絶対音符名
1405 @translationof Absolute note names
1406
1407 @cindex note names (音符名)
1408 @cindex note names, absolute (絶対音符名)
1409 @cindex absolute mode (絶対モード)
1410 @cindex absolute values for pitches (ピッチの絶対値)
1411 @cindex pitches, absolute values (ピッチの絶対値)
1412 @cindex absolute note names (絶対音符名)
1413
1414 これまで我々は常にピッチを定義するのに @code{\relative} を使ってきました。@c
1415 これはたいていの音楽を入力するのに最も容易な方法です。@c
1416 しかしながら、ピッチを定義するための方法がもう一つ存在します。@c
1417 絶対モードです。
1418
1419 あなたが @code{\relative} を省略した場合、LilyPond はすべてのピッチを@c
1420 絶対値として扱います。@c
1421 @code{c'} は常にミドル C を意味し、@code{b} は常にミドル C の 1 音下の音符を@c
1422 意味し、@code{g,} は常にヘ音記号の譜表の最下段の譜線上にある音符を意味します。
1423
1424 @lilypond[verbatim,quote]
1425 {
1426   \clef bass
1427   c' b g, g,
1428   g, f, f c'
1429 }
1430 @end lilypond
1431
1432 今度は 4 オクターブの音階があります:
1433
1434 @lilypond[verbatim,quote]
1435 {
1436   \clef bass
1437   c, d, e, f,
1438   g, a, b, c
1439   d e f g
1440   a b c' d'
1441   \clef treble
1442   e' f' g' a'
1443   b' c'' d'' e''
1444   f'' g'' a'' b''
1445   c'''1
1446 }
1447 @end lilypond
1448
1449 見て取れるように、ト音記号に旋律を書く場合は多くのクォート @code{'} 記号が@c
1450 使用されます。@c
1451 モーツァルトからの以下の楽譜の断片について考えてみます:
1452
1453 @lilypond[verbatim,quote]
1454 {
1455   \key a \major
1456   \time 6/8
1457   cis''8. d''16 cis''8 e''4 e''8
1458   b'8. cis''16 b'8 d''4 d''8
1459 }
1460 @end lilypond
1461
1462 これらすべてのクォート記号は入力ファイルを読みにくいものにして、エラーの原因に@c
1463 なります。@c
1464 @code{\relative} を使うことで、上の例はずっと読みやくす、入力しやすくなります:
1465
1466 @lilypond[verbatim,quote]
1467 \relative c'' {
1468   \key a \major
1469   \time 6/8
1470   cis8. d16 cis8 e4 e8
1471   b8. cis16 b8 d4 d8
1472 }
1473 @end lilypond
1474
1475 @code{\relative} モードを使っているときにあなたがオクターブ記号 (@code{'} や 
1476 @code{,}) を付け間違えた場合、すぐにわかります -- 
1477 多くの音符が間違ったオクターブに譜刻されます。@c
1478 絶対モードを使っているときに、ある付け間違いをした場合、@c
1479 はっきりとせず、見つけにくいです。
1480
1481 しかしながら、絶対モードは大きな音程を持つ音楽に対しては有用であり、@c
1482 LilyPond ファイルをコンピュータで生成する場合は非常に有用です。
1483
1484
1485 @node このチュートリアルの後にすべきこと
1486 @subsection このチュートリアルの後にすべきこと
1487 @translationof After the tutorial
1488
1489 このチュートリアルを終えた後、あなたは 1、2 の楽譜を書いてみるべきです。@c
1490 @ref{テンプレート} にある楽譜の 1 つに音符を付け加えることから始めてください。@c
1491 あなたがこのチュートリアルではカバーされなかった記譜法を必要とする場合、@c
1492 @ruser{Musical notation} で始まる記譜法リファレンスを参照してください。@c
1493 あなたがテンプレートではカバーされていない楽器のアンサンブルのために@c
1494 楽譜を書こうとする場合、@ref{テンプレートを拡張する} を参照してください。
1495
1496 あなたがいくつかの短い楽譜を書き終えた後は、学習用マニュアルの残りの部分 
1497 (3~5 章) を読んでください。@c
1498 もちろん、今それらを読んでも何も問題はありません!@c
1499 しかしながら、学習用マニュアルの残りの部分はあなたが LilyPond 入力に@c
1500 馴れていると仮定しています。@c
1501 あなたはそれらの章を今すぐ一読し、もっと経験を積んだ後に読み直すことを@c
1502 望むかもしれません。
1503
1504 このチュートリアルと学習マニュアルの残りの部分では、各セクションの最後に@c
1505 @strong{参照}があり、他のセクションを参照してます: 
1506 初めて本書を読むときはこれらの参照を追うべきではありません。@c
1507 あなたが学習マニュアルをすべて読み終えたとき、いくつかのセクションを読み返し、@c
1508 さらに参照を追おうと思うかもしれません。
1509
1510 @c @ref{About the documentation} をまだ読んでいないのなら、@c
1511 FIX FIX FIX をまだ読んでいないのなら、@c
1512 それを@emph{読んでください}。@c
1513 LilyPond についての情報は多いため、新しく LilyPond を始める人は@c
1514 しばしばどこを読むべきかわからないことがあります。@c
1515 5 分間使ってそのセクションを注意深く読めば、あなたは何時間も@c
1516 見当違いの場所を読むフラストレーションを持たずに済ますことができるでしょう!