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