lilypond-user
[Top][All Lists]
Advanced

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

Re: Help ~ LilyPond Tablature


From: address@hidden
Subject: Re: Help ~ LilyPond Tablature
Date: Wed, 09 Oct 2013 23:36:31 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0

On 2013-10-09 22:19, Раул Апонт wrote:
Hello.

I need just a little help about a tablature. I know already how to get a
tablature with LilyPond, the situation I have now is about a Bass Guitar
tablature. I have tried to change the clef using the Bass clef, I still
get a six-string tablature, I just need to know HOW I GET the four and
five-string tablature because of the Bass Guitar range.
If you could send me an example, it would be great.

As usual it depends on your version of LilyPond.

Note to all! Always specify which version of LilyPond you are using!

When you use TabStaff it always default to Guitar. if you want something else you need to specify it.

Bass guitar (from the doc)

%% -----------------------------------
\version "2.16"

<<
  \new Voice \with {
    \override StringNumber #'stencil = ##f
  } {
    \clef "bass_8"
    \relative c, {
      c4 d e f
    }
  }
  \new TabStaff \with {
    stringTunings = #bass-tuning
  } {
    \relative c, {
      c4 d e f
    }
  }
>>
%% -----------------------------------

%% -----------------------------------
\version "2.17"

<<
  \new Voice \with {
    \override StringNumber.stencil = ##f
  } {
    \clef "bass_8"
    \relative c, {
      c4 d e f
    }
  }
  \new TabStaff \with {
    stringTunings = #bass-tuning
  } {
    \relative c, {
      c4 d e f
    }
  }
>>
%% -----------------------------------

Hope this helps!

// Anders
PS! The only difference I can see is the \overide StringNumber, which is different in 2.16 and 2.17. But since I don't know what it does I can't explain it... I leave this for the experts.

--
English isn't my first language.
So any error or strangeness is due to the translation.
Please correct my English so that I may become better.



reply via email to

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