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