]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/fretted-strings.itely
Doc: fix filename typo in all languages.
[lilypond.git] / Documentation / ja / notation / fretted-strings.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2 @ignore
3     Translation of GIT committish: ebe492ca408fb0d9abf80b94c56197eef8dc2f09
4
5     When revising a translation, copy the HEAD committish of the
6     version that you are working on.  For details, see the Contributors'
7     Guide, node Updating translation committishes..
8 @end ignore
9
10 @c \version "2.15.16"
11
12 @c Translators: Yoshiki Sawada
13 @c Translation status: post-GDP
14
15 @node フレットのある弦楽器
16 @section フレットのある弦楽器
17 @translationof Fretted string instruments
18
19 @lilypondfile[quote]{fretted-headword.ly}
20
21 このセクションでは、@c
22 フレットのある弦楽器に特有の記譜法のいくつかの側面について説明します。
23
24 @cindex tablature (タブ譜)
25 @cindex tablature, guitar (ギター タブ譜)
26 @cindex tablature, banjo (バンジョー タブ譜)
27 @cindex guitar tablature (ギター タブ譜)
28 @cindex banjo tablature (バンジョー タブ譜)
29
30 @menu
31 * フレットのある弦楽器で共通の記譜法::
32 * ギター::
33 * バンジョー::
34 @end menu
35
36 @node フレットのある弦楽器で共通の記譜法
37 @subsection フレットのある弦楽器で共通の記譜法
38 @translationof Common notation for fretted strings
39
40 このセクションでは、フレットのある弦楽器で共通する記譜法について説明します。
41
42 @menu
43 * フレットのある弦楽器のためのリファレンス::
44 * 弦番号の指示::
45 * デフォルトのタブ譜::
46 * カスタム タブ譜::
47 * フレット ダイアグラム マークアップ::
48 * あらかじめ定義されたフレット ダイアグラム::
49 * 自動フレット ダイアグラム::
50 * 右手の運指::
51 @end menu
52
53 @node フレットのある弦楽器のためのリファレンス
54 @unnumberedsubsubsec フレットのある弦楽器のためのリファレンス
55 @translationof References for fretted strings
56
57 フレットのある弦楽器の演奏は通常、単一の譜で、@c
58 伝統的な音楽記譜法あるいはタブ譜で記譜されます。@c
59 これら 2 つが組み合わされることがあり、@c
60 特にポピュラー音楽では伝統的な記譜法の譜の上に@c
61 コード ダイアグラムを配置することが一般的です。@c
62 ギターとバンジョーは移調楽器であり、楽譜よりも 1 オクターブ下の音を出します。@c
63 これらの楽器のための楽譜は音部記号 @code{"treble_8"}
64 (あるいは、正しい MIDI 出力を得るために @code{\transposition c})
65 を使うべきです。@c
66 フレットのある弦楽器に関係する他のいくつかの要素は他の場所でカバーされています:
67
68 @itemize
69 @item 運指は @ref{運指の指示} で説明しています。
70
71 @item @notation{レセ ヴィブレ} (@notation{Laissez vibrer}) タイは、@c
72 アルペジオとトレモロで使われるタイと同様に、@ref{タイ} で説明しています。
73
74 @item 複数のボイスを処理するための説明は、@ref{衝突の解決} にあります。
75
76 @item ハーモニクス指示についての説明は、@ref{ハーモニクス} にあります。
77
78 @end itemize
79
80
81 @seealso
82 記譜法リファレンス:
83 @ref{運指の指示},
84 @ref{タイ},
85 @ref{衝突の解決},
86 @ref{楽器名},
87 @ref{音楽を並列に記述する},
88 @ref{アルペジオ},
89 @ref{List of articulations},
90 @ref{音部記号},
91 @ref{楽器の移調}
92
93
94 @node 弦番号の指示
95 @unnumberedsubsubsec 弦番号の指示
96 @translationof String number indications
97
98 @cindex string numbers (弦番号)
99 @cindex string vs. fingering numbers (弦 vs. 指番号)
100 @cindex fingering vs. string numbers (運指 vs. 弦番号)
101
102 演奏する音符の弦を、和音構造 @code{<>} の中にある音符の後に
103 @code{\@var{number}} を付けることによって、@c
104 指示することができます。
105
106 @warning{単一の音符しかない場合であっても、弦番号は和音構造の中で定義する@c
107 @strong{必要があります}。}
108
109 @lilypond[verbatim,quote,relative=0]
110 \clef "treble_8"
111 <c\5>4 <e\4> <g\3>2
112 <c,\5 e\4 g\3>1
113 @end lilypond
114
115 運指と弦の指示を一緒に使う場合、@c
116 それら 2 要素を記述する順序で配置を制御することができます:
117
118 @lilypond[verbatim,quote,relative=1]
119 \clef "treble_8"
120 <g\3-0>2
121 <g-0\3>
122 @end lilypond
123
124 @snippets
125
126 @lilypondfile[verbatim,quote,texidoc,doctitle]
127 {controlling-the-placement-of-chord-fingerings.ly}
128
129 @lilypondfile[verbatim,quote,texidoc,doctitle]
130 {allowing-fingerings-to-be-printed-inside-the-staff.ly}
131
132
133 @seealso
134 記譜法リファレンス:
135 @ref{運指の指示}
136
137 コード断片集:
138 @rlsr{Fretted strings}
139
140 内部リファレンス:
141 @rinternals{StringNumber},
142 @rinternals{Fingering}
143
144
145 @node デフォルトのタブ譜
146 @unnumberedsubsubsec デフォルトのタブ譜
147 @translationof Default tablatures
148
149 @cindex tablatures, basic (基本的なタブ譜)
150 @cindex tablatures, default (デフォルトのタブ譜)
151
152 @funindex TabStaff
153 @funindex TabVoice
154
155 弦をはじく楽器の楽譜は、しばしばタブ譜で記譜されます。@c
156 伝統的な記譜法ではピッチが符頭で記述されるのに対して、@c
157 数字 (あるいは、歴史上存在する楽譜では文字のような記号) で記述されます。@c
158 タブ譜では、譜線は演奏される音符の弦を意味し、@c
159 譜線上に配置される数字は対応する弦で押さえるべきフレットを意味します。@c
160 同時に弾く音符は垂直方向に揃えられていることに注意してください。
161
162 デフォルトでは、弦 1 は一番上の弦であり、@c
163 @code{TabStaff} の一番上の線に対応します。@c
164 @code{TabStaff} のチューニングは、デフォルトでは、@c
165 標準ギター (6 弦) のチューニングです。@c
166 音符は、@code{TabStaff} コンテキストと @code{TabVoice} コンテキストを用いて、@c
167 タブ譜として譜刻されます。@c
168 筆記体のタブ譜の音部記号が自動的に付け加えられます。
169
170 @lilypond[quote,ragged-right,verbatim]
171 \new TabStaff \relative c' {
172   a,8 a' <c e> a
173   d,8 a' <d f> a
174 }
175 @end lilypond
176
177 デフォルトのタブ譜は、音符の演奏時間や他の音楽記号
178 -- 例えば、表現記号など --
179 を保持しません。
180
181 @lilypond[quote,ragged-right,verbatim]
182 symbols = {
183   \time 3/4
184   c4-.^"Allegro" d( e)
185   f4-.\f g a^\fermata
186   \mark \default
187   c8_.\<\( c16 c~ c2\!
188   c'2.\prall\)
189 }
190
191 \score {
192   <<
193     \new Staff { \clef "G_8" \symbols }
194     \new TabStaff { \symbols }
195   >>
196 }
197 @end lilypond
198
199 @funindex \tabFullNotation
200
201 伝統的な記譜法で用いられるすべての音楽記号をタブ譜に表示させるには、@c
202 @code{TabStaff} コンテキスト内でコマンド @code{\tabFullNotation} を適用@c
203 する必要があります。@c
204 四分音符と区別するために、@c
205 半音符には 2 重線の符幹が付けられるということを覚えておいてください。
206
207 @lilypond[quote,ragged-right,verbatim]
208 symbols = {
209   \time 3/4
210   c4-.^"Allegro" d( e)
211   f4-.\f g a^\fermata
212   \mark \default
213   c8_.\<\( c16 c~ c2\!
214   c'2.\prall\)
215 }
216
217 \score {
218   \new TabStaff {
219     \tabFullNotation
220     \symbols
221   }
222 }
223 @end lilypond
224
225 @cindex fret
226
227 @funindex minimumFret
228
229 デフォルトでは、ピッチはフレット ボードの最も低い演奏ポジション
230 (ファースト ポジション) に割り当てられます。@c
231 自動的に開放弦が優先されます。@c
232 ピッチを弾く弦を指定したい場合は、ピッチ名に弦番号指示を付け加えます。@c
233 和音構造 (@code{<>}) を用いずにピッチ名と弦番号を指定した場合、@c
234 伝統的な記譜法の楽譜に弦番号指示は譜刻されません。@c
235 @code{minimumFret} の値を使って演奏ポジションを指定する方が入力しやすいです。@c
236 @code{minimumFret} のデフォルト値は 0 です。
237
238 @lilypond[quote,ragged-right,verbatim]
239 \new StaffGroup <<
240    \new Staff \relative c {
241      \clef "treble_8"
242      \time 2/4
243      c16 d e f g4
244      c,16\5 d\5 e\4 f\4 g4\4
245      c,16 d e f g4
246    }
247    \new TabStaff \relative c {
248      c16 d e f g4
249      c,16\5 d\5 e\4 f\4 g4\4
250      \set TabStaff.minimumFret = #5
251      c,16 d e f g4
252    }
253 >>
254 @end lilypond
255
256 @funindex \tabChordRepeats
257 @funindex \chordRepeats
258 @cindex Chord, repetition (和音の繰り返し)
259 @cindex repetition, using @code{q} (@code{q} を用いた繰り返し)
260
261 和音繰り返し記号 @code{q} を使って和音構造を繰り返すことができます。@c
262 この機能をタブ譜で用いる場合、弦の削除や運指番号等のイベントがやっかいです。@c
263 そのため、@ref{和音の繰り返し} を用いたタブ譜の音楽表記で@c
264 以下を明示的に実行したいと思うでしょう:
265 @example
266 \chordRepeats #'(string-number-event fingering-event)
267 @end example
268 このコマンドは共通するものなので、@c
269 @code{\tabChordRepeats} でも用いることができます。
270
271 @lilypond[quote,verbatim]
272 \tabChordRepetition
273
274 guitar = \relative c' {
275   r8 <gis-6 cis-6 b-0>~ q4 q8~ q q4
276 }
277
278 \new StaffGroup <<
279   \new Staff {
280     \clef "treble_8"
281     \guitar
282   }
283   \new TabStaff {
284     \tabChordRepeats \guitar
285   }
286 >>
287 @end lilypond
288
289 デフォルトでは、改行されるタイには括弧が付けられます。@c
290 繰り返しの差し替え部分でも同様です。
291
292 @lilypond[quote,ragged-right,verbatim]
293 ties = \relative c' {
294   \repeat volta 2 {
295     e2. f4~
296     f2 g2~
297   }
298   \alternative {
299      { g4 f2. }
300      { g4\repeatTie c,2. }
301   }
302   b1~
303   \break
304   b1
305   \bar "|."
306 }
307
308 \score {
309   <<
310     \new StaffGroup  <<
311       \context Staff {
312         \clef "treble_8"
313         \ties
314       }
315       \context TabStaff {
316         \ties
317       }
318     >>
319   >>
320   \layout {
321   indent = #0
322   ragged-right = ##t
323   }
324 }
325 @end lilypond
326
327 @funindex \hideSplitTiedTabNotes
328
329 コマンド @code{\hideSplitTiedTabNotes} は、@c
330 括弧付きフレット番号の譜刻をキャンセルします:
331
332 @lilypond[quote,ragged-right,verbatim]
333 ties = \relative c' {
334   \repeat volta 2 {
335     e2. f4~
336     f2 g2~ }
337   \alternative {
338     { g4 f2. }
339     { g4\repeatTie c,2. }
340   }
341   b1~
342   \break
343   b1
344   \bar "|."
345 }
346
347 \score {
348   <<
349     \new StaffGroup  <<
350       \context Staff {
351         \clef "treble_8"
352         \ties
353       }
354       \context TabStaff {
355       \hideSplitTiedTabNotes
356         \ties
357       }
358     >>
359   >>
360   \layout {
361   indent = #0
362   ragged-right = ##t
363   }
364 }
365 @end lilypond
366
367 @cindex harmonic indications in tablature notation (タブ譜の記譜法でのハーモニック指示)
368 @cindex tablature and harmonic indications (タブ譜とハーモニック指示)
369 @cindex slides in tablature notation (タブ譜の記譜法でのスライド)
370 @cindex tablature and slides (タブ譜とスライド)
371 @cindex chord glissandi (和音のグリッサンド)
372 @funindex \harmonic
373 @funindex \harmonicByFret
374 @funindex \harmonicByRatio
375
376 ハーモニック指示を演奏するピッチとしてタブ譜に付け加えることができます:
377
378 @lilypond[verbatim,quote]
379 firstHarmonic = {
380   d'4\4\harmonic
381   g'4\3\harmonic
382   b'2\2\harmonic
383 }
384 \score {
385   <<
386     \new Staff { \firstHarmonic }
387     \new TabStaff { \firstHarmonic }
388   >>
389 }
390 @end lilypond
391
392 コマンド @code{\harmonic} は常に和音ではなく単一の音符
393 (和音の中にあることもあり得ます) にくっつける必要があります。@c
394 12 フレットの開放弦ハーモニクス (ナチュラル ハーモニクス) でのみ@c
395 意味をなします。@c
396 他の全てのハーモニクスは LilyPond によって算出されます。@c
397 これは、フレットを行う手の指が触れる弦のフレットを指示することにより@c
398 実現されます。
399
400 @lilypond[verbatim,quote]
401 fretHarmonics = {
402   \harmonicByFret #5 d16\4
403   \harmonicByFret #4 d16\4
404   \harmonicByFret #3 d8\4
405   \harmonicByFret #5 <g\3 b\2>2.
406 }
407 \score {
408   <<
409     \new Staff { \fretHarmonics }
410     \new TabStaff { \fretHarmonics }
411   >>
412 }
413 @end lilypond
414
415 上記の方法の代わりに、@c
416 ハーモニクスの運指に弦の長さの比率を指定することによって@c
417 ハーモニクスを算出させることもできます。
418
419 @lilypond[verbatim,quote]
420 ratioHarmonics = {
421   \harmonicByRatio #1/2 <g\3 b\2 e'\1>4
422   \harmonicByRatio #1/3 <g\3 b\2 e'\1>4
423   \harmonicByRatio #1/4 { g8\3 b8\2 e'4\1 }
424 }
425 \score {
426   <<
427     \new Staff { \ratioHarmonics }
428     \new TabStaff { \ratioHarmonics }
429   >>
430 }
431 @end lilypond
432
433 @snippets
434
435 @lilypondfile[verbatim,quote,texidoc,doctitle]
436 {stem-and-beam-behavior-in-tablature.ly}
437
438 @lilypondfile[verbatim,quote,texidoc,doctitle]
439 {polyphony-in-tablature.ly}
440
441 @lilypondfile[verbatim,quote,texidoc,doctitle]
442 {open-string-harmonics-in-tablature.ly}
443
444 @lilypondfile[verbatim,quote,texidoc,doctitle]
445 {fretted-string-harmonics-in-tablature.ly}
446
447 @lilypondfile[verbatim,quote,texidoc,doctitle]
448 {slides-in-tablature.ly}
449
450 @lilypondfile[verbatim,quote,texidoc,doctitle]
451 {chord-glissando-in-tablature.ly}
452
453 @seealso
454 記譜法リファレンス:
455 @ref{和音の繰り返し},
456 @ref{グリッサンド}
457 @ref{ハーモニクス},
458 @ref{符幹},
459 @ref{繰り返しを描き出す}
460
461
462 コード断片集:
463 @rlsr{Fretted strings}
464
465 内部リファレンス:
466 @rinternals{TabNoteHead},
467 @rinternals{TabStaff},
468 @rinternals{TabVoice},
469 @rinternals{Beam}
470
471 @knownissues
472
473 和音は特殊な方法では処理できません。@c
474 そのため、自動弦セレクタは和音の中にある 2 つの音符に対して@c
475 同じ弦を選択することが容易に起こり得ます。
476
477 @code{\partcombine} を処理するには、@c
478 @code{TabStaff} は特別なやり方で作成されたボイスを使う必要があります:
479
480 @lilypond[quote,ragged-right,verbatim]
481 melodia = \partcombine { e4 g g g } { e4 e e e }
482 <<
483   \new TabStaff <<
484     \new TabVoice = "one" s1
485     \new TabVoice = "two" s1
486     \new TabVoice = "shared" s1
487     \new TabVoice = "solo" s1
488     { \melodia }
489   >>
490 >>
491 @end lilypond
492
493 ギターの特殊効果はハーモニクスとスライドに制限されています。
494
495 @node カスタム タブ譜
496 @unnumberedsubsubsec カスタム タブ譜
497 @translationof Custom tablatures
498
499 @cindex tablatures, custom (カスタム タブ譜)
500 @cindex tablature, banjo (バンジョー タブ譜)
501 @cindex tablature, mandolin (マンドリン タブ譜)
502 @cindex tablature, guitar (ギター タブ譜)
503 @cindex tablature, bass guitar (バス ギター タブ譜)
504 @cindex tablature, ukulele (ウクレレ タブ譜)
505 @cindex tablature, predefined string tunings (あらかじめ定義された弦チューニングのタブ譜)
506 @cindex fretted instruments, predefined string tunings (あらかじめ定義された弦チューニングのフレットのある楽器)
507 @cindex predefined string tunings for fretted instruments (フレットのある楽器のためにあらかじめ定義された弦チューニング)
508 @cindex tablature, violin (バイオリン タブ譜)
509 @cindex tablature, viola (ビオラ タブ譜)
510 @cindex tablature, cello (チェロ タブ譜)
511 @cindex tablature, bass (バス タブ譜)
512 @cindex tablature, double bass (ダブル バス タブ譜)
513
514 @funindex stringTunings
515
516 LilyPond のタブ譜は、音符に対するフレットを、@c
517 その音符が割り当てられている弦に基づいて、自動的に算出します。@c
518 フレットの算出を行うために、弦のチューニングを指定する必要があります。@c
519 弦のチューニングは @code{stringTunings} プロパティで指定します。
520
521 LilyPond にはあらかじめ定義された弦チューニングが用意されています
522 -- バンジョー、マンドリン、ギター、バス ギター、ウクレレ、バイオリン、@c
523 ビオラ、チェロ、それにダブル バス用があります。@c
524 LilyPond は、あらかじめ定義されたチューニングに対して、@c
525 適切な移調をセットします。@c
526 以下の例はバス ギター用であり、@c
527 記述されている音符よりも 1 オクターブ低く演奏されます。
528
529 @lilypond[quote,ragged-right,verbatim]
530 <<
531   \new Staff {
532     \clef "bass_8"
533     \relative c, {
534       c4 d e f
535     }
536   }
537   \new TabStaff {
538     \set TabStaff.stringTunings = #bass-tuning
539     \relative c, {
540       c4 d e f
541     }
542   }
543 >>
544 @end lilypond
545
546 デフォルトの弦チューニングは @code{guitar-tuning} で、@c
547 これは標準の EADGBE チューニングです。@c
548 他のあらかじめ定義されたチューニングには、@c
549 @code{guitar-open-g-tuning}, @code{mandolin-tuning} それに
550 @code{banjo-open-g-tuning} があります。@c
551 あらかじめ定義された弦チューニングは @file{ly/string-tunings-init.ly} の中に@c
552 あります。
553
554 @funindex stringTunings
555 @funindex \stringTunings
556 @cindex tablature, custom string tunings (カスタム弦チューニングのタブ譜)
557 @cindex custom string tunings (カスタム弦チューニング)
558
559 望みに応じて任意の弦チューニングを作成することができます。@c
560 @code{\stringTuning} 関数を用いて弦チューニングを定義し、@c
561 カレント コンテキストの @code{stringTunings} としてセットすることができます。
562
563 @code{\stringTuning} の引数は、@c
564 チューニングにおける各弦のピッチを定義する和音構造です。@c
565 和音構造は絶対オクターブ モードにする必要があります
566 -- @ref{絶対オクターブ入力} を参照してください。@c
567 和音の中で、@c
568 一番大きな番号を持つ弦 (一般的に低い音の弦) が最初に来る必要があります。@c
569 例えば、@code{a''}, @code{d''}, @code{g'}, それに @code{c'} のピッチを持つ
570 4 弦の楽器用の弦チューニングを定義することができます:
571
572 @lilypond[quote,verbatim]
573
574 mynotes = {
575   c'4 e' g' c'' |
576   e''4 g'' b'' c'''
577 }
578
579 <<
580   \new Staff {
581     \clef treble
582     \mynotes
583   }
584   \new TabStaff {
585     \set stringTunings = \stringTuning <c' g' d'' a''>
586     \mynotes
587   }
588 >>
589 @end lilypond
590
591 @code{FretBoards} で @code{stringTunings} プロパティ用いることで、@c
592 自動的にフレット ダイアグラムを算出させることもできます。
593
594 弦チューニングは、@c
595 あらかじめ定義されたフレット ダイアグラムに対するハッシュ キーの一部@c
596 として使われます
597
598 上記の例を、以下のように書き換えることができます:
599
600 @lilypond[quote,verbatim]
601 "custom-tuning" = \stringTuning <c' g' d'' a''>
602
603 mynotes = {
604   c'4 e' g' c'' |
605   e''4 g'' b'' c'''
606 }
607
608 <<
609   \new Staff {
610     \clef treble
611     \mynotes
612   }
613   \new TabStaff {
614     \set TabStaff.stringTunings = #custom-tuning
615     \mynotes
616   }
617 >>
618 @end lilypond
619
620 内部的には、弦チューニングは弦ピッチの Scheme リストです
621 -- それぞれの弦ピッチは各弦に対するピッチで、@c
622 弦番号 1 から N の順に並んでいて、@c
623 弦 1 はタブ譜の最上段、弦 N はタブ譜の最下段となります。@c
624 通常、このリストは高いピッチから低いピッチの順になりますが、@c
625 いくつかの楽器 (例えば、ウクレレ) の弦はピッチの高低順に並んでいません。@c
626
627 弦チューニング リストの中の弦ピッチは 1 つ 1 つが
628 LilyPond ピッチ オブジェクトです。@c
629 ピッチ オブジェクトは Scheme 関数 @code{ly:make-pitch}
630 (@ref{Scheme functions} を参照してください) で作成されます。@c
631
632 @code{\stringTuning} は和音構造から弦チューニング リストを作成します。
633
634 LilyPond は、@code{TabStaff} の行数と自動的に算出される @code{FretBoard} の弦数
635 (これは @code{stringTunings} の要素数です) を自動的に算出します。
636
637 すべての @code{TabStaff} コンテキストに同じカスタム チューニングを@c
638 適用するには、@c
639 下記のようにします:
640
641 @example
642 \layout @{
643   \context @{
644     \TabStaff
645     stringTunings = \stringTuning \notemode @{ <c' g' d'' a''> @}
646   @}
647 @}
648 @end example
649
650
651 @cindex moderntab clef (現代タブ譜の音部記号)
652 @cindex clef, moderntab (現代タブ譜の音部記号)
653 @cindex clef, tab (タブ譜の音部記号)
654 @cindex tab clef (タブ譜の音部記号)
655
656 現代タブ譜の音部記号を使うこともできます。
657
658 @lilypond[quote,ragged-right,verbatim]
659 \new TabStaff {
660   \clef moderntab
661   <a, e a>1
662   \break
663   \clef tab
664   <a, e a>1
665 }
666 @end lilypond
667
668 現代タブ譜の音部記号は、4 から 7 弦までのタブ譜をサポートします。
669
670 @seealso
671 記譜法リファレンス:
672 @ref{絶対オクターブ入力},
673 @ref{あらかじめ定義されたフレット ダイアグラム},
674 @ref{Scheme functions}
675
676 インストールされているファイル:
677 @file{ly/string-tunings-init.ly}
678 @file{scm/tablature.scm}
679
680 コード断片集:
681 @rlsr{Fretted strings}
682
683 内部リファレンス:
684 @rinternals{Tab_note_heads_engraver}
685
686 @knownissues
687 ウクレレなどのように弦がピッチ順に並んでいない楽器では、大抵の場合、
688 タブ譜の自動算出は正しく機能しません。
689
690
691 @node フレット ダイアグラム マークアップ
692 @unnumberedsubsubsec フレット ダイアグラム マークアップ
693 @translationof Fret diagram markups
694
695 @cindex fret diagrams (フレット ダイアグラム)
696 @cindex chord diagrams (コード ダイアグラム)
697 @cindex diagrams, fret (フレット ダイアグラム)
698 @cindex diagrams, chord for fretted instruments (フレットのある楽器のためのコード ダイアグラム)
699 @cindex fret diagrams, custom (カスタム フレット ダイアグラム)
700 @cindex custom fret diagrams (カスタム フレット ダイアグラム)
701
702 フレット ダイアグラムを注釈のマークアップとして楽譜に追加することができます。@c
703 このマークアップは記譜するフレット ダイアグラムについての情報を保持します。@c
704 fret-diagram マークアップ インターフェイスは 3 種類あります:
705 標準、簡易、それに冗長です。@c
706 これら 3 種類のインターフェイスが作り出すマークアップは等価ですが、@c
707 そのマークアップ文字列が持つ情報量は異なります。@c
708 フレット ダイアグラムを定義するのに用いられるマークアップ文字列の文法@c
709 についての詳細は、@ref{Instrument Specific Markup} を参照してください。
710
711 標準フレット ダイアグラムのマークアップ文字列は、@c
712 弦の上に配置されるドットの弦番号とフレット番号を示します。@c
713 さらに、開放弦と消音 (ミュート) 弦を示すこともできます。
714
715 @lilypond[quote, verbatim]
716 <<
717   \context ChordNames {
718     \chordmode {
719       c1 d:m
720     }
721   }
722   \context Staff {
723     \clef "treble_8"
724     <c e g c' e'>1^\markup {
725       \fret-diagram #"6-x;5-3;4-2;3-o;2-1;1-o;"
726     }
727     <d a d' f'>1^\markup {
728       \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-1;"
729     }
730   }
731 >>
732 @end lilypond
733
734 @cindex barre indications (バレー指示)
735
736 fret-diagram マークアップ文字列のダイアグラムに、@c
737 バレー指示を追加することができます。
738
739 @lilypond[quote, verbatim]
740 <<
741   \context ChordNames {
742      \chordmode {
743        f1 g
744      }
745   }
746   \context Staff {
747     \clef "treble_8"
748     <f, c f a c' f'>1^\markup {
749       \fret-diagram #"c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
750     }
751     <g, d g b d' g'>1^\markup {
752       \fret-diagram #"c:6-1-3;6-3;5-5;4-5;3-4;2-3;1-3;"
753     }
754   }
755 >>
756 @end lilypond
757
758 @cindex fret-diagram markup (フレット ダイアグラムのマークアップ)
759 @cindex ukulele (ウクレレ)
760
761 @funindex fret-diagram
762 @funindex \fret-diagram
763
764 フレット ダイアグラムのサイズ、それにダイアグラムの中のフレット数を@c
765 fret-diagram マークアップ文字列の中で変更することができます。
766
767 @lilypond[quote, verbatim]
768 <<
769   \context ChordNames {
770      \chordmode {
771        f1 g
772      }
773   }
774   \context Staff {
775     \clef "treble_8"
776     <f, c f a c' f'>1^\markup {
777       \fret-diagram #"s:1.5;c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
778     }
779     <g, b, d g b g'>1^\markup {
780       \fret-diagram #"h:6;6-3;5-2;4-o;3-o;2-o;1-3;"
781     }
782   }
783 >>
784 @end lilypond
785
786 バンジョーやウクレレなどの弦数に合わせて、@c
787 fret-diagram マークアップ文字列で@c
788 フレット ダイアグラムの弦数を変更することができます。
789
790 @c KEEP LY
791 @lilypond[quote, verbatim]
792 <<
793   \context ChordNames {
794     \chordmode {
795       a1
796     }
797   }
798   \context Staff {
799     % ウクレレの 'A' コード
800     a'1^\markup {
801       \fret-diagram #"w:4;4-2-2;3-1-1;2-o;1-o;"
802     }
803   }
804 >>
805 @end lilypond
806
807 fret-diagram マークアップ文字列で運指の指示を追加して、@c
808 配置を制御することができます。
809
810 @lilypond[quote, verbatim]
811 <<
812   \context ChordNames {
813     \chordmode {
814       c1 d:m
815     }
816   }
817   \context Staff {
818     \clef "treble_8"
819     <c e g c' e'>1^\markup {
820       \fret-diagram #"f:1;6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"
821     }
822     <d a d' f'>1^\markup {
823       \fret-diagram #"f:2;6-x;5-x;4-o;3-2-2;2-3-3;1-1-1;"
824     }
825   }
826 >>
827 @end lilypond
828
829 fret-diagram マークアップ文字列でドットの大きさと位置を制御することができます。
830
831 @lilypond[quote, verbatim]
832 <<
833   \context ChordNames {
834     \chordmode {
835       c1 d:m
836     }
837   }
838   \context Staff {
839     \clef "treble_8"
840     <c e g c' e'>1^\markup {
841       \fret-diagram #"d:0.35;6-x;5-3;4-2;3-o;2-1;1-o;"
842     }
843     <d a d' f'>1^\markup {
844       \fret-diagram #"p:0.2;6-x;5-x;4-o;3-2;2-3;1-1;"
845     }
846   }
847 >>
848 @end lilypond
849
850 @cindex fret-diagram-terse markup (fret-diagram-terse マークアップ)
851
852 @funindex fret-diagram-terse
853 @funindex \fret-diagram-terse
854
855 fret-diagram-terse マークアップ文字列は弦番号を省略します。@c
856 弦番号はセミコロンで示します。@c
857 ダイアグラムの弦毎にセミコロンを記述します。@c
858 最初のセミコロンは最高の弦番号に対応し、@c
859 最後のセミコロンは第 1 弦に対応します。@c
860 消音弦、開放弦、それにフレット番号を示すことができます。
861
862 @lilypond[quote, verbatim]
863 <<
864   \context ChordNames {
865     \chordmode {
866       c1 d:m
867     }
868   }
869   \context Staff {
870     \clef "treble_8"
871     <c e g c' e'>1^\markup {
872       \fret-diagram-terse #"x;3;2;o;1;o;"
873     }
874     <d a d' f'>1^\markup {
875       \fret-diagram-terse #"x;x;o;2;3;1;"
876     }
877   }
878 >>
879 @end lilypond
880
881 fret-diagram-terse マークアップ文字列にバレー指示を含めることができます。
882
883 @lilypond[quote, verbatim]
884 <<
885   \context ChordNames {
886     \chordmode {
887       f1 g
888     }
889   }
890   \context Staff {
891     \clef "treble_8"
892     <f, c f a c' f'>1^\markup {
893       \fret-diagram-terse #"1-(;3;3;2;1;1-);"
894     }
895     <g, d g b d' g'>1^\markup {
896       \fret-diagram-terse #"3-(;5;5;4;3;3-);"
897     }
898   }
899 >>
900 @end lilypond
901
902 fret-diagram-terse マークアップ文字列に運指の指示を含めることができます。
903
904 @c Need to use override to enable fingerings to show this -- can we do so?
905 @lilypond[quote, verbatim]
906 <<
907   \context ChordNames {
908     \chordmode {
909       c1 d:m
910     }
911   }
912   \context Staff {
913     \override Voice.TextScript
914       #'(fret-diagram-details finger-code) = #'below-string
915     \clef "treble_8"
916     <c e g c' e'>1^\markup {
917       \fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
918     }
919     <d a d' f'>1^\markup {
920       \fret-diagram-terse #"x;x;o;2-2;3-3;1-1;"
921     }
922   }
923 >>
924 @end lilypond
925
926 fret-diagram-terse マークアップを使っている時、@c
927 他のフレット ダイアグラム プロパティの調節には
928 @code{\override} を用いる必要があります。
929
930 @cindex fret-diagram-verbose markup (fret-diagram-verbose マークアップ)
931 @cindex capo (カポ)
932
933 @funindex fret-diagram-verbose
934 @funindex \fret-diagram-verbose
935
936 fret-diagram-verbose マークアップ文字列のフォーマットは Scheme リストです。@c
937 リストの各要素はフレット ダイアグラム上に配置する要素を示しています。
938
939 @lilypond[quote, verbatim]
940 <<
941     \context ChordNames {
942       \chordmode {
943         c1 d:m
944       }
945     }
946   \context Staff {
947     \clef "treble_8"
948     <c e g c' e'>1^\markup {
949       \fret-diagram-verbose #'(
950         (mute 6)
951         (place-fret 5 3)
952         (place-fret 4 2)
953         (open 3)
954         (place-fret 2 1)
955         (open 1)
956       )
957     }
958     <d a d' f'>1^\markup {
959       \fret-diagram-verbose #'(
960         (mute 6)
961         (mute 5)
962         (open 4)
963         (place-fret 3 2)
964         (place-fret 2 3)
965         (place-fret 1 1)
966       )
967     }
968   }
969 >>
970 @end lilypond
971
972 fret-diagram-verbose マークアップ文字列に運指の指示とバレー指示を@c
973 含めることができます。@c
974 fret-diagram-verbose インターフェイスに特有なこととして、
975 カポ指示をフレット ダイアグラム上に配置することができます。@c
976 カポ指示はすべての弦に重なる太い線です。@c
977 カポを持つフレットは、フレット ダイアグラムの中の最も低いフレットです。
978
979 @c \override is necessary to make fingering visible
980 @lilypond[quote, verbatim]
981 <<
982     \context ChordNames {
983       \chordmode {
984         f1 g c
985       }
986     }
987   \context Staff {
988     \clef "treble_8"
989     \override Voice.TextScript
990       #'(fret-diagram-details finger-code) = #'below-string
991     <f, c f a c' f'>1^\markup {
992       \fret-diagram-verbose #'(
993         (place-fret 6 1)
994         (place-fret 5 3)
995         (place-fret 4 3)
996         (place-fret 3 2)
997         (place-fret 2 1)
998         (place-fret 1 1)
999         (barre 6 1 1)
1000       )
1001     }
1002     <g, b, d g b g'>1^\markup {
1003       \fret-diagram-verbose #'(
1004         (place-fret 6 3 2)
1005         (place-fret 5 2 1)
1006         (open 4)
1007         (open 3)
1008         (open 2)
1009         (place-fret 1 3 3)
1010       )
1011     }
1012     <c e g c' e'>1^\markup {
1013       \fret-diagram-verbose #'(
1014         (capo 3)
1015         (mute 6)
1016         (place-fret 4 5 1)
1017         (place-fret 3 5 2)
1018         (place-fret 2 5 3)
1019       )
1020     }
1021   }
1022 >>
1023 @end lilypond
1024
1025 fret-diagram-verbose マークアップを使っている時、@c
1026 他のフレット ダイアグラム プロパティの調節には
1027 @code{\override} を用いる必要があります。
1028
1029
1030 @ignore
1031 The following example shows the three fret-diagram markup
1032 interfaces, along with examples of common tweaks.  For example,
1033 the size of the verbose fret diagram is reduced to 0.75, and the
1034 finger indications are specified to appear below the diagram.  The
1035 terse diagram includes tweaks to specify placement of finger code
1036 and color of dots.
1037
1038 @lilypond[verbatim,ragged-right,quote]
1039 \new Voice {
1040   \clef "treble_8"
1041   d4^\markup {
1042     \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;"
1043   }
1044   d4 d d
1045   fis^\markup {
1046     \override #'(size . 0.75) {
1047       \override #'(finger-code . below-string) {
1048         \fret-diagram-verbose #'((place-fret 6 2 1) (barre 6 1 2)
1049                                  (place-fret 5 4 3)
1050                                  (place-fret 4 4 4)
1051                                  (place-fret 3 3 2)
1052                                  (place-fret 2 2 1)
1053                                  (place-fret 1 2 1))
1054       }
1055     }
1056   }
1057   fis4 fis fis
1058   c^\markup {
1059     \override #'(dot-radius . 0.35) {
1060       \override #'(finger-code . in-dot) {
1061         \override #'(dot-color . white) {
1062           \fret-diagram-terse #"x;3-1-(;5-2;5-3;5-4;3-1-);"
1063         }
1064       }
1065     }
1066   }
1067   c4 c c
1068 }
1069 @end lilypond
1070 @end ignore
1071
1072 @cindex customized fret diagram (カスタマイズされたフレット ダイアグラム)
1073 @cindex fret diagram, customized (カスタマイズされたフレット ダイアグラム)
1074 @cindex diagram, fret, customized (カスタマイズされたフレット ダイアグラム)
1075
1076 @funindex fret-diagram-interface
1077
1078 ユーザの好みに応じて、@c
1079 @code{fret-diagram-interface} プロパティで@c
1080 フレット ダイアグラムのグラフィック レイアウトをカスタマイズすることが可能です。
1081 詳細は、@rinternals{fret-diagram-interface} を参照してください。@c
1082 フレット ダイアグラム マークアップ用のインターフェイス プロパティは
1083 @code{Voice.TextScript} に属します。
1084
1085 @snippets
1086
1087 @lilypondfile[verbatim,quote,texidoc,doctitle]
1088 {changing-fret-orientations.ly}
1089
1090 @lilypondfile[verbatim,quote,texidoc,doctitle]
1091 {customizing-markup-fret-diagrams.ly}
1092
1093 @seealso
1094 記譜法リファレンス:
1095 @ref{Instrument Specific Markup}
1096
1097 コード断片集:
1098 @rlsr{Fretted strings}
1099
1100 内部リファレンス:
1101 @rinternals{fret-diagram-interface}
1102
1103
1104 @node あらかじめ定義されたフレット ダイアグラム
1105 @unnumberedsubsubsec あらかじめ定義されたフレット ダイアグラム
1106 @translationof Predefined fret diagrams
1107
1108 @cindex fret diagrams (フレット ダイアグラム)
1109 @cindex fret diagrams, ukulele (ウクレレのフレット ダイアグラム)
1110 @cindex fret diagrams, mandolin (マンドリンのフレット ダイアグラム)
1111 @cindex chord diagrams (コード ダイアグラム)
1112
1113 @funindex FretBoards
1114 @funindex stringTunings
1115
1116 フレット ダイアグラムを @code{FretBoards} コンテキストを用いて表示させる@c
1117 ことができます。@c
1118 デフォルトでは、 @code{FretBoards} コンテキストは@c
1119 参照テーブルに保存されいているフレット ダイアグラムを表示します:
1120
1121 @lilypond[verbatim, ragged-right, quote]
1122 \include "predefined-guitar-fretboards.ly"
1123 \context FretBoards {
1124   \chordmode {
1125     c1 d
1126   }
1127 }
1128 @end lilypond
1129
1130 あらかじめ定義されたフレット ダイアグラムのデフォルトは
1131 ファイル @file{predefined-guitar-fretboards.ly} の中にあります。
1132 フレット ダイアグラムは、@c
1133 コードのピッチと現在使われている @code{stringTunings} の値@c
1134 に基づいて保存されます。@c
1135 @file{predefined-guitar-fretboards.ly} が保持している@c
1136 あらかじめ定義されたフレット ダイアグラムは、ギター用だけです。@c
1137 @file{predefined-guitar-fretboards.ly} の中にある例に従って、@c
1138 他の楽器あるいは他のチューニング用の@c
1139 あらかじめ定義されたフレット ダイアグラムを追加することができます。
1140
1141 ウクレレ用のフレット ダイアグラムは@c
1142 ファイル @file{predefined-ukulele-fretboards.ly} の中にあります。
1143
1144 @lilypond[verbatim, ragged-right, quote]
1145 \include "predefined-ukulele-fretboards.ly"
1146
1147 myChords = \chordmode { a1 a:m a:aug }
1148
1149 \new ChordNames {
1150   \myChords
1151 }
1152
1153 \new FretBoards {
1154   \set stringTunings = #ukulele-tuning
1155   \myChords
1156 }
1157 @end lilypond
1158
1159 マンドリン用のフレット ダイアグラムは@c
1160 ファイル @file{predefined-mandolin-fretboards.ly} の中にあります。
1161
1162 @lilypond[verbatim, ragged-right, quote]
1163 \include "predefined-mandolin-fretboards.ly"
1164
1165 myChords = \chordmode { c1 c:m7.5- c:aug }
1166
1167 \new ChordNames {
1168   \myChords
1169 }
1170
1171 \new FretBoards {
1172   \set stringTunings = #mandolin-tuning
1173   \myChords
1174 }
1175 @end lilypond
1176
1177 コードのピッチを入力する方法は、同時進行する音楽として入力するか、@c
1178 コード モード (@ref{Chord mode overview} を参照してください)
1179 を用いて入力するかのどちらかです。
1180
1181 @lilypond[verbatim, ragged-right,quote]
1182 \include "predefined-guitar-fretboards.ly"
1183 \context FretBoards {
1184   \chordmode { c1 }
1185   <c' e' g'>1
1186 }
1187 @end lilypond
1188
1189 @cindex chord names with fret diagrams
1190 @cindex fret diagrams with chord names
1191
1192 @funindex ChordNames
1193 @funindex chordmode
1194 @funindex \chordmode
1195
1196 コード ネームとフレット ダイアグラムを一緒に表示させることが@c
1197 一般的に行われます。@c
1198 これを実現するには、@c
1199 @code{ChordNames} コンテキストを @code{FretBoards} コンテキストと並列に@c
1200 配置して、@c
1201 両方のコンテキストに同じ音楽を与えます。
1202
1203 @lilypond[verbatim, ragged-right, quote]
1204 \include "predefined-guitar-fretboards.ly"
1205 mychords = \chordmode{
1206   c1 f g
1207 }
1208
1209 <<
1210   \context ChordNames {
1211     \mychords
1212   }
1213   \context FretBoards {
1214     \mychords
1215   }
1216 >>
1217 @end lilypond
1218
1219 @cindex transposing fret diagrams (フレット ダイアグラムを移調させる)
1220 @cindex fret diagrams, transposing (フレット ダイアグラムを移調させる)
1221 @cindex diagrams, fret, transposing (フレット ダイアグラムを移調させる)
1222
1223 あらかじめ定義されたフレット ダイアグラムは、c
1224 移調されたコードに対するダイアグラムがフレット ダイアグラム テーブルに@c
1225 保存されていれば、移調可能です。
1226
1227 @lilypond[verbatim, ragged-right, quote]
1228 \include "predefined-guitar-fretboards.ly"
1229 mychords = \chordmode{
1230   c1 f g
1231 }
1232
1233 mychordlist = {
1234   \mychords
1235   \transpose c e { \mychords }
1236 }
1237 <<
1238   \context ChordNames {
1239     \mychordlist
1240   }
1241   \context FretBoards {
1242     \mychordlist
1243   }
1244 >>
1245 @end lilypond
1246
1247
1248 ギター用のあらかじめ定義されたフレット ダイアグラム テーブルは、@c
1249 17 キーのそれぞれに対して 8 つのコード
1250 (major, minor, augmented, diminished, dominant seventh, major seventh,
1251 minor seventh, dominant ninth)
1252 を保持しています。@c
1253 ウクレレ用のあらかじめ定義されたフレット ダイアグラム テーブルは、@c
1254 上記のコードに加えて、3 つのコード
1255 (major sixth, suspended second, それに suspended fourth)
1256 を保持しています。@c
1257 あらかじめ定義されたフレット ダイアグラムの完全なリストは
1258 @ref{Predefined fretboard diagrams} で示されています。@c
1259 テーブルにエントリされていないコードがある場合、@c
1260 FretBoards エングラーバは @ref{自動フレット ダイアグラム} で説明する@c
1261 自動フレット ダイアグラム機能を用いて fret-diagram を算出します。
1262
1263 @lilypond[verbatim, ragged-right, quote]
1264 \include "predefined-guitar-fretboards.ly"
1265 mychords = \chordmode{
1266   c1 c:maj9
1267 }
1268
1269 <<
1270   \context ChordNames {
1271     \mychords
1272   }
1273   \context FretBoards {
1274     \mychords
1275   }
1276 >>
1277 @end lilypond
1278
1279 @cindex fret diagrams, adding custom (カスタム フレット ダイアグラムを追加する)
1280 @cindex custom fret diagrams, adding (カスタム フレット ダイアグラムを追加する)
1281 @cindex adding custom fret diagrams (カスタム フレット ダイアグラムを追加する)
1282
1283 フレット ダイアグラムをフレット ダイアグラム テーブルに@c
1284 追加することができます。@c
1285 ダイアグラムを追加するには、ダイアグラムのハッシュ テーブル、@c
1286 ダイアグラムのコード、使用するチューニング、それにダイアグラムの定義を@c
1287 指定する必要があります。@c
1288 通常、ハッシュ テーブルは @var{default-fret-table} です。@c
1289 ダイアグラムの定義は @code{fret-diagram-terse} 定義文字列または@c
1290 @code{fret-diagram-verbose} マーキング リストのどちらかです。
1291
1292 @lilypond[verbatim, ragged-right, quote]
1293 \include "predefined-guitar-fretboards.ly"
1294
1295 \storePredefinedDiagram #default-fret-table
1296                         \chordmode { c:maj9 }
1297                         #guitar-tuning
1298                         #"x;3-2;o;o;o;o;"
1299
1300 mychords = \chordmode {
1301   c1 c:maj9
1302 }
1303
1304 <<
1305   \context ChordNames {
1306     \mychords
1307   }
1308   \context FretBoards {
1309     \mychords
1310   }
1311 >>
1312 @end lilypond
1313
1314 ピッチのオクターブを変えることで、@c
1315 同じコード ネームに対して異なるフレット ダイアグラムを保存することができます。@c
1316 オクターブを変える場合は、@c
1317 デフォルトのオクターブに対して少なくとも 2 オクターブ@c
1318 上げるか下げる必要があります。@c
1319 デフォルトの 1 オクターブ上または下のオクターブは、@c
1320 フレットボードの移調に使用されるためです。
1321
1322 @lilypond[verbatim, ragged-right, quote]
1323 \include "predefined-guitar-fretboards.ly"
1324
1325 \storePredefinedDiagram #default-fret-table
1326                         \chordmode { c'' }
1327                         #guitar-tuning
1328                         #(offset-fret 2 (chord-shape 'bes guitar-tuning))
1329
1330 mychords = \chordmode {
1331   c1 c''
1332 }
1333
1334 <<
1335   \context ChordNames {
1336     \mychords
1337   }
1338   \context FretBoards {
1339     \mychords
1340   }
1341 >>
1342 @end lilypond
1343
1344 @cindex fretted instruments, chord shapes (フレットのある楽器のコード シェイプ)
1345 @cindex chord shapes for fretted instruments (フレットのある楽器のコード シェイプ)
1346
1347 @funindex \addChordShape
1348 @funindex addChordShape
1349 @funindex storePredefinedDiagram
1350 @funindex \storePredefinedDiagram
1351
1352 @ignore
1353 LilyPond はフレット ダイアグラムに加えて、@c
1354 コード シェイプの内部リストを保存します。@c
1355 @end ignore
1356
1357 @c 未訳
1358 In addition to fret diagrams, LilyPond stores an internal list of chord
1359 shapes.  The chord shapes are fret diagrams that can be shifted along
1360 the neck to different positions to provide different chords.  Chord
1361 shapes can be added to the internal list and then used to define
1362 predefined fret diagrams.  Because they can be moved to various
1363 positions on the neck, chord shapes will normally not contain
1364 any open strings.  Like fret diagrams, chord shapes can be
1365 entered as either fret-diagram-terse strings or fret-diagram-verbose
1366 marking lists.
1367
1368 @lilypond[verbatim, ragged-right, quote]
1369 \include "predefined-guitar-fretboards.ly"
1370
1371 % Add a new chord shape
1372
1373 \addChordShape #'powerf #guitar-tuning #"1-1;3-3;3-4;x;x;x;"
1374
1375 % add some new chords based on the power chord shape
1376
1377 \storePredefinedDiagram #default-fret-table
1378                         \chordmode { f'' }
1379                         #guitar-tuning
1380                         #(chord-shape 'powerf guitar-tuning)
1381 \storePredefinedDiagram #default-fret-table
1382                         \chordmode { g'' }
1383                         #guitar-tuning
1384                         #(offset-fret 2 (chord-shape 'powerf guitar-tuning))
1385
1386 mychords = \chordmode{
1387   f1 f'' g g''
1388 }
1389
1390 <<
1391   \context ChordNames {
1392     \mychords
1393   }
1394   \context FretBoards {
1395     \mychords
1396   }
1397 >>
1398 @end lilypond
1399
1400 @code{fret-diagram-interface} のプロパティを通じて、@c
1401 フレット ダイアグラムのグラフィカル レイアウトをユーザの好みに応じて@c
1402 カスタマイズすることができます。@c
1403 詳細は @rinternals{fret-diagram-interface} を参照してください。@c
1404 あらかじめ定義されたフレット ダイアグラムのインターフェイス プロパティは@c
1405 @code{FretBoards.FretBoard} に属します。
1406
1407 @snippets
1408
1409 @lilypondfile[verbatim,quote,texidoc,doctitle]
1410 {customizing-fretboard-fret-diagrams.ly}
1411
1412 @lilypondfile[verbatim,quote,texidoc,doctitle]
1413 {defining-predefined-fretboards-for-other-instruments.ly}
1414
1415 @lilypondfile[verbatim,quote,texidoc,doctitle]
1416 {chordchanges-for-fretboards.ly}
1417
1418 @lilypondfile[verbatim,quote,texidoc,doctitle]
1419 {fretboards-alternate-tables.ly}
1420
1421
1422 @seealso
1423 記譜法リファレンス:
1424 @ref{カスタム タブ譜},
1425 @ref{自動フレット ダイアグラム},
1426 @ref{Chord mode overview},
1427 @ref{Predefined fretboard diagrams}
1428
1429 インストールされているファイル:
1430 @file{ly/predefined-guitar-fretboards.ly},
1431 @file{ly/predefined-guitar-ninth-fretboards.ly},
1432 @file{ly/predefined-ukulele-fretboards.ly},
1433 @file{ly/predefined-mandolin-fretboards.ly}
1434
1435 コード断片集:
1436 @rlsr{Fretted strings}
1437
1438 内部リファレンス:
1439 @rinternals {fret-diagram-interface}
1440
1441
1442 @node 自動フレット ダイアグラム
1443 @unnumberedsubsubsec 自動フレット ダイアグラム
1444 @translationof Automatic fret diagrams
1445
1446 @cindex fret diagrams, automatic (自動フレット ダイアグラム)
1447 @cindex chord diagrams, automatic (自動コード ダイアグラム)
1448 @cindex automatic fret diagrams (自動フレット ダイアグラム)
1449 @cindex automatic chord diagrams (自動コード ダイアグラム)
1450
1451 @code{FretBoards} コンテキストを用いて、@c
1452 入力された音符からフレット ダイアグラムを自動的に作成することができます。@c
1453 アクティブな @code{stringTunings} で入力された音符に対して@c
1454 あらかじめ定義されたダイアグラムが用意されていない場合、@c
1455 このコンテキストはその音符を演奏するために使用する弦とフレットを算出します。
1456
1457 @lilypond[quote,ragged-right,verbatim]
1458 <<
1459   \context ChordNames {
1460     \chordmode {
1461       f1 g
1462     }
1463   }
1464   \context FretBoards {
1465     <f, c f a c' f'>1
1466     <g,\6 b, d g b g'>1
1467   }
1468   \context Staff {
1469     \clef "treble_8"
1470     <f, c f a c' f'>1
1471     <g, b, d g b' g'>1
1472   }
1473 >>
1474 @end lilypond
1475
1476 @funindex predefinedFretboardsOff
1477 @funindex \predefinedFretboardsOff
1478 @funindex predefinedFretboardsOn
1479 @funindex \predefinedFretboardsOn
1480
1481 デフォルトではあらかじめ定義されたダイアグラムは読み込まれないため、@c
1482 フレット ダイアグラムの自動算出がデフォルトの振る舞いとなります。@c
1483 一旦デフォルトのダイアグラムが読み込まれると、@c
1484 あらかじめ定義されたコマンドで自動算出を有効または無効にすることができます:
1485
1486 @lilypond[quote,ragged-right,verbatim]
1487
1488 \storePredefinedDiagram #default-fret-table
1489                         <c e g c' e'>
1490                         #guitar-tuning
1491                         #"x;3-1-(;5-2;5-3;5-4;3-1-1-);"
1492 <<
1493   \context ChordNames {
1494     \chordmode {
1495       c1 c c
1496     }
1497   }
1498   \context FretBoards {
1499     <c e g c' e'>1
1500     \predefinedFretboardsOff
1501     <c e g c' e'>1
1502     \predefinedFretboardsOn
1503     <c e g c' e'>1
1504   }
1505   \context Staff {
1506     \clef "treble_8"
1507     <c e g c' e'>1
1508     <c e g c' e'>1
1509     <c e g c' e'>1
1510   }
1511 >>
1512 @end lilypond
1513
1514
1515 フレットボード算出機能が適切なダイアグラムを算出できないことがあります。@c
1516 これは、手動で音符を弦に割り当てることにより修復できることがあります。@c
1517 多くの場合、手動で割り当てる必要のある音符は 1 つだけです。@c
1518 その音符を手動で割り当てると、@c
1519 他の音符は @code{FretBoards} コンテキストにより適切に配置されます。
1520
1521 @cindex fret diagrams, adding fingerings (フレット ダイアグラムに運指を追加する)
1522 @cindex fingerings, adding to fret diagrams (フレット ダイアグラムに運指を追加する)
1523
1524 @code{FretBoard} フレット ダイアグラムに運指を追加することができます。
1525
1526 @lilypond[quote, verbatim]
1527 <<
1528   \context ChordNames {
1529     \chordmode {
1530       c1 d:m
1531     }
1532   }
1533   \context FretBoards {
1534     <c-3 e-2 g c'-1 e'>1
1535     <d a-2 d'-3 f'-1>1
1536   }
1537   \context Staff {
1538     \clef "treble_8"
1539     <c e g c' e'>1
1540     <d a d' f'>1
1541   }
1542 >>
1543 @end lilypond
1544
1545 @funindex minimumFret
1546
1547 @code{FretBoard} コンテキストの弦とフレットを算出する際に使用される@c
1548 最小フレットを @code{minimumFret} プロパティでセットすることができます。
1549 property.
1550
1551 @lilypond[quote, verbatim]
1552 <<
1553   \context ChordNames {
1554     \chordmode {
1555       d1:m d:m
1556     }
1557   }
1558   \context FretBoards {
1559     <d a d' f'>1
1560     \set FretBoards.minimumFret = #5
1561     <d a d' f'>1
1562   }
1563   \context Staff {
1564     \clef "treble_8"
1565     <d a d' f'>1
1566     <d a d' f'>1
1567   }
1568 >>
1569 @end lilypond
1570
1571 @code{TabStaff} コンテキストと同様に、@c
1572 @code{FretBoards} コンテキストの弦とフレットは
1573 @code{stringTunings} プロパティに依存します。@c
1574 @code{stringTunings} プロパティについての情報は、@c
1575 @ref{カスタム タブ譜} を参照してください。
1576
1577 @code{fret-diagram-interface} のプロパティを通じて、@c
1578 フレット ダイアグラムのグラフィカル レイアウトをユーザの好みに応じて@c
1579 カスタマイズすることができます。@c
1580 詳細は @rinternals{fret-diagram-interface} を参照してください。@c
1581 @code{FretBoards} フレット ダイアグラムののインターフェイス プロパティは@c
1582 @code{FretBoards.FretBoard} に属します。
1583
1584
1585 @predefined
1586 @code{\predefinedFretboardsOff},
1587 @code{\predefinedFretboardsOn}
1588 @endpredefined
1589
1590
1591 @seealso
1592 記譜法リファレンス:
1593 @ref{カスタム タブ譜}
1594
1595 コード断片集:
1596 @rlsr{Fretted strings}
1597
1598 内部リファレンス:
1599 @rinternals {fret-diagram-interface}
1600
1601 @knownissues
1602 自動フレットボード算出機能は、@c
1603 モノトーン チューニングではない楽器では適切に機能しません。
1604
1605
1606 @node 右手の運指
1607 @unnumberedsubsubsec 右手の運指
1608 @translationof Right-hand fingerings
1609
1610 @cindex fretted instruments, right hand fingerings (フレットのある楽器での右手の運指)
1611 @cindex fingerings, right hand for fretted instruments (フレットのある楽器での右手の運指)
1612 @cindex right hand fingerings for fretted instruments (フレットのある楽器での右手の運指)
1613
1614 @funindex rightHandFinger
1615 @funindex \rightHandFinger
1616
1617 右手の運指 @var{p-i-m-a} は、@c
1618 運指を楽譜の中に譜刻するために単一の音符に適用する場合であっても、@c
1619 和音構造 @code{<>} 内部で入力する必要があります。
1620
1621 @warning{@code{@bs{}rightHandFinger} の前にハイフンを、@c
1622 和音構造を閉じる @code{>} の前にスペースを挿入する @strong{必要があります}。}
1623
1624 @lilypond[quote,verbatim,relative=0]
1625 \clef "treble_8"
1626 <c-\rightHandFinger #1 >4
1627 <e-\rightHandFinger #2 >
1628 <g-\rightHandFinger #3 >
1629 <c-\rightHandFinger #4 >
1630 <c,-\rightHandFinger #1 e-\rightHandFinger #2
1631  g-\rightHandFinger #3 c-\rightHandFinger #4 >1
1632 @end lilypond
1633
1634 入力しやすくするために、@code{\rightHandFinger} を短縮することができます。
1635 例えば、@code{RH} に短縮します:
1636
1637 @example
1638 #(define RH rightHandFinger)
1639 @end example
1640
1641
1642 @snippets
1643
1644 @lilypondfile[verbatim,quote,texidoc,doctitle]
1645 {placement-of-right-hand-fingerings.ly}
1646
1647 @lilypondfile[verbatim,quote,texidoc,doctitle]
1648 {fingerings,-string-indications,-and-right-hand-fingerings.ly}
1649
1650
1651 @seealso
1652 コード断片集:
1653 @rlsr{Fretted strings}
1654
1655 内部リファレンス:
1656 @rinternals{StrokeFinger}
1657
1658
1659 @node ギター
1660 @subsection ギター
1661 @translationof Guitar
1662
1663 ギターに関する記譜の問題の大部分は、@c
1664 フレットのある楽器全般のセクションで十分にカバーされています。@c
1665 しかしながら、ここでは 2, 3 の価値のあることをカバーします。@c
1666 歌詞の上にコード指示を配置しただけの歌集タイプのドキュメントを@c
1667 作成したいと望むユーザが時々います。@c
1668 LilyPond は楽譜譜刻プログラムなので、@c
1669 音楽記譜を持たないドキュメントの作成には推奨できません。@c
1670 ワード プロセッサ、テキスト エディタ、@c
1671 経験のあるユーザであれば GuitarTeX のような譜刻プログラムの方が適しています。
1672
1673 @menu
1674 * ポジションとバレーの指示::
1675 * ハーモニクスとデッド ノートの指示::
1676 * パワー コードの指示::
1677 @end menu
1678
1679 @node ポジションとバレーの指示
1680 @unnumberedsubsubsec ポジションとバレーの指示
1681 @translationof Indicating position and barring
1682
1683 @cindex indicating position and barring for fretted instruments (フレットのある楽器でのポジションとバレーの指示)
1684 @cindex fretted instruments, indicating position and barring (フレットのある楽器でのポジションとバレーの指示)
1685
1686 以下の例は、楽譜にギターのポジションとバレーの指示を含める方法を示しています。
1687
1688 @lilypond[quote,ragged-right,verbatim,relative=0]
1689 \clef "treble_8"
1690 b16 d g b e
1691 \textSpannerDown
1692 \override TextSpanner #'(bound-details left text) = #"XII "
1693 g16\startTextSpan
1694 b16 e g e b g\stopTextSpan
1695 e16 b g d
1696 @end lilypond
1697
1698
1699 @seealso
1700 記譜法リファレンス:
1701 @ref{テキスト スパナ}
1702
1703 コード断片集:
1704 @rlsr{Fretted strings},
1705 @rlsr{Expressive marks}
1706
1707
1708 @node ハーモニクスとデッド ノートの指示
1709 @unnumberedsubsubsec ハーモニクスとデッド ノートの指示
1710 @translationof Indicating harmonics and dampened notes
1711
1712 @cindex fretted instruments, dampened notes (フレットのある楽器のデッド ノート)
1713 @cindex fretted instruments, harmonics (フレットのある楽器のハーモニクス)
1714 @cindex dampened notes on fretted instruments (フレットのある楽器のデッド ノート)
1715 @cindex harmonics on fretted instruments (フレットのある楽器のハーモニクス)
1716
1717 デッド ノートやハーモニクスを示すための特殊な符頭を使うことができます。@c
1718 通常、ハーモニクスにはテキスト マークアップによる説明も付け加えます。
1719
1720 @lilypond[quote,ragged-right,verbatim]
1721 \relative c' {
1722   \clef "treble_8"
1723   \override Staff.NoteHead #'style = #'harmonic-mixed
1724   d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
1725 }
1726 @end lilypond
1727
1728 デッド ノート (ゴースト ノートとも呼ばれます) が@c
1729 通常の譜とタブ譜でサポートされます:
1730
1731 @lilypond[quote,ragged-right,verbatim]
1732 music = \relative c' {
1733   < a\3 \deadNote c\2 a'\1 >4
1734   < b\3 \deadNote d\2 b'\1 >
1735   < c\3 \deadNote e\2 c'\1 >
1736   \deadNotesOn
1737   \times 2/3 { g8 b e }
1738   \deadNotesOff
1739   < a,\3 c\2 e\1 >1
1740 }
1741 \new StaffGroup <<
1742   \new Staff {
1743     \clef "treble_8"
1744     \music
1745   }
1746   \new TabStaff {
1747     \music
1748   }
1749 >>
1750 @end lilypond
1751
1752 もう 1 つの演奏テクニックに @notation{パーム ミュート}
1753 (特に、エレキ ギターで使用されます) があります。@c
1754 弦を弾く手の平で弦にミュートをかけます (訳者: 手の平=パーム(palm))。@c
1755 LilyPond は、符頭を三角形に変更することで、@c
1756 パーム ミュートの音符記譜をサポートします。
1757
1758 @c KEEP LY
1759 @lilypond[quote,ragged-right,verbatim]
1760 \new Voice { % 警告: 楽曲の先頭に palmMuteOn がある場合、
1761              % palmMuteOff を正しく機能させるには Voice を
1762              % 明示的にインスタンス化する必要があります。
1763   \relative c, {
1764     \clef "G_8"
1765     \palmMuteOn
1766     e8^\markup { \musicglyph #"noteheads.u2do"  = palm mute }
1767     < e b' e > e
1768     \palmMuteOff
1769     e e  \palmMute e e e |
1770     e8 \palmMute { e e e } e e e e |
1771     < \palmMute e b' e >8 \palmMute { e e e } < \palmMute e b' e >2
1772   }
1773 }
1774 @end lilypond
1775
1776 @seealso
1777 コード断片集:
1778 @rlsr{Fretted strings}
1779
1780 記譜法リファレンス:
1781 @ref{特殊な符頭},
1782 @ref{Note head styles}
1783
1784
1785 @node パワー コードの指示
1786 @unnumberedsubsubsec パワー コードの指示
1787 @translationof Indicating power chords
1788
1789 @funindex powerChords
1790 @funindex \powerChords
1791
1792 @cindex power chords (パワー コード)
1793 @cindex chords, power (パワー コード)
1794
1795 パワー コードのそのシンボルをコード モードの中、あるいは和音構造として@c
1796 譜刻することができます:
1797
1798 @lilypond[quote,ragged-right,verbatim]
1799 ChordsAndSymbols = {
1800   \chordmode {
1801     \powerChords
1802     e,,1:1.5
1803     a,,1:1.5.8
1804     \set minimumFret = #8
1805     c,1:1.5
1806     f,1:1.5.8
1807   }
1808   \set minimumFret = #5
1809   <a, e>1
1810   <g d' g'>1
1811 }
1812 \score {
1813   <<
1814     \new ChordNames {
1815     \ChordsAndSymbols
1816     }
1817     \new Staff {
1818       \clef "treble_8"
1819       \ChordsAndSymbols
1820     }
1821     \new TabStaff {
1822       \ChordsAndSymbols
1823     }
1824   >>
1825 }
1826 @end lilypond
1827
1828 パワー コードのシンボルは、@c
1829 他の一般的な和音修飾子が使用されると自動的に Off になります:
1830
1831 @lilypond[quote,ragged-right,verbatim]
1832 mixedChords = \chordmode {
1833   c,1
1834   \powerChords
1835   b,,1:1.5
1836   fis,,1:1.5.8
1837   g,,1:m
1838 }
1839 \score {
1840   <<
1841     \new ChordNames {
1842       \mixedChords
1843     }
1844     \new Staff {
1845       \clef "treble_8"
1846       \mixedChords
1847     }
1848     \new TabStaff {
1849       \mixedChords
1850     }
1851   >>
1852 }
1853 @end lilypond
1854
1855 @seealso
1856 音楽用語集:
1857 @rglos{power chord}
1858
1859 記譜法リファレンス:
1860 @ref{Extended and altered chords},
1861 @ref{Printing chord names}
1862
1863 コード断片集:
1864 @rlsr{Fretted strings}
1865
1866
1867 @node バンジョー
1868 @subsection バンジョー
1869 @translationof Banjo
1870
1871 @menu
1872 * バンジョーのタブ譜::
1873 @end menu
1874
1875 @node バンジョーのタブ譜
1876 @unnumberedsubsubsec バンジョーのタブ譜
1877 @translationof Banjo tablatures
1878
1879 @cindex banjo tablatures (バンジョーのタブ譜)
1880 @cindex tablature, banjo (バンジョーのタブ譜)
1881
1882 LilyPond は 5 弦バンジョーの基本的なサポートを提供します。@c
1883 5 弦バンジョーのタブ譜を作成するときは、@c
1884 5 番目の弦のフレット番号を正しく取得するために@c
1885 バンジョー タブ譜フォーマット関数を使用してください:
1886
1887 @c due to crazy intervals of banjo music, absolute pitch is recommended
1888
1889 @lilypond[quote,ragged-right,verbatim]
1890 \new TabStaff <<
1891   \set TabStaff.tablatureFormat = #fret-number-tablature-format-banjo
1892   \set TabStaff.stringTunings = #banjo-open-g-tuning
1893   {
1894     \stemDown
1895     g8 d' g'\5 a b g e d' |
1896     g4 d''8\5 b' a'\2 g'\5 e'\2 d' |
1897     g4
1898   }
1899 >>
1900 @end lilypond
1901
1902 @cindex banjo tunings (バンジョーのチューニング)
1903 @cindex tunings, banjo (バンジョーのチューニング)
1904
1905 @funindex banjo-c-tuning
1906 @funindex banjo-modal-tuning
1907 @funindex banjo-open-d-tuning
1908 @funindex banjo-open-dm-tuning
1909 @funindex four-string-banjo
1910
1911 5 弦バンジョーの一般的なチューニングのいくつかは、あらかじめ定義されています:
1912 @code{banjo-c-tuning} (gCGBD), @code{banjo-modal-tuning} (gDGCD),
1913 @code{banjo-open-d-tuning} (aDF#AD) それに @code{banjo-open-dm-tuning}
1914 (aDFAD) です。
1915
1916 @code{four-string-banjo} 関数を用いて、@c
1917 これらを 4 弦バンジョーのチューニングに変換することができます:
1918
1919 @example
1920 \set TabStaff.stringTunings = #(four-string-banjo banjo-c-tuning)
1921 @end example
1922
1923
1924 @seealso
1925 コード断片集:
1926 @rlsr{Fretted strings}
1927
1928 インストールされているファイル:
1929 @file{ly/string-tunings-init.ly}