A six string bass has a tonal range that overlaps in part with the
guitar. Therefore it is convenient to write parts of a score in treble
clef. While writing sheet music with tabs I get a problem with the notes
for the strings of the TAB. I get it for every change of the clef again
and I get  it wrong for the treble clef (if they are correct for the
bass clef and vice verse). The given fingering in the TAB stays correct!
Is there any way to avoid this repetition? I only want the notes on the
start of the TAB.

Thanks for any help!

I attach an example code. (Sorry, my skills are just not developed
enough to shorten the code essential.)

start #########################
\version "2.19.65"
%AF = all fourths = P4
   AFbassBsix =\stringTuning < b,, e, a, d g c'>
#(set-global-staff-size 27)
% kein Einzug am Anfang
\layout { indent = 0.0\cm }         
D-Dorian =  \relative c {
          \clef "bass_8"
          r2 \tuplet 3/2 {r8 d f  } \tuplet 3/2 { e g c } |
          \clef "treble_8"
          \tuplet 3/2 { e4 g8 (} \tuplet 3/2 { g) f e } d c d4 |
          \clef "bass_8"
          \tuplet 3/2 { r8 g, c } \tuplet 3/2 { e,4 a8 ( }
          a ) d b f
          \bar "|."
}
<<
        \new Staff {\transpose c c, {\D-Dorian }}
        \new TabStaff {
      \override Staff.Clef #'stencil = #ly:text-interface::print
      \omit Staff.ClefModifier
  \override Staff.Clef #'text =
  \markup
  \whiteout
  \raise #2.0
  \bold
  \override #'(baseline-skip . 1.5)
  \center-column {\abs-fontsize #12 { c g, d, a,, e,, b,,}}
      \set TabStaff.stringTunings = #AFbassBsix     
       \tabFullNotation
% keine offenen Saiten     
      \set TabStaff.minimumFret = #1
       \set TabStaff.restrainOpenStrings = ##t
      \D-Dorian
    }
  >>
end ########################################
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to