bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TabStaff ignores open strings in alternate fretboard tables


From: Patrick Schmidt
Subject: TabStaff ignores open strings in alternate fretboard tables
Date: Mon, 22 Nov 2010 19:13:36 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]