From: Carl Sorensen Date: Tue, 23 Nov 2010 00:04:26 +0000 (-0700) Subject: Add regression test for open strings in tab from predefined diagrams X-Git-Tag: release/2.13.41-1~10 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0917fa124d1b4f4c4e6d2e0546f75e852b3cdd00;p=lilypond.git Add regression test for open strings in tab from predefined diagrams --- 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 + } + >> +}