[tablatures] TabStaff ignores open strings in alternate fretboard tables |
[ Thread Index |
Date Index
| More lilynet.net/tablatures Archives
]
Hi Carl,
sorry, it's me again. I just checked 2.13.40 and found a small issue:
open strings defined in a chord in an alternate fretboard table are
not typeset in tablature. This doesn't happen with the chords defined
in predefined-guitar-fretboards.ly.
It seems as if the problem is related to the definition of open
strings in \storePredefinedDiagram. When I use "0" (zero) instead of
"o" then a zero is typeset in tablature but the fretboard diagram is
messed up. The other way round (the usual definition with "o") the
diagram is fine but open strings are ignored in tablature.
\version "2.13.40"
%\include "predefined-guitar-fretboards.ly"
#(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
>>
>>
}
Thanks,
patrick