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