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