]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/tablature-fretboard-open-string.ly
Doc-es: various updates.
[lilypond.git] / input / regression / tablature-fretboard-open-string.ly
1 \version "2.16.0"
2 \header
3 {
4   texidoc =
5   "Tablatures derived from stored fretboard diagrams display open strings
6 as fret 0 in the tablature.  The tablature and fretboard should match."
7 }
8
9 #(define c-shape-fretboard-table (make-fretboard-table))
10
11 \storePredefinedDiagram #c-shape-fretboard-table
12                          \chordmode{c}
13                          #guitar-tuning
14                          "x;3-3;2-2;o;1-1;o;"
15
16 cShape = {
17    \set predefinedDiagramTable = #c-shape-fretboard-table
18 }
19
20 Chords = \chordmode {
21    \cShape
22    c,1 |
23 }
24
25 \score {
26      <<
27        \new ChordNames {
28             \Chords
29        }
30        \new FretBoards {
31          \Chords
32        }
33        \new Staff {
34          \clef "treble_8"
35          \Chords
36        }
37        \new TabStaff  {
38          \Chords
39        }
40      >>
41 }