2014-05-12 11:42 GMT+02:00 Carlo Vanoni <vanoniiscrizi...@yahoo.it>:

> As said, this set all verse/note to the correct pitch, but the tabs pitch
> will be wrong (the \relative definition in the TabScore section will be
> ignored).
>

Hi Carlo,
If you want to have the right pitch you have to put the right clef in the
staff (\clef "bass_8").
Now if that causes you problem, why are you coding in a relative mode ?
You can do something like :

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.0"

verse = {

  a4 b c' a | a b c' a | \break

}

chorus = {

  a4 b c' d' | d' e' f' g' | \break

}

song = {

   \repeat volta 2 { \verse }

   \chorus

   \verse

   \chorus

   \bar "|."

}


bass = \transpose c c,, {

<<

  \new Staff

   \with {

     \clef "bass_8"

      \omit Voice.StringNumber

   }

   {

      \song

    }

  \new TabStaff

    \with {

       \clef moderntab

       stringTunings = #bass-tuning

     }

     {

       \song

     }

     \set Staff.instrumentName = #"Bass"

   >>

  }

  \score {

    \bass

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to