diff options
author | Carl Sorensen <c_sorensen@byu.edu> | 2010-11-22 17:04:26 -0700 |
---|---|---|
committer | Carl Sorensen <c_sorensen@byu.edu> | 2010-11-22 17:04:26 -0700 |
commit | 0917fa124d1b4f4c4e6d2e0546f75e852b3cdd00 (patch) | |
tree | f3227e8f794bce75994861618b7f05c4de2f395d | |
parent | d535fbee3bc29e3be73404c3ea2d644a6b8e2058 (diff) |
Add regression test for open strings in tab from predefined diagrams
-rw-r--r-- | input/regression/tablature-fretboard-open-string.ly | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/input/regression/tablature-fretboard-open-string.ly b/input/regression/tablature-fretboard-open-string.ly new file mode 100644 index 0000000000..f86dc7c32f --- /dev/null +++ b/input/regression/tablature-fretboard-open-string.ly @@ -0,0 +1,41 @@ +\version "2.13.40" +\header +{ + texidoc = + "Tablatures derived from stored fretboard diagrams display open strings +as fret 0 in the tablature. The tablature and fretboard should match." +} + +#(define c-shape-fretboard-table (make-fretboard-table)) + +\storePredefinedDiagram #c-shape-fretboard-table + \chordmode{c} + #guitar-tuning + "x;3-3;2-2;o;1-1;o;" + +cShape = { + \set predefinedDiagramTable = #c-shape-fretboard-table +} + +Chords = \chordmode { + \cShape + c,1 | +} + +\score { + << + \new ChordNames { + \Chords + } + \new FretBoards { + \Chords + } + \new Staff { + \clef "treble_8" + \Chords + } + \new TabStaff { + \Chords + } + >> +} |