Am 29.12.2016 um 23:15 schrieb Alasdair McAndrew:
Is it likely that Lilypond will provide such tablature at some stage? Currently, if I want to typeset tablature, I need to use different software.
LilyPond already supports this type of tablature: You have to set the tablatureFormat to #fret-letter-tablature, set a string tuning including bass strings, and maybe change the default fret labels to not include j.
The rhythm can be added in a separate RhythmicStaff; maybe one could extract it somehow from the music using a music function (might be tricky with polyphonic music) but of course it can also be done by hand.
\version "2.19.53" % maybe this could be automatically extracted from mel? rh = { 4*3 8*2 4. 8*5 4*2 8*4 16*4 8. 16 8*2 4 2*2 1 } mel = \relative { a,,4 b c d8 e f4. g8 a b c d e4 f g8 a b c d16 e f g a8. b16 c8 cis d4 d,2 d, 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'> additionalBassStrings = \stringTuning <a,, b,, c, d, e, f, g,> % 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 } } } _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user