lilypond-user
[Top][All Lists]
Advanced

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

Re: French tablature?


From: Malte Meyn
Subject: Re: French tablature?
Date: Fri, 30 Dec 2016 09:13:13 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1



Am 30.12.2016 um 05:16 schrieb Alasdair McAndrew:
Many thanks!  I didn't know about RhythmicStaff.  Is this all possible
in version 2.18.2 (which I'm using)?

Not everything is possible: the additionalBassStrings property has been added in 2.19; so 2.18.2 won’t support this.

/home/Lilypond/tabTest.ly:5:4: error: syntax error, unexpected UNSIGNED
    4*3 8*2 4. 8*5 4*2 8*4 16*4 8. 16 8*2 4 2*2 1

2.19 supports durations without pitch; in 2.18 this would have to be c4*3 c8*2 c4. c8*5 (with arbitrary pitch; Rhythmic staff doesn’t care about the pitch)

Maybe version 2.18.2 requires a little extra tweaking.  Again, thank you
very much.

If you don’t need bass strings here is the solution for 2.18.2:


\version "2.18.2"

% maybe this could be automatically extracted from mel?
rh = {
  c8*4 c4*2 c8*4 c16*4 c8. c16 c8*2 c4 c2 c1
}

mel = \relative {
  a,8 b c d e4 f g8
  a b c d16 e f g
  a8. b16 c8 cis d4
  d,2 d,1
}

\score {
  <<
    \new RhythmicStaff \rh
    \new TabStaff \mel
    \new Staff { \clef "treble_8" \mel }
  >>
  \layout {
    \context {
      \TabStaff
      tablatureFormat = #fret-letter-tablature-format
      stringTunings = \stringTuning <a, d f a d' f'>
      % don’t use j as a fret label:
      %fretLabels = #'("a" "b" "c" "d" "e" "f" "g" "h" "i" "k")
    }
    \context {
      \RhythmicStaff
      \override StaffSymbol.line-count = 0
      \autoBeamOff
      \remove Bar_engraver
      \override VerticalAxisGroup.staff-staff-spacing.basic-distance = 6
      % you might want
      % 1. no time signature:
      %\remove Time_signature_engraver
      % 2. straight flags:
      %\override Flag.stencil = #old-straight-flag
      % 3. other note head shape or no note heads:
      %\override NoteHead.style = #'petrucci
      %\omit NoteHead
    }
  }
}



reply via email to

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