]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/notation/fretted-strings.itely
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / Documentation / ja / notation / fretted-strings.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2 @ignore
3     Translation of GIT committish: d5647c5fd1c38d4124d2374725b923f4901f3661
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.16.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{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,relative=0]
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,relative=1]
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 c' {
172   a,8 a' <c e> a
173   d,8 a' <d f> a
174 }
175 @end lilypond
176
177 デフォルトのタブ譜は、音符の演奏時間や他の音楽記号
178 -- 例えば、表現記号など --
179 を保持しません。
180
181 @lilypond[quote,ragged-right,verbatim]
182 symbols = {
183   \time 3/4
184   c4-.^"Allegro" d( e)
185   f4-.\f g a^\fermata
186   \mark \default
187   c8_.\<\( c16 c~ c2\!
188   c'2.\prall\)
189 }
190
191 \score {
192   <<
193     \new Staff { \clef "G_8" \symbols }
194     \new TabStaff { \symbols }
195   >>
196 }
197 @end lilypond
198
199 @funindex \tabFullNotation
200
201 伝統的な記譜法で用いられるすべての音楽記号をタブ譜に表示させるには、@c
202 @code{TabStaff} コンテキスト内でコマンド @code{\tabFullNotation} を適用@c
203 する必要があります。@c
204 四分音符と区別するために、@c
205 半音符には 2 重線の符幹が付けられるということを覚えておいてください。
206
207 @lilypond[quote,ragged-right,verbatim]
208 symbols = {
209   \time 3/4
210   c4-.^"Allegro" d( e)
211   f4-.\f g a^\fermata
212   \mark \default
213   c8_.\<\( c16 c~ c2\!
214   c'2.\prall\)
215 }
216
217 \score {
218   \new TabStaff {
219     \tabFullNotation
220     \symbols
221   }
222 }
223 @end lilypond
224
225 @cindex fret
226
227 @funindex minimumFret
228 @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 { \override Voice.StringNumber #'stencil = ##f }
247 \new StaffGroup <<
248    \new Staff \relative c {
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 c {
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 c' {
282   r8 <gis-2 cis-3 b-0>~ q4 q8~ q 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 c' {
301   \repeat volta 2 {
302     e2. f4~
303     f2 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 c' {
341   \repeat volta 2 {
342     e2. f4~
343     f2 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 @cindex slides in tablature notation (タブ譜の記譜法でのスライド)
377 @cindex tablature and slides (タブ譜とスライド)
378 @cindex chord glissandi (和音のグリッサンド)
379 @funindex \harmonic
380 @funindex \harmonicByFret
381 @funindex \harmonicByRatio
382
383 ハーモニック指示を演奏するピッチとしてタブ譜に付け加えることができます:
384
385 @lilypond[verbatim,quote]
386 \layout { \override Voice.StringNumber #'stencil = ##f }
387 firstHarmonic = {
388   d'4\4\harmonic
389   g'4\3\harmonic
390   b'2\2\harmonic
391 }
392 \score {
393   <<
394     \new Staff { \firstHarmonic }
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 { \fretHarmonics }
418     \new TabStaff { \fretHarmonics }
419   >>
420 }
421 @end lilypond
422
423 上記の方法の代わりに、@c
424 ハーモニクスの運指に弦の長さの比率を指定することによって@c
425 ハーモニクスを算出させることもできます。
426
427 @lilypond[verbatim,quote]
428 ratioHarmonics = {
429   \harmonicByRatio #1/2 <g\3 b\2 e'\1>4
430   \harmonicByRatio #1/3 <g\3 b\2 e'\1>4
431   \harmonicByRatio #1/4 { g8\3 b8\2 e'4\1 }
432 }
433 \score {
434   <<
435     \new Staff { \ratioHarmonics }
436     \new TabStaff { \ratioHarmonics }
437   >>
438 }
439 @end lilypond
440
441 @snippets
442
443 @lilypondfile[verbatim,quote,texidoc,doctitle]
444 {stem-and-beam-behavior-in-tablature.ly}
445
446 @lilypondfile[verbatim,quote,texidoc,doctitle]
447 {polyphony-in-tablature.ly}
448
449 @lilypondfile[verbatim,quote,texidoc,doctitle]
450 {open-string-harmonics-in-tablature.ly}
451
452 @lilypondfile[verbatim,quote,texidoc,doctitle]
453 {fretted-string-harmonics-in-tablature.ly}
454
455 @lilypondfile[verbatim,quote,texidoc,doctitle]
456 {slides-in-tablature.ly}
457
458 @lilypondfile[verbatim,quote,texidoc,doctitle]
459 {chord-glissando-in-tablature.ly}
460
461 @seealso
462 記譜法リファレンス:
463 @ref{Chord repetition},
464 @ref{Glissando},
465 @ref{Harmonics},
466 @ref{Stems},
467 @ref{Written-out repeats}
468
469 コード断片集:
470 @rlsr{Fretted strings}
471
472 内部リファレンス:
473 @rinternals{TabNoteHead},
474 @rinternals{TabStaff},
475 @rinternals{TabVoice},
476 @rinternals{Beam}
477
478 @knownissues
479 和音は特殊な方法では処理できません。@c
480 そのため、自動弦セレクタは和音の中にある 2 つの音符に対して@c
481 同じ弦を選択することが容易に起こり得ます。
482
483 @code{\partcombine} を処理するには、@c
484 @code{TabStaff} は特別なやり方で作成されたボイスを使う必要があります:
485
486 @lilypond[quote,ragged-right,verbatim]
487 melodia = \partcombine { e4 g g g } { e4 e e e }
488 <<
489   \new TabStaff <<
490     \new TabVoice = "one" s1
491     \new TabVoice = "two" s1
492     \new TabVoice = "shared" s1
493     \new TabVoice = "solo" s1
494     { \melodia }
495   >>
496 >>
497 @end lilypond
498
499 ギターの特殊効果はハーモニクスとスライドに制限されています。
500
501
502 @node カスタム タブ譜
503 @unnumberedsubsubsec カスタム タブ譜
504 @translationof Custom tablatures
505
506 @cindex tablatures, custom (カスタム タブ譜)
507 @cindex tablature, banjo (バンジョー タブ譜)
508 @cindex tablature, mandolin (マンドリン タブ譜)
509 @cindex tablature, guitar (ギター タブ譜)
510 @cindex tablature, bass guitar (バス ギター タブ譜)
511 @cindex tablature, ukulele (ウクレレ タブ譜)
512 @cindex tablature, predefined string tunings (あらかじめ定義された弦チューニングのタブ譜)
513 @cindex fretted instruments, predefined string tunings (あらかじめ定義された弦チューニングのフレットのある楽器)
514 @cindex predefined string tunings for fretted instruments (フレットのある楽器のためにあらかじめ定義された弦チューニング)
515 @cindex tablature, violin (バイオリン タブ譜)
516 @cindex tablature, viola (ビオラ タブ譜)
517 @cindex tablature, cello (チェロ タブ譜)
518 @cindex tablature, bass (バス タブ譜)
519 @cindex tablature, double bass (ダブル バス タブ譜)
520
521 @funindex stringTunings
522
523 LilyPond のタブ譜は、音符に対するフレットを、@c
524 その音符が割り当てられている弦に基づいて、自動的に算出します。@c
525 フレットの算出を行うために、弦のチューニングを指定する必要があります。@c
526 弦のチューニングは @code{stringTunings} プロパティで指定します。
527
528 LilyPond にはあらかじめ定義された弦チューニングが用意されています
529 -- バンジョー、マンドリン、ギター、バス ギター、ウクレレ、バイオリン、@c
530 ビオラ、チェロ、それにダブル バス用があります。@c
531 LilyPond は、あらかじめ定義されたチューニングに対して、@c
532 適切な移調をセットします。@c
533 以下の例はバス ギター用であり、@c
534 記述されている音符よりも 1 オクターブ低く演奏されます。
535
536 @lilypond[quote,ragged-right,verbatim]
537 <<
538   \new Voice \with {
539     \override StringNumber #'stencil = ##f
540   } {
541     \clef "bass_8"
542     \relative c, {
543       c4 d e f
544     }
545   }
546   \new TabStaff \with {
547     stringTunings = #bass-tuning
548   } {
549     \relative c, {
550       c4 d e f
551     }
552   }
553 >>
554 @end lilypond
555
556 デフォルトの弦チューニングは @code{guitar-tuning} で、@c
557 これは標準の EADGBE チューニングです。@c
558 他のあらかじめ定義されたチューニングには、@c
559 @code{guitar-open-g-tuning}, @code{mandolin-tuning} それに
560 @code{banjo-open-g-tuning} があります。@c
561 あらかじめ定義された弦チューニングは @file{ly/string-tunings-init.ly} の中に@c
562 あります。
563
564 @funindex stringTunings
565 @funindex \stringTunings
566 @cindex tablature, custom string tunings (カスタム弦チューニングのタブ譜)
567 @cindex custom string tunings (カスタム弦チューニング)
568
569 望みに応じて任意の弦チューニングを作成することができます。@c
570 @code{\stringTuning} 関数を用いて弦チューニングを定義し、@c
571 カレント コンテキストの @code{stringTunings} としてセットすることができます。
572
573 @code{\stringTuning} の引数は、@c
574 チューニングにおける各弦のピッチを定義する和音構造です。@c
575 和音構造は絶対オクターブ モードにする必要があります
576 -- @ref{Absolute octave entry} を参照してください。@c
577 和音の中で、@c
578 一番大きな番号を持つ弦 (一般的に低い音の弦) が最初に来る必要があります。@c
579 例えば、@code{a''}, @code{d''}, @code{g'}, それに @code{c'} のピッチを持つ
580 4 弦の楽器用の弦チューニングを定義することができます:
581
582 @lilypond[quote,verbatim]
583
584 mynotes = {
585   c'4 e' g' c'' |
586   e''4 g'' b'' c'''
587 }
588
589 <<
590   \new Staff {
591     \clef treble
592     \mynotes
593   }
594   \new TabStaff {
595     \set Staff.stringTunings = \stringTuning <c' g' d'' a''>
596     \mynotes
597   }
598 >>
599 @end lilypond
600
601 @code{FretBoards} で @code{stringTunings} プロパティ用いることで、@c
602 自動的にフレット ダイアグラムを算出させることもできます。
603
604 弦チューニングは、@c
605 あらかじめ定義されたフレット ダイアグラムに対するハッシュ キーの一部@c
606 として使われます
607
608 上記の例を、以下のように書き換えることができます:
609
610 @lilypond[quote,verbatim]
611 custom-tuning = \stringTuning <c' g' d'' a''>
612
613 mynotes = {
614   c'4 e' g' c'' |
615   e''4 g'' b'' c'''
616 }
617
618 <<
619   \new Staff {
620     \clef treble
621     \mynotes
622   }
623   \new TabStaff {
624     \set TabStaff.stringTunings = #custom-tuning
625     \mynotes
626   }
627 >>
628 @end lilypond
629
630 内部的には、弦チューニングは弦ピッチの Scheme リストです
631 -- それぞれの弦ピッチは各弦に対するピッチで、@c
632 弦番号 1 から N の順に並んでいて、@c
633 弦 1 はタブ譜の最上段、弦 N はタブ譜の最下段となります。@c
634 通常、このリストは高いピッチから低いピッチの順になりますが、@c
635 いくつかの楽器 (例えば、ウクレレ) の弦はピッチの高低順に並んでいません。@c
636
637 弦チューニング リストの中の弦ピッチは 1 つ 1 つが
638 LilyPond ピッチ オブジェクトです。@c
639 ピッチ オブジェクトは Scheme 関数 @code{ly:make-pitch}
640 (@ref{Scheme functions} を参照してください) で作成されます。@c
641
642 @code{\stringTuning} は和音構造から弦チューニング リストを作成します。
643
644 LilyPond は、@code{TabStaff} の行数と自動的に算出される @code{FretBoard} の弦数
645 (これは @code{stringTunings} の要素数です) を自動的に算出します。
646
647 すべての @code{TabStaff} コンテキストに同じカスタム チューニングを@c
648 適用するには、@c
649 下記のようにします:
650
651 @example
652 \layout @{
653   \context @{
654     \TabStaff
655     stringTunings = \stringTuning \notemode @{ <c' g' d'' a''> @}
656   @}
657 @}
658 @end example
659
660
661 @cindex moderntab clef (現代タブ譜の音部記号)
662 @cindex clef, moderntab (現代タブ譜の音部記号)
663 @cindex clef, tab (タブ譜の音部記号)
664 @cindex tab clef (タブ譜の音部記号)
665
666 現代タブ譜の音部記号を使うこともできます。
667
668 @lilypond[quote,ragged-right,verbatim]
669 \new TabStaff {
670   \clef moderntab
671   <a, e a>1
672   \break
673   \clef tab
674   <a, e a>1
675 }
676 @end lilypond
677
678 現代タブ譜の音部記号は、4 から 7 弦までのタブ譜をサポートします。
679
680 @seealso
681 記譜法リファレンス:
682 @ref{Absolute octave entry},
683 @ref{Predefined fret diagrams},
684 @ref{Scheme functions}
685
686 インストールされているファイル:
687 @file{ly/string-tunings-init.ly}
688 @file{scm/tablature.scm}
689
690 コード断片集:
691 @rlsr{Fretted strings}
692
693 内部リファレンス:
694 @rinternals{Tab_note_heads_engraver}
695
696 @knownissues
697 ウクレレなどのように弦がピッチ順に並んでいない楽器では、大抵の場合、
698 タブ譜の自動算出は正しく機能しません。
699
700
701 @node フレット ダイアグラム マークアップ
702 @unnumberedsubsubsec フレット ダイアグラム マークアップ
703 @translationof Fret diagram markups
704
705 @cindex fret diagrams (フレット ダイアグラム)
706 @cindex chord diagrams (コード ダイアグラム)
707 @cindex diagrams, fret (フレット ダイアグラム)
708 @cindex diagrams, chord for fretted instruments (フレットのある楽器のためのコード ダイアグラム)
709 @cindex fret diagrams, custom (カスタム フレット ダイアグラム)
710 @cindex custom fret diagrams (カスタム フレット ダイアグラム)
711
712 フレット ダイアグラムを注釈のマークアップとして楽譜に追加することができます。@c
713 このマークアップは記譜するフレット ダイアグラムについての情報を保持します。@c
714 fret-diagram マークアップ インターフェイスは 3 種類あります:
715 標準、簡易、それに冗長です。@c
716 これら 3 種類のインターフェイスが作り出すマークアップは等価ですが、@c
717 そのマークアップ文字列が持つ情報量は異なります。@c
718 フレット ダイアグラムを定義するのに用いられるマークアップ文字列の文法@c
719 についての詳細は、@ref{Instrument Specific Markup} を参照してください。
720
721 標準フレット ダイアグラムのマークアップ文字列は、@c
722 弦の上に配置されるドットの弦番号とフレット番号を示します。@c
723 さらに、開放弦と消音 (ミュート) 弦を示すこともできます。
724
725 @lilypond[quote, verbatim]
726 <<
727   \context ChordNames {
728     \chordmode {
729       c1 d:m
730     }
731   }
732   \context Staff {
733     \clef "treble_8"
734     <c e g c' e'>1^\markup {
735       \fret-diagram #"6-x;5-3;4-2;3-o;2-1;1-o;"
736     }
737     <d a d' f'>1^\markup {
738       \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-1;"
739     }
740   }
741 >>
742 @end lilypond
743
744 @cindex barre indications (バレー指示)
745
746 fret-diagram マークアップ文字列のダイアグラムに、@c
747 バレー指示を追加することができます。
748
749 @lilypond[quote, verbatim]
750 <<
751   \context ChordNames {
752      \chordmode {
753        f1 g
754      }
755   }
756   \context Staff {
757     \clef "treble_8"
758     <f, c f a c' f'>1^\markup {
759       \fret-diagram #"c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
760     }
761     <g, d g b d' g'>1^\markup {
762       \fret-diagram #"c:6-1-3;6-3;5-5;4-5;3-4;2-3;1-3;"
763     }
764   }
765 >>
766 @end lilypond
767
768 @cindex fret-diagram markup (フレット ダイアグラムのマークアップ)
769 @cindex ukulele (ウクレレ)
770
771 @funindex fret-diagram
772 @funindex \fret-diagram
773
774 フレット ダイアグラムのサイズ、それにダイアグラムの中のフレット数を@c
775 fret-diagram マークアップ文字列の中で変更することができます。
776
777 @lilypond[quote, verbatim]
778 <<
779   \context ChordNames {
780      \chordmode {
781        f1 g
782      }
783   }
784   \context Staff {
785     \clef "treble_8"
786     <f, c f a c' f'>1^\markup {
787       \fret-diagram #"s:1.5;c:6-1-1;6-1;5-3;4-3;3-2;2-1;1-1;"
788     }
789     <g, b, d g b g'>1^\markup {
790       \fret-diagram #"h:6;6-3;5-2;4-o;3-o;2-o;1-3;"
791     }
792   }
793 >>
794 @end lilypond
795
796 バンジョーやウクレレなどの弦数に合わせて、@c
797 fret-diagram マークアップ文字列で@c
798 フレット ダイアグラムの弦数を変更することができます。
799
800 @c KEEP LY
801 @lilypond[quote, verbatim]
802 <<
803   \context ChordNames {
804     \chordmode {
805       a1
806     }
807   }
808   \context Staff {
809     % ウクレレの 'A' コード
810     a'1^\markup {
811       \fret-diagram #"w:4;4-2-2;3-1-1;2-o;1-o;"
812     }
813   }
814 >>
815 @end lilypond
816
817 fret-diagram マークアップ文字列で運指の指示を追加して、@c
818 配置を制御することができます。
819
820 @lilypond[quote, verbatim]
821 <<
822   \context ChordNames {
823     \chordmode {
824       c1 d:m
825     }
826   }
827   \context Staff {
828     \clef "treble_8"
829     <c e g c' e'>1^\markup {
830       \fret-diagram #"f:1;6-x;5-3-3;4-2-2;3-o;2-1-1;1-o;"
831     }
832     <d a d' f'>1^\markup {
833       \fret-diagram #"f:2;6-x;5-x;4-o;3-2-2;2-3-3;1-1-1;"
834     }
835   }
836 >>
837 @end lilypond
838
839 fret-diagram マークアップ文字列でドットの大きさと位置を制御することができます。
840
841 @lilypond[quote, verbatim]
842 <<
843   \context ChordNames {
844     \chordmode {
845       c1 d:m
846     }
847   }
848   \context Staff {
849     \clef "treble_8"
850     <c e g c' e'>1^\markup {
851       \fret-diagram #"d:0.35;6-x;5-3;4-2;3-o;2-1;1-o;"
852     }
853     <d a d' f'>1^\markup {
854       \fret-diagram #"p:0.2;6-x;5-x;4-o;3-2;2-3;1-1;"
855     }
856   }
857 >>
858 @end lilypond
859
860 @cindex fret-diagram-terse markup (fret-diagram-terse マークアップ)
861
862 @funindex fret-diagram-terse
863 @funindex \fret-diagram-terse
864
865 fret-diagram-terse マークアップ文字列は弦番号を省略します。@c
866 弦番号はセミコロンで示します。@c
867 ダイアグラムの弦毎にセミコロンを記述します。@c
868 最初のセミコロンは最高の弦番号に対応し、@c
869 最後のセミコロンは第 1 弦に対応します。@c
870 消音弦、開放弦、それにフレット番号を示すことができます。
871
872 @lilypond[quote, verbatim]
873 <<
874   \context ChordNames {
875     \chordmode {
876       c1 d:m
877     }
878   }
879   \context Staff {
880     \clef "treble_8"
881     <c e g c' e'>1^\markup {
882       \fret-diagram-terse #"x;3;2;o;1;o;"
883     }
884     <d a d' f'>1^\markup {
885       \fret-diagram-terse #"x;x;o;2;3;1;"
886     }
887   }
888 >>
889 @end lilypond
890
891 fret-diagram-terse マークアップ文字列にバレー指示を含めることができます。
892
893 @lilypond[quote, verbatim]
894 <<
895   \context ChordNames {
896     \chordmode {
897       f1 g
898     }
899   }
900   \context Staff {
901     \clef "treble_8"
902     <f, c f a c' f'>1^\markup {
903       \fret-diagram-terse #"1-(;3;3;2;1;1-);"
904     }
905     <g, d g b d' g'>1^\markup {
906       \fret-diagram-terse #"3-(;5;5;4;3;3-);"
907     }
908   }
909 >>
910 @end lilypond
911
912 fret-diagram-terse マークアップ文字列に運指の指示を含めることができます。
913
914 @c Need to use override to enable fingerings to show this -- can we do so?
915 @lilypond[quote, verbatim]
916 <<
917   \context ChordNames {
918     \chordmode {
919       c1 d:m
920     }
921   }
922   \context Staff {
923     \override Voice.TextScript
924       #'(fret-diagram-details finger-code) = #'below-string
925     \clef "treble_8"
926     <c e g c' e'>1^\markup {
927       \fret-diagram-terse #"x;3-3;2-2;o;1-1;o;"
928     }
929     <d a d' f'>1^\markup {
930       \fret-diagram-terse #"x;x;o;2-2;3-3;1-1;"
931     }
932   }
933 >>
934 @end lilypond
935
936 fret-diagram-terse マークアップを使っている時、@c
937 他のフレット ダイアグラム プロパティの調節には
938 @code{\override} を用いる必要があります。
939
940 @cindex fret-diagram-verbose markup (fret-diagram-verbose マークアップ)
941 @cindex capo (カポ)
942
943 @funindex fret-diagram-verbose
944 @funindex \fret-diagram-verbose
945
946 fret-diagram-verbose マークアップ文字列のフォーマットは Scheme リストです。@c
947 リストの各要素はフレット ダイアグラム上に配置する要素を示しています。
948
949 @lilypond[quote, verbatim]
950 <<
951     \context ChordNames {
952       \chordmode {
953         c1 d:m
954       }
955     }
956   \context Staff {
957     \clef "treble_8"
958     <c e g c' e'>1^\markup {
959       \fret-diagram-verbose #'(
960         (mute 6)
961         (place-fret 5 3)
962         (place-fret 4 2)
963         (open 3)
964         (place-fret 2 1)
965         (open 1)
966       )
967     }
968     <d a d' f'>1^\markup {
969       \fret-diagram-verbose #'(
970         (mute 6)
971         (mute 5)
972         (open 4)
973         (place-fret 3 2)
974         (place-fret 2 3)
975         (place-fret 1 1)
976       )
977     }
978   }
979 >>
980 @end lilypond
981
982 fret-diagram-verbose マークアップ文字列に運指の指示とバレー指示を@c
983 含めることができます。@c
984 fret-diagram-verbose インターフェイスに特有なこととして、
985 カポ指示をフレット ダイアグラム上に配置することができます。@c
986 カポ指示はすべての弦に重なる太い線です。@c
987 カポを持つフレットは、フレット ダイアグラムの中の最も低いフレットです。
988
989 @c \override is necessary to make fingering visible
990 @lilypond[quote, verbatim]
991 <<
992     \context ChordNames {
993       \chordmode {
994         f1 g c
995       }
996     }
997   \context Staff {
998     \clef "treble_8"
999     \override Voice.TextScript
1000       #'(fret-diagram-details finger-code) = #'below-string
1001     <f, c f a c' f'>1^\markup {
1002       \fret-diagram-verbose #'(
1003         (place-fret 6 1)
1004         (place-fret 5 3)
1005         (place-fret 4 3)
1006         (place-fret 3 2)
1007         (place-fret 2 1)
1008         (place-fret 1 1)
1009         (barre 6 1 1)
1010       )
1011     }
1012     <g, b, d g b g'>1^\markup {
1013       \fret-diagram-verbose #'(
1014         (place-fret 6 3 2)
1015         (place-fret 5 2 1)
1016         (open 4)
1017         (open 3)
1018         (open 2)
1019         (place-fret 1 3 3)
1020       )
1021     }
1022     <c e g c' e'>1^\markup {
1023       \fret-diagram-verbose #'(
1024         (capo 3)
1025         (mute 6)
1026         (place-fret 4 5 1)
1027         (place-fret 3 5 2)
1028         (place-fret 2 5 3)
1029       )
1030     }
1031   }
1032 >>
1033 @end lilypond
1034
1035 fret-diagram-verbose マークアップを使っている時、@c
1036 他のフレット ダイアグラム プロパティの調節には
1037 @code{\override} を用いる必要があります。
1038
1039
1040 @ignore
1041 The following example shows the three fret-diagram markup
1042 interfaces, along with examples of common tweaks.  For example,
1043 the size of the verbose fret diagram is reduced to 0.75, and the
1044 finger indications are specified to appear below the diagram.  The
1045 terse diagram includes tweaks to specify placement of finger code
1046 and color of dots.
1047
1048 @lilypond[verbatim,ragged-right,quote]
1049 \new Voice {
1050   \clef "treble_8"
1051   d4^\markup {
1052     \fret-diagram #"6-x;5-x;4-o;3-2;2-3;1-2;"
1053   }
1054   d4 d d
1055   fis^\markup {
1056     \override #'(size . 0.75) {
1057       \override #'(finger-code . below-string) {
1058         \fret-diagram-verbose #'((place-fret 6 2 1) (barre 6 1 2)
1059                                  (place-fret 5 4 3)
1060                                  (place-fret 4 4 4)
1061                                  (place-fret 3 3 2)
1062                                  (place-fret 2 2 1)
1063                                  (place-fret 1 2 1))
1064       }
1065     }
1066   }
1067   fis4 fis fis
1068   c^\markup {
1069     \override #'(dot-radius . 0.35) {
1070       \override #'(finger-code . in-dot) {
1071         \override #'(dot-color . white) {
1072           \fret-diagram-terse #"x;3-1-(;5-2;5-3;5-4;3-1-);"
1073         }
1074       }
1075     }
1076   }
1077   c4 c c
1078 }
1079 @end lilypond
1080 @end ignore
1081
1082 @cindex customized fret diagram (カスタマイズされたフレット ダイアグラム)
1083 @cindex fret diagram, customized (カスタマイズされたフレット ダイアグラム)
1084 @cindex diagram, fret, customized (カスタマイズされたフレット ダイアグラム)
1085
1086 @funindex fret-diagram-interface
1087
1088 ユーザの好みに応じて、@c
1089 @code{fret-diagram-interface} プロパティで@c
1090 フレット ダイアグラムのグラフィック レイアウトをカスタマイズすることが可能です。
1091 詳細は、@rinternals{fret-diagram-interface} を参照してください。@c
1092 フレット ダイアグラム マークアップ用のインターフェイス プロパティは
1093 @code{Voice.TextScript} に属します。
1094
1095 @snippets
1096
1097 @lilypondfile[verbatim,quote,texidoc,doctitle]
1098 {changing-fret-orientations.ly}
1099
1100 @lilypondfile[verbatim,quote,texidoc,doctitle]
1101 {customizing-markup-fret-diagrams.ly}
1102
1103 @seealso
1104 記譜法リファレンス:
1105 @ref{Instrument Specific Markup}
1106
1107 コード断片集:
1108 @rlsr{Fretted strings}
1109
1110 内部リファレンス:
1111 @rinternals{fret-diagram-interface}
1112
1113
1114 @node あらかじめ定義されたフレット ダイアグラム
1115 @unnumberedsubsubsec あらかじめ定義されたフレット ダイアグラム
1116 @translationof Predefined fret diagrams
1117
1118 @cindex fret diagrams (フレット ダイアグラム)
1119 @cindex fret diagrams, ukulele (ウクレレのフレット ダイアグラム)
1120 @cindex fret diagrams, mandolin (マンドリンのフレット ダイアグラム)
1121 @cindex chord diagrams (コード ダイアグラム)
1122
1123 @funindex FretBoards
1124 @funindex stringTunings
1125
1126 フレット ダイアグラムを @code{FretBoards} コンテキストを用いて表示させる@c
1127 ことができます。@c
1128 デフォルトでは、 @code{FretBoards} コンテキストは@c
1129 参照テーブルに保存されいているフレット ダイアグラムを表示します:
1130
1131 @lilypond[verbatim, ragged-right, quote]
1132 \include "predefined-guitar-fretboards.ly"
1133 \context FretBoards {
1134   \chordmode {
1135     c1 d
1136   }
1137 }
1138 @end lilypond
1139
1140 あらかじめ定義されたフレット ダイアグラムのデフォルトは
1141 ファイル @file{predefined-guitar-fretboards.ly} の中にあります。
1142 フレット ダイアグラムは、@c
1143 コードのピッチと現在使われている @code{stringTunings} の値@c
1144 に基づいて保存されます。@c
1145 @file{predefined-guitar-fretboards.ly} が保持している@c
1146 あらかじめ定義されたフレット ダイアグラムは、ギター用だけです。@c
1147 @file{predefined-guitar-fretboards.ly} の中にある例に従って、@c
1148 他の楽器あるいは他のチューニング用の@c
1149 あらかじめ定義されたフレット ダイアグラムを追加することができます。
1150
1151 ウクレレ用のフレット ダイアグラムはファイル
1152 @file{predefined-ukulele-fretboards.ly} の中にあります。
1153
1154 @lilypond[verbatim, ragged-right, quote]
1155 \include "predefined-ukulele-fretboards.ly"
1156
1157 myChords = \chordmode { a1 a:m a:aug }
1158
1159 \new ChordNames {
1160   \myChords
1161 }
1162
1163 \new FretBoards {
1164   \set Staff.stringTunings = #ukulele-tuning
1165   \myChords
1166 }
1167 @end lilypond
1168
1169 マンドリン用のフレット ダイアグラムはファイル
1170 @file{predefined-mandolin-fretboards.ly} の中にあります。
1171
1172 @lilypond[verbatim, ragged-right, quote]
1173 \include "predefined-mandolin-fretboards.ly"
1174
1175 myChords = \chordmode { c1 c:m7.5- c:aug }
1176
1177 \new ChordNames {
1178   \myChords
1179 }
1180
1181 \new FretBoards {
1182   \set Staff.stringTunings = #mandolin-tuning
1183   \myChords
1184 }
1185 @end lilypond
1186
1187 コードのピッチを入力する方法は、同時進行する音楽として入力するか、@c
1188 コード モード (@ref{Chord mode overview} を参照してください)
1189 を用いて入力するかのどちらかです。
1190
1191 @lilypond[verbatim, ragged-right,quote]
1192 \include "predefined-guitar-fretboards.ly"
1193 \context FretBoards {
1194   \chordmode { c1 }
1195   <c' e' g'>1
1196 }
1197 @end lilypond
1198
1199 @cindex chord names with fret diagrams
1200 @cindex fret diagrams with chord names
1201
1202 @funindex ChordNames
1203 @funindex chordmode
1204 @funindex \chordmode
1205
1206 コード ネームとフレット ダイアグラムを一緒に表示させることが@c
1207 一般的に行われます。@c
1208 これを実現するには、@c
1209 @code{ChordNames} コンテキストを @code{FretBoards} コンテキストと並列に@c
1210 配置して、@c
1211 両方のコンテキストに同じ音楽を与えます。
1212
1213 @lilypond[verbatim, ragged-right, quote]
1214 \include "predefined-guitar-fretboards.ly"
1215 mychords = \chordmode{
1216   c1 f g
1217 }
1218
1219 <<
1220   \context ChordNames {
1221     \mychords
1222   }
1223   \context FretBoards {
1224     \mychords
1225   }
1226 >>
1227 @end lilypond
1228
1229 @cindex transposing fret diagrams (フレット ダイアグラムを移調させる)
1230 @cindex fret diagrams, transposing (フレット ダイアグラムを移調させる)
1231 @cindex diagrams, fret, transposing (フレット ダイアグラムを移調させる)
1232
1233 あらかじめ定義されたフレット ダイアグラムは、c
1234 移調されたコードに対するダイアグラムがフレット ダイアグラム テーブルに@c
1235 保存されていれば、移調可能です。
1236
1237 @lilypond[verbatim, ragged-right, quote]
1238 \include "predefined-guitar-fretboards.ly"
1239 mychords = \chordmode{
1240   c1 f g
1241 }
1242
1243 mychordlist = {
1244   \mychords
1245   \transpose c e { \mychords }
1246 }
1247 <<
1248   \context ChordNames {
1249     \mychordlist
1250   }
1251   \context FretBoards {
1252     \mychordlist
1253   }
1254 >>
1255 @end lilypond
1256
1257
1258 ギター用のあらかじめ定義されたフレット ダイアグラム テーブルは、@c
1259 17 キーのそれぞれに対して 8 つのコード
1260 (major, minor, augmented, diminished, dominant seventh, major seventh,
1261 minor seventh, dominant ninth)
1262 を保持しています。@c
1263 ウクレレ用のあらかじめ定義されたフレット ダイアグラム テーブルは、@c
1264 上記のコードに加えて、3 つのコード
1265 (major sixth, suspended second, それに suspended fourth)
1266 を保持しています。@c
1267 あらかじめ定義されたフレット ダイアグラムの完全なリストは
1268 @ref{Predefined fretboard diagrams} で示されています。@c
1269 テーブルにエントリされていないコードがある場合、@c
1270 FretBoards エングラーバは @ref{Automatic fret diagrams} で説明する@c
1271 自動フレット ダイアグラム機能を用いて fret-diagram を算出します。
1272
1273 @lilypond[verbatim, ragged-right, quote]
1274 \include "predefined-guitar-fretboards.ly"
1275 mychords = \chordmode{
1276   c1 c:maj9
1277 }
1278
1279 <<
1280   \context ChordNames {
1281     \mychords
1282   }
1283   \context FretBoards {
1284     \mychords
1285   }
1286 >>
1287 @end lilypond
1288
1289 @cindex fret diagrams, adding custom (カスタム フレット ダイアグラムを追加する)
1290 @cindex custom fret diagrams, adding (カスタム フレット ダイアグラムを追加する)
1291 @cindex adding custom fret diagrams (カスタム フレット ダイアグラムを追加する)
1292
1293 フレット ダイアグラムをフレット ダイアグラム テーブルに@c
1294 追加することができます。@c
1295 ダイアグラムを追加するには、ダイアグラムのハッシュ テーブル、@c
1296 ダイアグラムのコード、使用するチューニング、それにダイアグラムの定義を@c
1297 指定する必要があります。@c
1298 通常、ハッシュ テーブルは @var{default-fret-table} です。@c
1299 ダイアグラムの定義は @code{fret-diagram-terse} 定義文字列または@c
1300 @code{fret-diagram-verbose} マーキング リストのどちらかです。
1301
1302 @lilypond[verbatim, ragged-right, quote]
1303 \include "predefined-guitar-fretboards.ly"
1304
1305 \storePredefinedDiagram #default-fret-table
1306                         \chordmode { c:maj9 }
1307                         #guitar-tuning
1308                         #"x;3-2;o;o;o;o;"
1309
1310 mychords = \chordmode {
1311   c1 c:maj9
1312 }
1313
1314 <<
1315   \context ChordNames {
1316     \mychords
1317   }
1318   \context FretBoards {
1319     \mychords
1320   }
1321 >>
1322 @end lilypond
1323
1324 ピッチのオクターブを変えることで、@c
1325 同じコード ネームに対して異なるフレット ダイアグラムを保存することができます。@c
1326 オクターブを変える場合は、@c
1327 デフォルトのオクターブに対して少なくとも 2 オクターブ@c
1328 上げるか下げる必要があります。@c
1329 デフォルトの 1 オクターブ上または下のオクターブは、@c
1330 フレットボードの移調に使用されるためです。
1331
1332 @lilypond[verbatim, ragged-right, quote]
1333 \include "predefined-guitar-fretboards.ly"
1334
1335 \storePredefinedDiagram #default-fret-table
1336                         \chordmode { c'' }
1337                         #guitar-tuning
1338                         #(offset-fret 2 (chord-shape 'bes guitar-tuning))
1339
1340 mychords = \chordmode {
1341   c1 c''
1342 }
1343
1344 <<
1345   \context ChordNames {
1346     \mychords
1347   }
1348   \context FretBoards {
1349     \mychords
1350   }
1351 >>
1352 @end lilypond
1353
1354 @cindex fretted instruments, chord shapes (フレットのある楽器のコード シェイプ)
1355 @cindex chord shapes for fretted instruments (フレットのある楽器のコード シェイプ)
1356
1357 @funindex \addChordShape
1358 @funindex addChordShape
1359 @funindex storePredefinedDiagram
1360 @funindex \storePredefinedDiagram
1361
1362 @ignore
1363 LilyPond はフレット ダイアグラムに加えて、@c
1364 コード シェイプの内部リストを保存します。@c
1365 @end ignore
1366
1367 @c 未訳
1368 In addition to fret diagrams, LilyPond stores an internal list of chord
1369 shapes.  The chord shapes are fret diagrams that can be shifted along
1370 the neck to different positions to provide different chords.  Chord
1371 shapes can be added to the internal list and then used to define
1372 predefined fret diagrams.  Because they can be moved to various
1373 positions on the neck, chord shapes will normally not contain
1374 any open strings.  Like fret diagrams, chord shapes can be
1375 entered as either fret-diagram-terse strings or fret-diagram-verbose
1376 marking lists.
1377
1378 @lilypond[verbatim, ragged-right, quote]
1379 \include "predefined-guitar-fretboards.ly"
1380
1381 % Add a new chord shape
1382
1383 \addChordShape #'powerf #guitar-tuning #"1-1;3-3;3-4;x;x;x;"
1384
1385 % add some new chords based on the power chord shape
1386
1387 \storePredefinedDiagram #default-fret-table
1388                         \chordmode { f'' }
1389                         #guitar-tuning
1390                         #(chord-shape 'powerf guitar-tuning)
1391 \storePredefinedDiagram #default-fret-table
1392                         \chordmode { g'' }
1393                         #guitar-tuning
1394                         #(offset-fret 2 (chord-shape 'powerf guitar-tuning))
1395
1396 mychords = \chordmode{
1397   f1 f'' g g''
1398 }
1399
1400 <<
1401   \context ChordNames {
1402     \mychords
1403   }
1404   \context FretBoards {
1405     \mychords
1406   }
1407 >>
1408 @end lilypond
1409
1410 @code{fret-diagram-interface} のプロパティを通じて、@c
1411 フレット ダイアグラムのグラフィカル レイアウトをユーザの好みに応じて@c
1412 カスタマイズすることができます。@c
1413 詳細は @rinternals{fret-diagram-interface} を参照してください。@c
1414 あらかじめ定義されたフレット ダイアグラムのインターフェイス プロパティは@c
1415 @code{FretBoards.FretBoard} に属します。
1416
1417 @snippets
1418
1419 @lilypondfile[verbatim,quote,texidoc,doctitle]
1420 {customizing-fretboard-fret-diagrams.ly}
1421
1422 @lilypondfile[verbatim,quote,texidoc,doctitle]
1423 {defining-predefined-fretboards-for-other-instruments.ly}
1424
1425 @lilypondfile[verbatim,quote,texidoc,doctitle]
1426 {chordchanges-for-fretboards.ly}
1427
1428 @lilypondfile[verbatim,quote,texidoc,doctitle]
1429 {fretboards-alternate-tables.ly}
1430
1431 @seealso
1432 記譜法リファレンス:
1433 @ref{Custom tablatures},
1434 @ref{Automatic fret diagrams},
1435 @ref{Chord mode overview},
1436 @ref{Predefined fretboard diagrams}
1437
1438 インストールされているファイル:
1439 @file{ly/predefined-guitar-fretboards.ly}, @*
1440 @file{ly/predefined-guitar-ninth-fretboards.ly}, @*
1441 @file{ly/predefined-ukulele-fretboards.ly}, @*
1442 @file{ly/predefined-mandolin-fretboards.ly}
1443
1444 コード断片集:
1445 @rlsr{Fretted strings}
1446
1447 内部リファレンス:
1448 @rinternals {fret-diagram-interface}
1449
1450
1451 @node 自動フレット ダイアグラム
1452 @unnumberedsubsubsec 自動フレット ダイアグラム
1453 @translationof Automatic fret diagrams
1454
1455 @cindex fret diagrams, automatic (自動フレット ダイアグラム)
1456 @cindex chord diagrams, automatic (自動コード ダイアグラム)
1457 @cindex automatic fret diagrams (自動フレット ダイアグラム)
1458 @cindex automatic chord diagrams (自動コード ダイアグラム)
1459
1460 @code{FretBoards} コンテキストを用いて、@c
1461 入力された音符からフレット ダイアグラムを自動的に作成することができます。@c
1462 アクティブな @code{stringTunings} で入力された音符に対して@c
1463 あらかじめ定義されたダイアグラムが用意されていない場合、@c
1464 このコンテキストはその音符を演奏するために使用する弦とフレットを算出します。
1465
1466 @lilypond[quote,ragged-right,verbatim]
1467 <<
1468   \context ChordNames {
1469     \chordmode {
1470       f1 g
1471     }
1472   }
1473   \context FretBoards {
1474     <f, c f a c' f'>1
1475     <g,\6 b, d g b g'>1
1476   }
1477   \context Staff {
1478     \clef "treble_8"
1479     <f, c f a c' f'>1
1480     <g, b, d g b' g'>1
1481   }
1482 >>
1483 @end lilypond
1484
1485 @funindex predefinedFretboardsOff
1486 @funindex \predefinedFretboardsOff
1487 @funindex predefinedFretboardsOn
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 @funindex \rightHandFinger
1623
1624 右手の運指 @var{p-i-m-a} は後に数字が続く @code{\rightHandFinger} を用いて@c
1625 入力する必要があります。
1626
1627 @warning{Scheme 表記で数字を入力する場合、数字の後にくるもの (閉じ括弧 @code{>}
1628 等であっても) の前にスペースを置くことを忘れないで下さい。}
1629
1630 @lilypond[quote,verbatim,relative=0]
1631 \clef "treble_8"
1632 c4\rightHandFinger #1
1633 e\rightHandFinger #2
1634 g\rightHandFinger #3
1635 c\rightHandFinger #4
1636 <c,\rightHandFinger #1 e\rightHandFinger #2
1637  g\rightHandFinger #3 c\rightHandFinger #4 >1
1638 @end lilypond
1639
1640 入力しやすくするために、@code{\rightHandFinger} を短縮することができます。
1641 例えば、@code{RH} に短縮します:
1642
1643 @example
1644 RH=#rightHandFinger
1645 @end example
1646
1647
1648 @snippets
1649
1650 @lilypondfile[verbatim,quote,texidoc,doctitle]
1651 {placement-of-right-hand-fingerings.ly}
1652
1653 @lilypondfile[verbatim,quote,texidoc,doctitle]
1654 {fingerings,-string-indications,-and-right-hand-fingerings.ly}
1655
1656 @seealso
1657 コード断片集:
1658 @rlsr{Fretted strings}
1659
1660 内部リファレンス:
1661 @rinternals{StrokeFinger}
1662
1663
1664 @node ギター
1665 @subsection ギター
1666 @translationof Guitar
1667
1668 ギターに関する記譜の問題の大部分は、@c
1669 フレットのある楽器全般のセクションで十分にカバーされています。@c
1670 しかしながら、ここでは 2, 3 の価値のあることをカバーします。@c
1671 歌詞の上にコード指示を配置しただけの歌集タイプのドキュメントを@c
1672 作成したいと望むユーザが時々います。@c
1673 LilyPond は楽譜譜刻プログラムなので、@c
1674 音楽記譜を持たないドキュメントの作成には推奨できません。@c
1675 ワード プロセッサ、テキスト エディタ、@c
1676 経験のあるユーザであれば GuitarTeX のような譜刻プログラムの方が適しています。
1677
1678 @menu
1679 * ポジションとバレーの指示::
1680 * ハーモニクスとデッド ノートの指示::
1681 * パワー コードの指示::
1682 @end menu
1683
1684 @node ポジションとバレーの指示
1685 @unnumberedsubsubsec ポジションとバレーの指示
1686 @translationof Indicating position and barring
1687
1688 @cindex indicating position and barring for fretted instruments (フレットのある楽器でのポジションとバレーの指示)
1689 @cindex fretted instruments, indicating position and barring (フレットのある楽器でのポジションとバレーの指示)
1690
1691 以下の例は、楽譜にギターのポジションとバレーの指示を含める方法を示しています。
1692
1693 @lilypond[quote,ragged-right,verbatim,relative=0]
1694 \clef "treble_8"
1695 b16 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 @end lilypond
1702
1703 @seealso
1704 記譜法リファレンス:
1705 @ref{Text spanners}
1706
1707 コード断片集:
1708 @rlsr{Fretted strings},
1709 @rlsr{Expressive marks}
1710
1711
1712 @node ハーモニクスとデッド ノートの指示
1713 @unnumberedsubsubsec ハーモニクスとデッド ノートの指示
1714 @translationof Indicating harmonics and dampened notes
1715
1716 @cindex fretted instruments, dampened notes (フレットのある楽器のデッド ノート)
1717 @cindex fretted instruments, harmonics (フレットのある楽器のハーモニクス)
1718 @cindex dampened notes on fretted instruments (フレットのある楽器のデッド ノート)
1719 @cindex harmonics on fretted instruments (フレットのある楽器のハーモニクス)
1720
1721 デッド ノートやハーモニクスを示すための特殊な符頭を使うことができます。@c
1722 通常、ハーモニクスにはテキスト マークアップによる説明も付け加えます。
1723
1724 @lilypond[quote,ragged-right,verbatim]
1725 \relative c' {
1726   \clef "treble_8"
1727   \override Staff.NoteHead #'style = #'harmonic-mixed
1728   d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1
1729 }
1730 @end lilypond
1731
1732 デッド ノート (ゴースト ノートとも呼ばれます) が@c
1733 通常の譜とタブ譜でサポートされます:
1734
1735 @lilypond[quote,ragged-right,verbatim]
1736 music = \relative c' {
1737   < a\3 \deadNote c\2 a'\1 >4
1738   < b\3 \deadNote d\2 b'\1 >
1739   < c\3 \deadNote e\2 c'\1 >
1740   \deadNotesOn
1741   \times 2/3 { g8 b e }
1742   \deadNotesOff
1743   < a,\3 c\2 e\1 >1
1744 }
1745 \new StaffGroup <<
1746   \new Staff {
1747     \clef "treble_8"
1748     \music
1749   }
1750   \new TabStaff {
1751     \music
1752   }
1753 >>
1754 @end lilypond
1755
1756 もう 1 つの演奏テクニックに @notation{パーム ミュート}
1757 (特に、エレキ ギターで使用されます) があります。@c
1758 弦を弾く手の平で弦にミュートをかけます (訳者: 手の平=パーム(palm))。@c
1759 LilyPond は、符頭を三角形に変更することで、@c
1760 パーム ミュートの音符記譜をサポートします。
1761
1762 @c KEEP LY
1763 @lilypond[quote,ragged-right,verbatim]
1764 \new Voice { % 警告: 楽曲の先頭に palmMuteOn がある場合、
1765              % palmMuteOff を正しく機能させるには Voice を
1766              % 明示的にインスタンス化する必要があります。
1767   \relative c, {
1768     \clef "G_8"
1769     \palmMuteOn
1770     e8^\markup { \musicglyph #"noteheads.u2do"  = palm mute }
1771     < e b' e > e
1772     \palmMuteOff
1773     e e  \palmMute e e e |
1774     e8 \palmMute { e e e } e e e e |
1775     < \palmMute e b' e >8 \palmMute { e e e } < \palmMute e b' e >2
1776   }
1777 }
1778 @end lilypond
1779
1780 @seealso
1781 コード断片集:
1782 @rlsr{Fretted strings}
1783
1784 記譜法リファレンス:
1785 @ref{Special note heads},
1786 @ref{Note head styles}
1787
1788
1789 @node パワー コードの指示
1790 @unnumberedsubsubsec パワー コードの指示
1791 @translationof Indicating power chords
1792
1793 @funindex powerChords
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:1.5
1807     a,,1:1.5.8
1808     \set minimumFret = #8
1809     c,1:1.5
1810     f,1: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:1.5
1840   fis,,1: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}