lilypond-user
[Top][All Lists]
Advanced

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

Re: relative pitch with song sections


From: Pierre Perol-Schneider
Subject: Re: relative pitch with song sections
Date: Mon, 12 May 2014 11:56:25 +0200

2014-05-12 11:42 GMT+02:00 Carlo Vanoni <address@hidden>:
 
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

}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



reply via email to

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