Thank you for answering. I confirm, that the Banjo TABs will show correctly, I used it quite often in the past in g tuning and different tunings as well. I. e. the usual old time sawmill tuning sawmill = \stringTuning < g' c g c' d' >.
I need TABs for a Guitar tuned in perfect fourth fourth = \stringTuning < e a d' g' c'' f'' > . In the example I used oud = \stringTuning < f a d' g' c'' f'' >, the usual tuning of the arabic Oud. There are turkish variants as well, that differ with a third step on different positions. Actually not a topic. Anyway, obviously there is a bug(?) as the a on the a string will show correctly in the TAB, but for b, c .... will be added a fifth. If I transpose the example an octave, it will be show correctly. \version "2.18.2" #(set-global-staff-size 27) %%% System fourth = \stringTuning < f a d' g' c'' f'' > Scale= { %\relative c \override Score.BarNumber.break-visibility = ##(#t #t #t) \time 4/4 { \transpose f, f { f, g, a, b, | c d e f | a d e f | % with string definition } \bar "|." } } \new TabStaff \with { \tabFullNotation \stemDown tablatureFormat = #fret-number-tablature-format-banjo stringTunings = #fourth } { \Scale } Am 03.06.2017 um 16:47 schrieb David Kastrup: > bb <bb-543...@telecolumbus.net> writes: > >> the b and c should be 2 and 3 on string 5. Instead they show 7 and 8, >> even with predefined string 5. >> >> I kindly ask for help. >> >> Kind regards BB >> >> >> \version "2.18.2" >> >> #(set-global-staff-size 27) %%% System >> >> fourth = \stringTuning < f, a, d g c' f' > >> >> Scale= { >> \relative c' >> \override Score.BarNumber.break-visibility = ##(#t #t #t) >> \time 4/4 >> {f, g, a, b, | c d e f | >> c\5 d e f | % with string definition >> g a b c' | d' e' f' g' | a' b' c'' d'' | >> e'' f'' g'' a'' >> \bar "|." >> } >> } >> >> \new TabStaff \with { >> \tabFullNotation >> \stemDown >> tablatureFormat = #fret-number-tablature-format-banjo >> stringTunings = #fourth >> } >> { >> \Scale >> } > > Banjo tablatures > ................ > > LilyPond has basic support for the five-string banjo. When making > tablatures for five-string banjo, use the banjo tablature format > function to get correct fret numbers for the fifth string: > > music = { > g8 d' g'\5 a b g e d' | > g4 d''8\5 b' a'\2 g'\5 e'\2 d' | > g4 > } > > << > \new Staff \with { \omit StringNumber } > { \clef "treble_8" \music } > \new TabStaff \with { > tablatureFormat = #fret-number-tablature-format-banjo > stringTunings = #banjo-open-g-tuning > } > { \music } > >> > > > The definition is: > > (define-public (fret-number-tablature-format-banjo > context string-number fret-number) > (make-vcenter-markup > (number->string (cond > ((and (> fret-number 0) (= string-number 5)) > (+ fret-number 5)) > (else fret-number))))) > > So this is intentional (don't know how to play the banjo). What kind of > 6-string banjo do you actually use here? > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user